<?xml version="1.0" encoding="UTF-8"?>
<LayerSet xmlns="http://www.mapserver.org/mapserver" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mapserver.org/mapserver ../mapfile.xsd">
  <Layer name="layer1" type="CHART" status="DEFAULT">
    <Class name="class1Layer1" status="ON">
      <backgroundColor red="244" green="43" blue="22"/>
      <color red="244" green="43" blue="22"/>
      <debug>ON</debug>
      <expression type="MSEXPR">(length('[NAME_E]') &lt; 8)</expression>
      <group>group1</group>
      <keyImage>/home/myusername/layer1.png</keyImage>
      <Label type="TRUETYPE">
        <align>LEFT</align>
        <angle>AUTO2</angle>
        <antialias>TRUE</antialias>
        <buffer>2</buffer>
        <colorAttribute>[myColor]</colorAttribute>
        <encoding>ISO 8859-1</encoding>
        <font>serif</font>
        <force>TRUE</force>
        <maxLength>244</maxLength>
        <maxSize>244</maxSize>
        <minDistance>24</minDistance>
        <minFeatureSize>AUTO</minFeatureSize>
        <minSize>6</minSize>
        <offset x="12" y="33"/>
        <outlineColor red="-1" green="-1" blue="-1"/>
        <outlineWidth>13</outlineWidth>
        <partials>TRUE</partials>
        <position>AUTO</position>
        <priority>5</priority>
        <repeatDistance>80</repeatDistance>
        <shadowColor red="244" green="43" blue="22"/>
        <shadowSize x="15" y="14"/>
        <size>TINY</size>
        <text>Test</text>
        <wrap>\n</wrap>
      </Label>
      <LabelLeader>
        <gridstep>6</gridstep>
        <maxdistance>15</maxdistance>
            <Style>
                <initialGap>2</initialGap>
            </Style>
      </LabelLeader>
      <maxScaleDenom>24000</maxScaleDenom>
      <maxSize>50</maxSize>
      <minScaleDenom>1000000</minScaleDenom>
      <minSize>10</minSize>
      <outlineColor red="33" green="44" blue="55"/>
      <size>12</size>
      <Style>
        <angle>434</angle>
        <antialias>TRUE</antialias>
        <backgroundColor red="244" green="43" blue="22"/>
        <color red="244" green="43" blue="22"/>
        <gap>13</gap>
        <geomTransform>VERTICES</geomTransform>
        <lineCap>ROUND</lineCap>
        <lineJoin>BEVEL</lineJoin>
        <lineJoinMaxSize>3</lineJoinMaxSize>
        <maxSize>244</maxSize>
        <maxWidth>28</maxWidth>
        <minSize>6</minSize>
        <minWidth>24</minWidth>
        <offset x="12" y="33"/>
        <opacity>1253</opacity>
        <outlineColorAttribute>[myOulineColorAttribute]</outlineColorAttribute>
        <pattern>2 3</pattern>
        <size>[mySize]</size>
        <symbol type="NAME">star.gif</symbol>
        <width>[myWidth]</width>
      </Style>
            <Style>
                <initialGap>2</initialGap>
            </Style>
      <symbol type="ID">261</symbol>
      <template>http://mapgears.com/templates/myTemplates1.html</template>
      <text>myText1</text>
    </Class>
    <classGroup>group1</classGroup>
    <classItem>population</classItem>
    <Cluster>
      <buffer>3.3</buffer>
      <filter type="MSEXPR">(type=’road’ and size &lt; 2)</filter>
      <group type="REGEX">/ddea/i</group>
      <maxdistance>20</maxdistance>
      <region>region1</region>
    </Cluster>
    <connection>user=nobody password=****** dbname=dbname host=localhost port=5432</connection>
    <connectionType>SDE</connectionType>
    <data>../data</data>
    <debug>1</debug>
    <extent>-180.0 -90.0 180.0 90.0</extent>
    <Feature>
      <wkt>POINT(2000 2500)</wkt>
    </Feature>
    <filter type="MSEXPR">(type=’road’ and size &lt; 2)</filter>
    <filterItem>pop</filterItem>
    <footer>http://mapgears.com/templates/myfooter1.html</footer>
    <Grid>
      <labelFormat>DDMMSS</labelFormat>
      <maxArcs>5.0</maxArcs>
      <maxInterval>0.5</maxInterval>
      <maxSubdivide>0.07</maxSubdivide>
      <minArcs>1.0</minArcs>
      <minInterval>0.05</minInterval>
      <minSubdivide>0.01</minSubdivide>
    </Grid>
    <group>group1</group>
    <header>http://mapgears.com/templates/myHeader1.html</header>
    <Join name="myJoin1" type="ONE-TO-MANY">
      <connection>user=nobody password=****** dbname=dbname host=localhost port=5432</connection>
      <connectionType>POSTGRESQL</connectionType>
      <from>ID</from>
      <table>./data/lookup.dbf</table>
      <template>http://mapgears.com/templates/myJoin1.html</template>
      <to>IDENT</to>
    </Join>
    <labelCache>ON</labelCache>
    <labelItem>myLabel1</labelItem>
    <labelMaxScaleDenom>2334342</labelMaxScaleDenom>
    <labelMinScaleDenom>100000</labelMinScaleDenom>
    <labelRequires>![orthoquads]</labelRequires>
    <mask>layerName</mask>
    <maxFeatures>250000</maxFeatures>
    <maxScaleDenom>300000</maxScaleDenom>
    <Metadata>
      <item name="description">Cities</item>
      <item name="title">The Cities</item>
      <item name="author">Norm</item>
    </Metadata>
    <minScaleDenom>120000</minScaleDenom>
    <offsite red="244" green="43" blue="22"/>
    <opacity>ALPHA</opacity>
    <plugin>myPlugin.lib</plugin>
    <postLabelCache>TRUE</postLabelCache>
    <processing>CLOSE_CONNECTION=DEFER</processing>
    <processing>SCALE=AUTO</processing>
    <projection>init=epsg:4326 ellps=WGS84 datum=WGS84</projection>
    <requires>[orthoquads]</requires>
    <sizeUnits>METERS</sizeUnits>
    <styleItem>Go</styleItem>
    <symbolScaleDenom>24000</symbolScaleDenom>
    <template>myLayer1.html</template>
    <tileIndex>tiger/index.shp</tileIndex>
    <tileItem>LOCATION</tileItem>
    <tolerance>5</tolerance>
    <toleranceUnits>DD</toleranceUnits>
    <transform>TRUE</transform>
    <units>METERS</units>
    <Validation>
      <item name="firstname">^[a-zA-Z\-]+$</item>
      <item name="taxid">^[A-Z]{2}[0-9]{6}$</item>
    </Validation>
  </Layer>
</LayerSet>

