Skip to content

Instantly share code, notes, and snippets.

@talaj
Created August 2, 2016 09:49
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 talaj/d103d63ba8790686b967502c6be4cdb2 to your computer and use it in GitHub Desktop.
Save talaj/d103d63ba8790686b967502c6be4cdb2 to your computer and use it in GitHub Desktop.
<Map background-image="../../data/images/pattern.png" 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">
<Parameters>
<Parameter name="sizes">1000,1000</Parameter>
<Parameter name="bbox">-20037508.3427892476320267,-8283343.6938826972618699,20037508.3427892439067364,18365151.3630704730749130</Parameter>
</Parameters>
<Style name="world">
<Rule>
<PolygonSymbolizer fill="green"/>
</Rule>
</Style>
<Style name="text">
<Rule>
<Filter>[AREA] > 10000</Filter>
<TextSymbolizer size="log([AREA])" halo-radius="2" face-name="DejaVu Sans Book" fill="black" placement="point">[NAME]</TextSymbolizer>
</Rule>
</Style>
<Layer name="world" comp-op="src-over" 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>world</StyleName>
<StyleName>text</StyleName>
<Datasource>
<Parameter name="file">../../data/shp/world_merc</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
<Layer name="text" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
x, y
0, 0
</Parameter>
</Datasource>
</Layer>
</Layer>
</Map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment