[OSM-talk] Fwd: Haiti Field requirement: Haiti OSM maps in PDF

Jochen Plumeyer jochen at plumeyer.org
Sun Jan 17 18:54:44 GMT 2010


Hi excellent folks,

I figure the PDF product will be very slow on small mobile devices, and still 
slow on normal PC's, but I feel that is no showstopper, as you gain all the 
detail information, on a disconnected cheap device.

So I think if the osmarender stylesheet would be adapted slightly to put 
the "caption" of cities, suburbs, villages big enough to be readable on a low 
zoom level (entire map), then that map would be really easy to use I guess.

On Dom 17 Ene 2010, Peteris Krisjanis wrote:
> Sorry for spamming, but it seems that MapOSMatic can do the job. I
> tried to generate Port-au-Prince, it came out 3.1 PDF. You can select
> any area you want and let MapOSMatic to render it into PDF.

This is superb, incredibly fast (!!!) and exactly what I looked for, just that 
that I will need several PDF's, this is no issue.
The Street index feature is just awesome.

Thank you so much!!! :-)

So please ignore the rest of this email, if you have priority tasks, consider 
the "ticket" as "solved". ;-)

I tried on MapOSMatic a bounding box of (having just one PDF would be nice)

18.041 <= lat <= 18.732
-72.71 <= lon <= -71.732

The web service says, that the "bounding box is too large".

Within this bounding box Port-au-Prince contains 95% of the data. So if PaP is 
possible to render, then technically that chosen large area does no big 
difference, as it is no uncompressed bitmap.

I did another try with osmarender, as the 22 MByte OSM file I exported in 
parts via josm might be inconsistent somehow.

So I took the larger "whole-Haiti" (80MByte, 
http://labs.geofabrik.de/haiti/2010-01-17-02-44.osm.bz2 ) file to let it 
render, but it took 2 Gigs of RAM and after 90 minutes the process died on my 
oldish machine.
I use xsltproc -> libxml2, no Java as XSLT backend (is this ok?) for 
osmarender.

Also, if you have any ideas, to make the PDF creation process possible on a 
lowtech machine, thank you for your ideas.

Cheers!

Jochen







More information about the talk mailing list