Description
Used to symbolize line features. Provides additional symbology options beyond SIMPLELINESYMBOL.
Diagram
Overview
 |
COMPLEXLINESYMBOL
Used to symbolize line features. Provides additional symbology options beyond SIMPLELINESYMBOL.
 |
color optional
Line color.
|
 |
decoration optional Restriction of xs:string
Location along the line symbol where decoration elements (e.g., arrows) are displayed.
|
 |
interval optional Restriction of xs:double
The multiplier that determines the width of the marks and gaps in a pattern element. Each mark and gap value is multiplied by the interval when the line symbol is drawn.
|
 |
linetype optional Restriction of xs:string
Type of complex line symbol.
|
 |
offset optional Restriction of xs:int
The offset in points (approx. 1/72 inch) the line symbol will be shown away from the geometry it represents. The offset can be a positive (above/left) or negative (below/right) number.
|
 |
pattern optional xs:string
Repeating pattern of marks and gaps that are used to draw the line symbol (e.g., GGGGGMGM).
|
 |
width optional Restriction of xs:double
Line width in points.
|
 |
Sequence
 |
HASHSYMBOL
Used to define a hash symbol in a complex line symbol.
|
 |
MARKERSYMBOL
Used to define the marker symbol in a complex line symbol.Used to define the marker symbol in a complex line symbol.
|
|
|
Attributes
Name | Type | Use | Default | Fixed | Description |
color | | optional | 0,0,0 | | Line color. |
decoration | Restriction of xs:string | optional | none | | Location along the line symbol where decoration elements (e.g., arrows) are displayed. |
interval | Restriction of xs:double | optional | 1 | | The multiplier that determines the width of the marks and gaps in a pattern element. Each mark and gap value is multiplied by the interval when the line symbol is drawn. |
linetype | Restriction of xs:string | optional | carto | | Type of complex line symbol. |
offset | Restriction of xs:int | optional | 0 | | The offset in points (approx. 1/72 inch) the line symbol will be shown away from the geometry it represents. The offset can be a positive (above/left) or negative (below/right) number. |
pattern | xs:string | optional | | | Repeating pattern of marks and gaps that are used to draw the line symbol (e.g., GGGGGMGM). |
width | Restriction of xs:double | optional | 1 | | Line width in points. |
Examples
Restrictions
- MARKERSYMBOL can only be used as a child element when the value of the linetype attribute is "marker".
- HASHSYMBOL can only be used as a child element when the value of the linetype attribute is "hash".
- DECORATIONSYMBOL can only be used as a child element when the value of the decoration attribute is not "none".
Source
<xs:element name="COMPLEXLINESYMBOL" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:documentation>Used to symbolize line features. Provides additional symbology options beyond SIMPLELINESYMBOL.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="DECORATIONSYMBOL" />
<xs:element ref="HASHSYMBOL" />
<xs:element ref="MARKERSYMBOL" />
</xs:sequence>
<xs:attribute default="0,0,0" name="color">
<xs:annotation>
<xs:documentation>Line color.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="none" name="decoration">
<xs:annotation>
<xs:documentation>Location along the line symbol where decoration elements (e.g., arrows) are displayed.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="start" />
<xs:enumeration value="end" />
<xs:enumeration value="center" />
<xs:enumeration value="both" />
<xs:enumeration value="none" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="1" name="interval">
<xs:annotation>
<xs:documentation>The multiplier that determines the width of the marks and gaps in a pattern element. Each mark and gap value is multiplied by the interval when the line symbol is drawn.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="0.0" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="carto" name="linetype">
<xs:annotation>
<xs:documentation>Type of complex line symbol.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="carto" />
<xs:enumeration value="hash" />
<xs:enumeration value="marker" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute default="0" name="offset">
<xs:annotation>
<xs:documentation>The offset in points (approx. 1/72 inch) the line symbol will be shown away from the geometry it represents. The offset can be a positive (above/left) or negative (below/right) number.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int"></xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="pattern" type="xs:string">
<xs:annotation>
<xs:documentation>Repeating pattern of marks and gaps that are used to draw the line symbol (e.g., GGGGGMGM).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="1" name="width">
<xs:annotation>
<xs:documentation>Line width in points.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:double">
<xs:minInclusive value="0.0" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
|
See Also