Skip to content

Instantly share code, notes, and snippets.

@dhcole
Created December 1, 2011 23:31
Show Gist options
  • Save dhcole/58423739bc4418764062 to your computer and use it in GitHub Desktop.
Save dhcole/58423739bc4418764062 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" background-color="#b8dee6">
<Style name="countries" filter-mode="first">
<Rule>
<PolygonSymbolizer fill="#ffffff" />
</Rule>
</Style>
<Style name="countries-outline" filter-mode="first">
<Rule>
<LineSymbolizer stroke="#85c5d3" stroke-width="2" stroke-linejoin="round" />
</Rule>
</Style>
<Layer name="countries"
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
<StyleName>countries-outline</StyleName>
<StyleName>countries</StyleName>
<Datasource>
<Parameter name="file"><![CDATA[/Users/dhcole/Documents/MapBox/project/election/layers/countries/1aa2d236-10m-admin-0-countries.shp]]></Parameter>
<Parameter name="type"><![CDATA[shape]]></Parameter>
</Datasource>
</Layer>
<Style name="data" filter-mode="first">
<Rule>
<Filter>([dem] &gt; 50)</Filter>
<MarkersSymbolizer fill="#0000ff" width="5" />
</Rule>
<Rule>
<MarkersSymbolizer width="5" />
</Rule>
</Style>
<Layer name="data"
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>data</StyleName>
<Datasource>
<Parameter name="file"><![CDATA[/Users/dhcole/Documents/MapBox/project/election/layers/data.csv]]></Parameter>
<Parameter name="quiet"><![CDATA[true]]></Parameter>
<Parameter name="type"><![CDATA[csv]]></Parameter>
</Datasource>
</Layer>
</Map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment