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

Glossary Item Box

Description

Specifies the polygon greeking thresholds.

Diagram

POLYGON Element

Overview

POLYGON
Specifies the polygon greeking thresholds.
color optional
Specifies the default greeking color for polygon geometry.
greeking optional Restriction of xs:string
Flag that determines whether polygon geometry will be greeked.
threshold1 optional Restriction of xs:int
Specifies the pixel threshold for drawing polygon features as single pixels.
threshold2 optional Restriction of xs:int
Specifies the pixel threshold for drawing polygon features as rectangles.
threshold3 optional Restriction of xs:int
Specifies the pixel threshold for drawing polygon features as greeking colored polygons with no outlines.
threshold4 optional Restriction of xs:int
Specifies the pixel threshold for drawing polygon features using their actual symbols' greeking styles.

Attributes

NameTypeUseDefaultFixedDescription
color optional128,128,128 Specifies the default greeking color for polygon geometry.
greekingRestriction of xs:stringoptionaltrue Flag that determines whether polygon geometry will be greeked.
threshold1Restriction of xs:intoptional1 Specifies the pixel threshold for drawing polygon features as single pixels.
threshold2Restriction of xs:intoptional3 Specifies the pixel threshold for drawing polygon features as rectangles.
threshold3Restriction of xs:intoptional5 Specifies the pixel threshold for drawing polygon features as greeking colored polygons with no outlines.
threshold4Restriction of xs:intoptional8 Specifies the pixel threshold for drawing polygon features using their actual symbols' greeking styles.

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 polygons, the actual polygon 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="POLYGON" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Specifies the polygon 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 polygon geometry.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="true" name="greeking">
      <xs:annotation>
        <xs:documentation>Flag that determines whether polygon geometry will be greeked.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="1" name="threshold1">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polygon 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="3" name="threshold2">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polygon features as rectangles.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:int">
          <xs:minInclusive value="0" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="5" name="threshold3">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polygon features as greeking colored polygons with no outlines.</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="threshold4">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polygon 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:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.