This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Mapnik render from a postgres cluster on an external drive

0

Because of limited space on my laptop I had to set up my europe-latest.osm.pbf on an external drive. Keeping the flat-nodes on my laptop reduces the processing time. The main time is spent on creating the indexes which is understandable since it is working on the database on the external drive. The import was successful despite taking a long time.

My question is about when I use Mapnik to render an svg of a defined boundary. The rendering works but takes a long time and I can see that nearly 45 gb of data are read from the external drive.

  • Is that normal?
  • Do I have to read through the whole database to render a bounding box?

asked 19 Feb '16, 13:40

marinopv's gravatar image

marinopv
11112
accept rate: 0%

edited 19 Feb '16, 23:42

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Source code available on GitHub .