White stripes in raster

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

White stripes in raster

Yves
Hi,
I try to render a raster from natural earth + modis snow cover (combined
with image magick) as a raster datasource, and I obtain white stripes on
certain zoom levels.
This happen with scale=fast or bilinear, but not with bilinear8, both
with originals from natural earth processed with gdalwarp, or processed
further with image magick.

The effect can be seen (temporarily) here:
http://tiles.pistes-nordiques.org/ with mapnik 0.71

The following setup is not the same, but also gives a subpixel line
almost every 6x6° on mapnik 2.1:

gdalwarp -of GTiff -overwrite -t_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 +over" NE1_50M_SR_W.tif ne_m.tif

<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 +over"
background-color="white" >

<Style name="world-snow">
<Rule>
<RasterSymbolizer scaling="fast"/>
</Rule>
</Style>
<Layer name="world-snow" 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 +over">
<StyleName>world-snow</StyleName>
<Datasource>
<Parameter name="type">raster</Parameter>
<Parameter name="file">rasters/ne_m.tif</Parameter>
<Parameter
name="extent">-20037508.3427892439067364,-26982041.6345891207456589,
20037365.8473187945783138,26982568.2917756512761116</Parameter>
</Datasource>
</Layer>
</map>

Yves
_______________________________________________
Mapnik-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/mapnik-users