Skip to content

Instantly share code, notes, and snippets.

@artemp
Created March 21, 2012 17:54
Show Gist options
  • Save artemp/2150256 to your computer and use it in GitHub Desktop.
Save artemp/2150256 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs" background-color="rgb(255,255,255)">
<Style name="drainage">
<Rule>
<Filter>([HYC]=8)</Filter>
<CompositingSymbolizer fill="rgb(153,204,255,127)" smooth="1" comp-op="exclusion"/>
</Rule>
</Style>
<Style name="highway-border">
<Rule>
<Filter>([CLASS]=1)</Filter>
<LineSymbolizer stroke="rgb(188,149,28)" stroke-width="7" stroke-linecap="round"/>
</Rule>
</Style>
<Style name="highway-fill">
<Rule>
<Filter>([CLASS]=1)</Filter>
<LineSymbolizer stroke="rgb(242,191,36)" stroke-width="5" stroke-linecap="round"/>
</Rule>
</Style>
<Style name="popplaces">
<Rule>
<TextSymbolizer face-name="DejaVu Sans Book">[GEONAME]</TextSymbolizer>
</Rule>
</Style>
<Style name="provinces">
<Rule>
<Filter>([NAME_EN]=&apos;Ontario&apos;)</Filter>
<CompositingSymbolizer fill="rgb(250,190,183)" comp-op="multiply"/>
</Rule>
<Rule>
<Filter>([NOM_FR]=&apos;Québec&apos;)</Filter>
<PolygonSymbolizer fill="rgb(217,235,203)"/>
</Rule>
</Style>
<Style name="provlines">
<Rule>
<LineSymbolizer stroke-dasharray="8, 4, 2, 2, 2, 2"/>
</Rule>
</Style>
<Style name="road-border">
<Rule>
<Filter>([CLASS]=2)</Filter>
<LineSymbolizer stroke="rgb(171,158,137)" stroke-width="4" stroke-linecap="round"/>
</Rule>
</Style>
<Style name="road-fill">
<Rule>
<Filter>([CLASS]=2)</Filter>
<LineSymbolizer stroke="rgb(255,250,115)" stroke-width="2" stroke-linecap="round"/>
</Rule>
</Style>
<Style name="smallroads">
<Rule>
<Filter>(([CLASS]=3) or ([CLASS]=4))</Filter>
<LineSymbolizer stroke="rgb(171,158,137)" stroke-width="2" stroke-linecap="round"/>
</Rule>
</Style>
<Layer name="Provinces" srs="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs">
<StyleName>provinces</StyleName>
<Datasource>
<Parameter name="encoding">latin1</Parameter>
<Parameter name="file">../data/boundaries</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Layer name="Quebec Hydrography" srs="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs">
<StyleName>drainage</StyleName>
<Datasource>
<Parameter name="file">../data/qcdrainage</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Layer name="Ontario Hydrography" srs="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs">
<StyleName>drainage</StyleName>
<Datasource>
<Parameter name="file">../data/ontdrainage</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Layer name="Provincial borders" srs="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs">
<StyleName>provlines</StyleName>
<Datasource>
<Parameter name="file">../data/boundaries_l</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Layer name="Roads" srs="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs">
<StyleName>smallroads</StyleName>
<Datasource>
<Parameter name="file">../data/roads</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Layer name="Roads" srs="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs">
<StyleName>road-border</StyleName>
<StyleName>road-fill</StyleName>
<Datasource>
<Parameter name="file">../data/roads</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Layer name="Roads" srs="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs">
<StyleName>highway-border</StyleName>
<StyleName>highway-fill</StyleName>
<Datasource>
<Parameter name="file">../data/roads</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Layer name="Populated Places" srs="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs">
<StyleName>popplaces</StyleName>
<Datasource>
<Parameter name="encoding">latin1</Parameter>
<Parameter name="file">../data/popplaces</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
</Map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment