On Dec 31, 2010, at 8:33 AM, Sisyphos wrote:

> Thank you for the fast replay,
> 
> Sorry I meant 800 MB. not GB...
> 
> I indexed all of the files with the default values and made a test
> without any significant difference (it takes with or without that
> .index files around 39 minutes to render a smaller test area from
> zoomlevel 0 to 15. This is including the same files I need to render
> the bigger area. This seems to me that the .index files are useless by
> the default parameters or not uses by mapnik anyway.

Mapnik will use the shapefile index automatically if it exists.

> 
> So:
> (1) Do I have to set a flag within my xml file to explain mapnik to
> use that .index files?

No.

> (2) Or do I need to use the parameters "max tree depth" and/or "split
> ratio"?

No, defaults should be just fine.

> But I'm very sorry. I have no what that means, and what could
> help to improve rendering my files.
> 

How are you rendering the tiles? What operating system? How much ram/cpus? How 
complex are your styles?

> Bye, Sisyphos
>> 
>> 
>> On 28 December 2010 17:43, Benjamin Bruecker <[email protected]> 
>> wrote:
>>> 
>>> Hi,
>>> 
>>> I'm currently rendering Esri shape files containing the area of
>>> Germany from zoom level 0 to 17. The result should be tiles like
>>> OpenStreetMap, but I use other data...
>>> 
>>> The computer is now rendering from zoom level 0 to 16 more than a
>>> week... and its still not ready.. I renderd the same area with an OSM
>>> dump from a PostGIS database within 60 hours (this time meets my
>>> requirements).
>>> 
>>> I guess for my data a spatial index is necessary for rendering. Some
>>> files are 800 GB big. For all of this files I have an shx-index file,
>>> but test didn't show any difference between rendering with mapnik with
>>> or without those shx files. I'm not sure about that, but it seems to
>>> me that mapnik doesn't use them.
>>> 
>>> What would you suggest? Maybe importing those files to PostGIS? Or
>>> would you recommend to use other databases with spatial indexes that
>>> are good supported by Mapnik?
>>> 
>>> Thx,
>>> Sisyphos
>>> ____
>> 
>> Hi  Sisyphos,
>> ESRI index files are not supported. I suggest you use 'shapeindex' utility
>> which comes with Mapnik distro to create index files. Run with -h(--help) to
>> see program options.
>> In case of very large shapefiles consider moving data to postgresql. Did you
>> mean 800GB or 800Mb?
>> Regards,
>> Artem
>> 
>>> 
>>> ___________________________________________
>>> 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
>> 
>> 
> _______________________________________________
> 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