Skip to content

Commit

Permalink
adding poi and polygon, refs #1175
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk@15817 afbd958f-9f77-42d5-a016-97a22340ccf4
  • Loading branch information
behrisch committed Mar 5, 2014
1 parent 8eca35a commit 85b20db
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions sumo/docs/internet/xsd/additional_file.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@

<xsd:element name="interval" type="intervalType" minOccurs="0"/>

<xsd:element name="polygon" type="polygonType" minOccurs="0"/>
<xsd:element name="poi" type="poiType" minOccurs="0"/>

<xsd:element name="include" minOccurs="0">
<xsd:complexType>
<xsd:attribute name="href" type="xsd:string"/>
Expand Down Expand Up @@ -262,4 +265,38 @@
<xsd:attribute name="end" type="nonNegativeFloatType" use="optional"/>
</xsd:complexType>

<xsd:complexType name="polygonType">
<xsd:sequence>
<xsd:element name="param" type="paramType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string" use="required"/>
<xsd:attribute name="type" type="xsd:string" use="optional"/>
<xsd:attribute name="color" type="colorType" use="required"/>
<xsd:attribute name="fill" type="boolType" use="optional"/>
<xsd:attribute name="layer" type="xsd:float" use="optional"/>
<xsd:attribute name="shape" type="shapeType" use="required"/>
<xsd:attribute name="angle" type="xsd:float" use="optional"/>
<xsd:attribute name="imgFile" type="xsd:string" use="optional"/>
</xsd:complexType>

<xsd:complexType name="poiType">
<xsd:sequence>
<xsd:element name="param" type="paramType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string" use="required"/>
<xsd:attribute name="type" type="xsd:string" use="optional"/>
<xsd:attribute name="color" type="colorType" use="required"/>
<xsd:attribute name="layer" type="xsd:float" use="optional"/>
<xsd:attribute name="x" type="xsd:float" use="optional"/>
<xsd:attribute name="y" type="xsd:float" use="optional"/>
<xsd:attribute name="lon" type="xsd:float" use="optional"/>
<xsd:attribute name="lat" type="xsd:float" use="optional"/>
<xsd:attribute name="lane" type="xsd:string" use="optional"/>
<xsd:attribute name="pos" type="xsd:float" use="optional"/>
<xsd:attribute name="angle" type="xsd:float" use="optional"/>
<xsd:attribute name="imgFile" type="xsd:string" use="optional"/>
<xsd:attribute name="width" type="xsd:float" use="optional"/>
<xsd:attribute name="height" type="xsd:float" use="optional"/>
</xsd:complexType>

</xsd:schema>

0 comments on commit 85b20db

Please sign in to comment.