[OSM-dev] Fwd: Printing to PDF

Hartmut Holzgraefe hartmut.holzgraefe at gmail.com
Sat May 27 10:00:34 UTC 2017


On 27.05.2017 11:40, Bjoern Hassler wrote:

> (1) maposmatic - this works well - thanks for maintaining
> this https://maposmatic.osm-baustelle.de/
> <https://maposmatic.osm-baustelle.de/>. Plus the overlaid grid would
> allow us to discuss issues quite easily. People could draw on the map,
> and take picture of the square - easy to amend OSM then. So that's
> great. 

> What's the spacing algorithm for the grid? Round number of km?
> That would be very useful.

it's so far more like "what is a good fit for the paper size"
unfortunately, so it's not of much use for anything but the auto
generated street index

> However, when I try to capture a larger area, it doesn't show
> buildings. https://maposmatic.osm-baustelle.de/maps/2960/YitJcomYWseZgmbH <https://maposmatic.osm-baustelle.de/maps/2960/YitJcomYWseZgmbH>.
> However, if the roads were rendered thinner, buildings could still be
> shown. The full area is something like 40km (N-S) and 60km (E-W), but
> I'd be happy to have two sets 40km by 30km. There are some additional
> features I'd like to show, but these could be added using GPX waypoints
> - haven't tried that yet, but I guess waypoints are rendered? or just
> tracks?

Tracks and named Waypoints are rendered when using the new experimental
GPX Track upload feature.

Level of details depends on the auto-calculated zoom level, so for
showing buildings at low zoom levels the underlying stylesheets would
need to be tweaked.

Or you could try the "Schwarz-Plan" overlay (last in the list), that
should render buildings as filled black rectangles at all zoom levels
as far as I remember ... so you'd have the base map without buildings
but then the overlay would draw them on top.

> (2) I didn't understand this:
>> 20x30km isn't that big really. Is the export option on the OSM map not sufficient?
> As far as I can see, the export on openstreetmap.org
> <http://openstreetmap.org> only gives me the OSM data? Or am I missing
> something? I can of course print from the browser, but for a large area,
> this gives me low resolution.

In the "Share" menue -- opened by the third Icon from the bottom -- you
can export the current view in PNG, PDF, SVG ...





More information about the dev mailing list