Skip to content

Instantly share code, notes, and snippets.

@nextstopsun
Created October 29, 2012 23:13
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 nextstopsun/3977161 to your computer and use it in GitHub Desktop.
Save nextstopsun/3977161 to your computer and use it in GitHub Desktop.
mapnik config for reproducting error with raster edge
<?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 +k=1.0 +units=m +nadgrids=@null +wktext +over +no_defs" background-color="#ffffff">
<Style name="sfc" filter-mode="first">
<Rule>
<RasterSymbolizer scaling="bilinear" opacity="1"/>
</Rule>
</Style>
<Layer name="sfc"
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 +wktext +over +no_defs">
<StyleName>sfc</StyleName>
<Datasource>
<Parameter name="file">/work/test/sfc9.tif</Parameter>
<Parameter name="type">gdal</Parameter>
</Datasource>
</Layer>
</Map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment