Preferences Schema
POLYLINE Element
See Also  Send comments on this topic.
Preferences Schema : POLYLINE Element

Glossary Item Box

Description

Specifies the polyline greeking thresholds.

Diagram

POLYLINE Element

Overview

POLYLINE
Specifies the polyline greeking thresholds.
color optional
Specifies the default greeking color for polyline geometry.
greeking optional xs:string
Flag that determines whether polyline geometry will be greeked.
threshold1 optional Restriction of xs:int
Specifies the pixel threshold for drawing polyline features as single pixels.
threshold2 optional Restriction of xs:int
Specifies the pixel threshold for drawing polyline features as greeking colored hairlines.
threshold3 optional Restriction of xs:int
Specifies the pixel threshold for drawing polyline features using their actual symbols' greeking styles.
threshold4 optional Restriction of xs:int
Not used.

Attributes

NameTypeUseDefaultFixedDescription
color optional128,128,128 Specifies the default greeking color for polyline geometry.
greekingxs:stringoptionaltrue Flag that determines whether polyline geometry will be greeked.
threshold1Restriction of xs:intoptional1 Specifies the pixel threshold for drawing polyline features as single pixels.
threshold2Restriction of xs:intoptional4 Specifies the pixel threshold for drawing polyline features as greeking colored hairlines.
threshold3Restriction of xs:intoptional8 Specifies the pixel threshold for drawing polyline features using their actual symbols' greeking styles.
threshold4Restriction of xs:intoptional0 Not used.

Remarks

  • Each threshold is slower to draw than the one before (that is, 1 is the fastest greeking drawing style and 4 is the slowest greeking drawing style).
  • Above the highest threshold used for polylines, the actual polyline symbol will be drawn.
  • The greeking thresholds are in screen pixel units. The extents of each feature in screen pixels is checked against the threshold values. The lowest threshold that the pixel extent falls below will be used to determine the greeking drawing method applied.
  • A threshold with the value 0 will not be used.

Examples

Restrictions

Each threshold must have a greater value than the one before for greeking to work properly (for example, if threshold1 is 2, then threshold2 must be 3 or greater).

Source

<xs:element name="POLYLINE" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Specifies the polyline greeking thresholds.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute default="128,128,128" name="color">
      <xs:annotation>
        <xs:documentation>Specifies the default greeking color for polyline geometry.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="true" name="greeking" type="xs:string">
      <xs:annotation>
        <xs:documentation>Flag that determines whether polyline geometry will be greeked.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="1" name="threshold1">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polyline features as single pixels.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="0" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="4" name="threshold2">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polyline features as greeking colored hairlines.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="0" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="8" name="threshold3">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polyline features using their actual symbols' greeking styles.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="0" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="0" name="threshold4">
      <xs:annotation>
        <xs:documentation>Not used.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="0" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.