ArcPad Preferences File Schema
POLYGON Element
See Also  Send comments on this topic.
ArcPad Preferences File Schema > ArcPad Element > PREFERENCES Element > GREEKING Element : POLYGON Element

Glossary Item Box

Description

Specifies the polygon greeking thresholds.

Diagram

POLYGON Element

Overview

POLYGON
Specifies the polygon greeking thresholds.
color optional xs:string
greeking optional Restriction of xs:string
threshold1 optional Restriction of xs:int
threshold2 optional Restriction of xs:int
threshold3 optional Restriction of xs:int
threshold4 optional Restriction of xs:int

Attributes

NameTypeUseDefaultFixedDescription
colorxs:stringoptional   
greekingRestriction of xs:stringoptionaltrue  
threshold1Restriction of xs:intoptional3  
threshold2Restriction of xs:intoptional8  
threshold3Restriction of xs:intoptional0  
threshold4Restriction of xs:intoptional0  

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" ref="color">
      <xs:annotation>
        <xs:documentation>Specifies the default greeking color for polygon geometry.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="true" ref="greeking">
      <xs:annotation>
        <xs:documentation>Flag that determines whether polygon geometry will be greeked.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="1" ref="threshold1">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polygon features as single pixels.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="3" ref="threshold2">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polygon features as rectangles.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="5" ref="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:attribute>
    <xs:attribute default="8" ref="threshold4">
      <xs:annotation>
        <xs:documentation>Specifies the pixel threshold for drawing polygon features using their actual symbols' greeking styles.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.