ArcPad Graphic Layer File Schema
FEATURE Element
See Also  Send comments on this topic.
ArcPad Graphic Layer File Schema > ArcPad Element > FEATURESET Element > FEATURES Element : FEATURE Element

Glossary Item Box

Description

Defines a feature in a graphics layer file (*.apg).

Diagram

TEXT Element SYMBOL Element GEOMETRY Element Sequence FEATURE Element

Overview

FEATURE 1..∞
Defines a feature in a graphics layer file (*.apg).
Sequence
GEOMETRY
Defines the geometry of a feature in a graphic layer file (*.apg).
maxx optional xs:double
Right top x-coordinate in map units.
maxy optional xs:double
Right top y-coordinate in map units.
minx optional xs:double
Left bottom x-coordinate in map units.
miny optional xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
Sequence
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.
PART
Defines a part for a polyline or polygon graphic element in a graphics layer file (*.apg).
maxx required xs:double
Right top x-coordinate in map units.
maxy required xs:double
Right top y-coordinate in map units.
minx required xs:double
Left bottom x-coordinate in map units.
miny required xs:double
Left bottom y-coordinate in map units.
type optional Restriction of xs:string
Sequence
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.
SYMBOL
Parent tag for symbology in a graphic layer file (*.apg) or photo layer file (*.aph).
Sequence
COMPLEXLINESYMBOL
Used to symbolize line features. Provides additional symbology options beyond SIMPLELINESYMBOL.
COMPLEXPOLYGONSYMBOL
Used to symbolize polygon features. Provides additional symbology options beyond SIMPLEPOLYGONSYMBOL.
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).
RASTERFILLSYMBOL
Symbolizes polygon features using the specified image as a fill symbol.
RASTERMARKERSYMBOL
Symbolizes point features using the specified raster image.
SIMPLELINESYMBOL
Used to symbolize line features.
SIMPLEMARKERSYMBOL
Used to symbolize point features using one of the predefined symbol types: circle, square, cross, triangle, star, X, or diamond.
SIMPLEPOLYGONSYMBOL
Used to symbolize polygon features.
TRUETYPEMARKERSYMBOL
Used to symbolize point features using TrueType symbols.
TEXT
Parent tag for text symbols in a graphic file (*.apg) or photo layer file (*.aph).
text optional xs:string
Sequence
TEXTSYMBOL
Symbol used to label point, line, and polygon layers.

Remarks

  • If SYMBOL element is not present or contains no child tags, no symbol is drawn (that is, a text only graphic is drawn).
  • If TEXT element is not present or contains no text attribute, no text is drawn (that is, a feature only graphic is drawn).
  • If both SYMBOL and TEXT elements are not present, the feature will br drawn using the default symbology for that feature type.

Examples

Source

<xs:element name="FEATURE" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <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>

See Also

© 2012 All Rights Reserved.