Description
Parent tag for geometric and text features in a graphics layer file (*.apg).
Diagram
Overview
![](xsdimages/element.png) |
FEATURES
Parent tag for geometric and text features in a graphics layer file (*.apg).
![](xsdimages/sequence.png) |
Sequence
![](xsdimages/element.png) |
FEATURE 1..∞
Defines a feature in a graphics layer file (*.apg).
![](xsdimages/sequence.png) |
Sequence
![](xsdimages/element.png) |
GEOMETRY
Defines the geometry of a feature in a graphic layer file (*.apg).
![](xsdimages/attributeref.png) |
maxx optional xs:double
Right top x-coordinate in map units.
|
![](xsdimages/attributeref.png) |
maxy optional xs:double
Right top y-coordinate in map units.
|
![](xsdimages/attributeref.png) |
minx optional xs:double
Left bottom x-coordinate in map units.
|
![](xsdimages/attributeref.png) |
miny optional xs:double
Left bottom y-coordinate in map units.
|
![](xsdimages/attribute.png) |
type optional Restriction of xs:string
|
![](xsdimages/sequence.png) |
Sequence
![](xsdimages/elementref.png) |
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.
|
![](xsdimages/element.png) |
PART
Defines a part for a polyline or polygon graphic element in a graphics layer file (*.apg).
![](xsdimages/attributeref.png) |
maxx required xs:double
Right top x-coordinate in map units.
|
![](xsdimages/attributeref.png) |
maxy required xs:double
Right top y-coordinate in map units.
|
![](xsdimages/attributeref.png) |
minx required xs:double
Left bottom x-coordinate in map units.
|
![](xsdimages/attributeref.png) |
miny required xs:double
Left bottom y-coordinate in map units.
|
![](xsdimages/attribute.png) |
type optional Restriction of xs:string
|
![](xsdimages/sequence.png) |
Sequence
![](xsdimages/elementref.png) |
POINT
When parent element is PREFERENCES, POINT specifies the point greeking thresholds. When parent element is GEOMETRY or PART, POINT defines a point or vertex in a graphic element. When parent element is REFPOINTS, POINT defines a reference point.
|
|
|
|
|
![](xsdimages/element.png) |
SYMBOL
Parent tag for symbology in a graphic layer file (*.apg) or photo layer file (*.aph).
![](xsdimages/sequence.png) |
Sequence
![](xsdimages/elementref.png) |
COMPLEXLINESYMBOL
Used to symbolize line features. Provides additional symbology options beyond SIMPLELINESYMBOL.
|
![](xsdimages/elementref.png) |
COMPLEXPOLYGONSYMBOL
Used to symbolize polygon features. Provides additional symbology options beyond SIMPLEPOLYGONSYMBOL.
|
![](xsdimages/elementref.png) |
GROUPSYMBOL
Used to symbolize features with multiple symbols acting as a single symbol (e.g., a freeway line symbol consists of a group of 3 line symbols).
|
![](xsdimages/elementref.png) |
RASTERFILLSYMBOL
Symbolizes polygon features using the specified image as a fill symbol.
|
![](xsdimages/elementref.png) |
SIMPLEMARKERSYMBOL
Used to symbolize point features using one of the predefined symbol types: circle, square, cross, triangle, star, X, or diamond.
|
|
|
![](xsdimages/element.png) |
TEXT
Parent tag for text symbols in a graphic file (*.apg) or photo layer file (*.aph).
![](xsdimages/attributeref.png) |
text optional xs:string
|
![](xsdimages/sequence.png) |
Sequence
![](xsdimages/elementref.png) |
TEXTSYMBOL
Symbol used to label point, line, and polygon layers.
|
|
|
|
|
|
|
Examples
Source
<xs:element name="FEATURES" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Parent tag for geometric and text features in a graphics layer file (*.apg).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="FEATURE" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a feature in a graphics layer file (*.apg).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="GEOMETRY">
<xs:complexType>
<xs:sequence>
<xs:element ref="POINT" />
<xs:element name="PART">
<xs:complexType>
<xs:sequence>
<xs:element ref="POINT" />
</xs:sequence>
<xs:attribute ref="maxx" use="required" />
<xs:attribute ref="maxy" use="required" />
<xs:attribute ref="minx" use="required" />
<xs:attribute ref="miny" use="required" />
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="polyline" />
<xs:enumeration value="polylinez" />
<xs:enumeration value="polylinem" />
<xs:enumeration value="polygon" />
<xs:enumeration value="polygonz" />
<xs:enumeration value="polygonm" />
<xs:enumeration value="rect" />
<xs:enumeration value="ellipse" />
<xs:enumeration value="circle" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute ref="maxx" />
<xs:attribute ref="maxy" />
<xs:attribute ref="minx" />
<xs:attribute ref="miny" />
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="point" />
<xs:enumeration value="pointz" />
<xs:enumeration value="pointm" />
<xs:enumeration value="polyline" />
<xs:enumeration value="polylinez" />
<xs:enumeration value="polylinem" />
<xs:enumeration value="polygon" />
<xs:enumeration value="polygonz" />
<xs:enumeration value="polygonm" />
<xs:enumeration value="rect" />
<xs:enumeration value="ellipse" />
<xs:enumeration value="circle" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="SYMBOL">
<xs:complexType>
<xs:sequence>
<xs:element ref="COMPLEXLINESYMBOL" />
<xs:element ref="COMPLEXPOLYGONSYMBOL" />
<xs:element ref="GROUPSYMBOL" />
<xs:element ref="RASTERFILLSYMBOL" />
<xs:element ref="RASTERMARKERSYMBOL" />
<xs:element ref="SIMPLELINESYMBOL" />
<xs:element ref="SIMPLEMARKERSYMBOL" />
<xs:element ref="SIMPLEPOLYGONSYMBOL" />
<xs:element ref="TRUETYPEMARKERSYMBOL" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TEXT">
<xs:complexType>
<xs:sequence>
<xs:element ref="TEXTSYMBOL" />
</xs:sequence>
<xs:attribute ref="text" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
|
See Also