Skip to content

Instantly share code, notes, and snippets.

@aborruso
Created December 22, 2009 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aborruso/261889 to your computer and use it in GitHub Desktop.
Save aborruso/261889 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<Map name="GMAP-DEMO" version="5.6.0" status="ON" xmlns="http://www.mapserver.org/mapserver" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mapserver.org/mapserver">
<extent>-2200000 -712631 3072800 3840000</extent>
<fontSet>../etc/fonts.txt</fontSet>
<imageColor red="255" green="255" blue="255"/>
<Layer name="bathymetry" type="RASTER" status="ON">
<data>bath_mapserver.tif</data>
<Metadata>
<item name="DESCRIPTION">Elevation/Bathymetry</item>
</Metadata>
</Layer>
<Layer name="popplace" type="POINT" status="ON">
<Class name="Cities">
<color red="0" green="0" blue="0"/>
<expression>1</expression>
<Label type="TRUETYPE">
<align>LEFT</align>
<color red="255" green="0" blue="0"/>
<font>sans-italic</font>
<outlineColor red="255" green="255" blue="255"/>
<partials>FALSE</partials>
<position>AUTO</position>
<size>8</size>
</Label>
<outlineColor red="255" green="255" blue="255"/>
<size>8</size>
<symbol>2</symbol>
<template>ttt_query.html</template>
</Class>
<Class name="Cities">
<color red="110" green="0" blue="0"/>
<expression>/2|3/</expression>
<Label type="TRUETYPE">
<align>LEFT</align>
<color red="0" green="0" blue="0"/>
<font>sans</font>
<outlineColor red="255" green="255" blue="255"/>
<partials>FALSE</partials>
<position>AUTO</position>
<size>8</size>
</Label>
<outlineColor red="255" green="255" blue="255"/>
<size>6</size>
<symbol>7</symbol>
<template>ttt_query.html</template>
</Class>
<classItem>Capital</classItem>
<data>popplace</data>
<labelItem>Name</labelItem>
<Metadata>
<item name="DESCRIPTION">Cities</item>
<item name="DESCRIPTION">NAME</item>
</Metadata>
<tolerance>5</tolerance>
</Layer>
<Legend status="ON">
<keySize x="18" y="12"/>
<Label type="BITMAP">
<align>RIGHT</align>
<color red="255" green="255" blue="255"/>
<size>MEDIUM</size>
</Label>
</Legend>
<OutputFormat name="AGG/PNG">
<driver>AGG/PNG</driver>
<extension>png</extension>
<imageMode>RGB</imageMode>
<mimeType>image/png</mimeType>
<transparent>OFF</transparent>
</OutputFormat>
<QueryMap>
<color red="255" green="0" blue="0"/>
<style>HILITE</style>
</QueryMap>
<Reference status="ON">
<color red="-1" green="-1" blue="-1"/>
<extent>-2200000 -712631 3072800 3840000</extent>
<image>images/keymap.png</image>
<outlineColor red="244" green="43" blue="22"/>
<size x="120" y="90"/>
</Reference>
<ScaleBar status="ON">
<align>CENTER</align>
<backgroundColor red="0" green="0" blue="0"/>
<color red="255" green="255" blue="255"/>
<imageColor red="255" green="255" blue="255"/>
<intervals>5</intervals>
<Label type="TRUETYPE">
<align>CENTER</align>
<color red="0" green="0" blue="0"/>
<outlineColor red="244" green="43" blue="22"/>
<size>SMALL</size>
</Label>
<outlineColor red="0" green="0" blue="0"/>
<size x="150" y="5"/>
<units>KILOMETERS</units>
</ScaleBar>
<shapePath>../data</shapePath>
<size x="400" y="300"/>
<symbolSet>../etc/symbols.sym</symbolSet>
<units>METERS</units>
<Web>
<imagePath>/tmp/ms_tmp/</imagePath>
<imageUrl>/ms_tmp/</imageUrl>
<log>tmp/gmap.log</log>
<maxScaleDenom>50000000</maxScaleDenom>
<minScaleDenom>2000000</minScaleDenom>
</Web>
</Map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment