2011/7/7 Dane Springmeyer <[email protected]>:
> On Jul 7, 2011, at 2:16 PM, Mark Vahrenwald wrote:
> Generally if you have more than one shapefile you want to show, then you 
> would create another layer definition for that datasource. As mapnik supports 
> named styles you would then be able to create one style and apply that style 
> to all the layers needed.
> Generally hundreds of layers in an XML is still quite fast (after the initial 
> XML load is finished) because each layer's individual bounding box will be 
> cached by mapnik and when rendering only those layers that intersect with a 
> tile's extent will be queried. 1000's of layers would also likely work fine 
> rendering if you could script the creation of the map document.


thank you for this explanation Dane. Is the same valid for rasters
integrated with gdal as well? Or would you suggest to use gdal-vrt for
several rasters? I am using 8 big tiffs covering the world (ranging
from -180/0 to -90/90 etc.) but I experience very long rendering times
for these (up to almost an hour for a metatile in Z6/7).

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

Reply via email to