Andrey,

GDAL plugin can use overviews built with gdaladdo, which should avoid reading 
too much data into memory. Can you try building overviews and report back?

Re: dark tiles without data - what GDAL version are you built against?

Dane

On Jul 13, 2011, at 4:16 AM, Andrey VI wrote:

> 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

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

Reply via email to