Skip to content

Instantly share code, notes, and snippets.

@turban
Created September 20, 2012 05:08
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 turban/3754069 to your computer and use it in GitHub Desktop.
Save turban/3754069 to your computer and use it in GitHub Desktop.
<Map srs="+proj=merc +lon_0=100 +lat_ts=-41 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs">
<Style name="hillshade style">
<Rule>
<RasterSymbolizer scaling="bilinear" />
</Rule>
</Style>
<Style name="slopeshade style">
<Rule>
<RasterSymbolizer scaling="bilinear" mode="screen" />
</Rule>
</Style>
<Layer name="hillshade">
<StyleName>hillshade style</StyleName>
<Datasource>
<Parameter name="type">gdal</Parameter>
<Parameter name="file">nz-bathymetry-hillshade.tif</Parameter>
</Datasource>
</Layer>
<Layer name="slopeshade">
<StyleName>slopeshade style</StyleName>
<Datasource>
<Parameter name="type">gdal</Parameter>
<Parameter name="file">nz-bathymetry-slopeshade.tif</Parameter>
</Datasource>
</Layer>
</Map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment