<?xml version="1.0" encoding="UTF-8"?>
<Map name="xmlmapfile" xmlns="http://www.mapserver.org/mapserver" status="ON" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mapserver.org/mapserver ../mapfile.xsd" version="5.6.0">
	<angle>10</angle>
	<Config>
		<item name="CGI_CONTEXT_URL">http://mapgears.com/context/mapgears.xml</item>
		<item name="MS_ENCRYPTION_KEY">dfas2klaed2v 3384knkju3k23</item>
		<item name="MS_ERRORFILE">/tmp/ms_error.txt</item>
	</Config>
	<dataPattern>$#[a-e]?</dataPattern>
	<debug>2</debug>
	<defResolution>72</defResolution>
	<extent>-180.0 -90.0 180.0 90.0</extent>
	<fontSet>../etc/fonts.txt</fontSet>
	<imageColor red="0" green="255" blue="255"/>
	<imageType>png</imageType>
        <include>/tmp/myLayerSet.map</include>
        <include>/tmp/AnotherLayerSet.map</include>
	<Legend status="ON">
		<imageColor red="255" green="255" blue="255"/>
		<keySize x="20" y="10"/>
		<keySpacing x="5" y="5"/>
		<Label type="TRUETYPE">
			<align>CENTER</align>
			<angle>FOLLOW</angle>
			<antialias>TRUE</antialias>
			<buffer>2</buffer>
			<colorAttribute>[myColor]</colorAttribute>
			<encoding>ISO 8859-1</encoding>
			<font>serif</font>
			<force>TRUE</force>
			<maxLength>244</maxLength>
			<maxOverlapAngle>30</maxOverlapAngle>
			<maxSize>244</maxSize>
			<minDistance>24</minDistance>
			<minFeatureSize>AUTO</minFeatureSize>
			<minSize>6</minSize>
			<offset x="12" y="33"/>
			<outlineColor red="244" green="43" blue="22"/>
			<outlineWidth>13</outlineWidth>
			<partials>TRUE</partials>
			<position>LL</position>
			<priority>5</priority>
			<shadowColor red="244" green="43" blue="22"/>
			<shadowSize x="15" y="14"/>
			<size>SMALL</size>
			<wrap>\n</wrap>
		</Label>
		<outlineColor red="244" green="43" blue="22"/>
		<position>LR</position>
		<postLabelCache>FALSE</postLabelCache>
		<template>ttt.html</template>
	</Legend>
	<maxSize>2048</maxSize>
        <OutputFormat name="GTiff">
          <driver>GDAL/GTIFF</driver>
          <extension>tiff</extension>
          <formatOption>TILED=YES</formatOption>
          <formatOption>TRANSPARENCY=TRUE</formatOption>
          <imageMode>FLOAT32</imageMode>
          <mimeType>image/tiff</mimeType>
          <transparent>OFF</transparent>
        </OutputFormat>
        <OutputFormat name="PNG">
          <driver>AGG/PNG</driver>
          <extension>png</extension>
          <formatOption>TILED=YES</formatOption>
          <imageMode>RGBA</imageMode>
          <mimeType>image/png</mimeType>
          <transparent>ON</transparent>
        </OutputFormat>
	<projection>
          proj=utm
          ellps=GRS80
          datum=NAD83
          zone=15
          units=m
          north
          no_defs
        </projection>
	<QueryMap status="ON">
		<color red="244" green="43" blue="22"/>
		<size x="600" y="400"/>
		<style>SELECTED</style>
	</QueryMap>
	<Reference status="ON">
		<color red="244" green="43" blue="22"/>
		<extent>-10.0 -9.0 10.0 9.0</extent>
		<image>/home/myusername/ref1.png</image>
		<marker>star</marker>
		<markerSize>3</markerSize>
		<maxBoxSize>24</maxBoxSize>
		<minBoxSize>4</minBoxSize>
		<outlineColor red="244" green="43" blue="22"/>
		<size x="6" y="4"/>
	</Reference>
	<resolution>72</resolution>
	<ScaleBar status="EMBED">
		<align>CENTER</align>
		<backgroundColor red="244" green="43" blue="22"/>
		<color red="244" green="43" blue="22"/>
		<imageColor red="0" green="255" blue="255"/>
		<intervals>5</intervals>
		<Label type="TRUETYPE">
			<align>CENTER</align>
			<angle>[myAngle]</angle>
			<antialias>FALSE</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="244" green="43" blue="22"/>
			<outlineWidth>13</outlineWidth>
			<partials>TRUE</partials>
			<position>LL</position>
			<priority>5</priority>
			<shadowColor red="244" green="43" blue="22"/>
			<shadowSize x="15" y="14"/>
			<size>SMALL</size>
                        <Style>
                          <geomTransform>VERTICES</geomTransform>
                          <initialGap>20.5</initialGap>
                          <polarOffset>[uv_length_2] [uv_angle]</polarOffset>
                        </Style>
                        <Style>
                          <initialGap>2</initialGap>
                        </Style>
			<wrap>\n</wrap>
		</Label>
		<outlineColor red="12" green="45" blue="12"/>
		<position>LR</position>
		<postLabelCache>TRUE</postLabelCache>
		<size x="90" y="8"/>
		<style>0</style>
                <transparent>ON</transparent>
		<units>NAUTICALMILES</units>
	</ScaleBar>
	<scaleDenom>24000</scaleDenom>
	<shapePath>../data</shapePath>
	<size x="600" y="400"/>
	<Symbol name="mySymbol2-test2" type="SIMPLE">
		<antialias>FALSE</antialias>
		<character>C</character>
		<filled>TRUE</filled>
		<font>serif</font>
		<image>/tmp/test.gif</image>
		<Points>
			<point x="2" y="-3"/>
		</Points>
		<transparent>123</transparent>
	</Symbol>
        <Symbol name="mySymbol222-test1" type="SIMPLE">
          <antialias>FALSE</antialias>
          <character>C</character>
          <filled>TRUE</filled>
          <font>serif</font>
          <image>/tmp/test.gif</image>
          <Points>
            <point x="2" y="-3"/>
          </Points>
          <transparent>123</transparent>
        </Symbol>
	<symbolSet>/tmp/mySymbolSet.sym</symbolSet>
	<templatePattern>[$ir-wz]*.html</templatePattern>
	<units>MILES</units>
        <Web>
          <browseFormat>text/html</browseFormat>
          <empty>../errors/queryfail1.html</empty>
          <error>../errors/error1.html</error>
          <footer>../templates/footer1.html</footer>
          <header>../templates/header.html</header>
          <imagePath>/tmp/ms_tmp/</imagePath>
          <imageUrl>/ms_tmp/</imageUrl>
          <legendFormat>text/html</legendFormat>
          <log>../logs/ms.log</log>
          <maxScaleDenom>240000</maxScaleDenom>
          <maxTemplate>../templates/maxtemplate1.html</maxTemplate>
          <Metadata>
            <item name="description">Cities</item>
            <item name="title">The Cities</item>
            <item name="author">Norm</item>
          </Metadata>
          <minScaleDenom>120000</minScaleDenom>
          <minTemplate>../templates/mintemplate1.html</minTemplate>
          <queryFormat>text/html</queryFormat>
          <template>http://mapgears.com/templates/myTemplates1.html</template>
          <Validation>
            <item name="firstname">^[a-zA-Z\-]+$</item>
            <item name="taxid">^[A-Z]{2}[0-9]{6}$</item>
          </Validation>
	</Web>
</Map>









