Hi!

I have some problems with raster rendering in Mapnik2. I'm trying to render 
some large semi-transparent paletted PNG images (hillshade layer, 4 files for 
each zoom level: nw, ne, sw, se; levels from 1 to 11, whole world rendering). 
PNG part of XML (for example):
  <Style name="nw_zl06">
    <Rule>
      <RasterSymbolizer opacity="1.0" mode="multiply" scaling="bilinear8" 
filter-factor="-1" /></Rule>
  </Style>

  <Layer name="nw_zl06">
    <StyleName>nw_zl06</StyleName>
    <Datasource>
      <Parameter name="type">gdal</Parameter>
      <Parameter name="file">/home/mapnik/raster/nw_zl06.png</Parameter>
    </Datasource>
  </Layer>

First problem. At the 6th level get an error: 'Segmentation Fault'. I think, 
it's because of Mapnik trying to put a whole bitmap in the memory. Am I right? 
And I think it's no good idea to put all big image in the memory. GDAL doesn't 
do this.

Second issue. At several zoom levels I get dark tiles without hillshade (not 
whole world, but 3/4 part of it). I don't know why...

So, I need any assistance to solve this problems.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to