OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

A fix has been applied to the login system for the forums - if you have trouble logging in please contact support@openstreetmap.org with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2014-07-28 13:21:55

psadk
Member
Registered: 2014-05-20
Posts: 240

Maperitive Paper, ruleset designed for printed maps

Some time ago I came to conclusion I could use a printed map to make some notes while surveying. However I realized there is no truly printer-friendly OSM render available (or at least I couldn't find any; no Toner by Stamen is not printer-friendly, at least not in the areas with large water areas).

So I decided to make one for Maperitive (which seems to be currently the easiest way to render tiles at home). And came up with this: https://gist.github.com/psadk/70e451cc18851030bcc9
Still requires a few additional tags and some polishing (curse you, addr:housenumber in densely built-up areas!), but I guess it's already in good enough shape to show this publicly.


Here's how it looks like at Z=13, Z=14, Z=15 and Z=16

And some highlights at Z=16 — ford:
eF8IIXc.png

most types of gates:
NY5WnD8.png

lift_gate:
w0rQKOs.png

leisure=marina:
17qktxj.png

amenity=parking:
wh7Dn9I.png

LTR: natural/man_made=peak, mountain_pass=yes and natural=cave_entrance:
bdnHIbt.png

power=substation/generator/plant, power=tower and power=line:
Zh1AlR7.png

natural=tree:
thnFSbG.png


Note: this style utilizes some Unicode characters to draw icon (currently — cave: ⋒, ford: ≉, power=substation/generator/plant: ⚡, barrier=lift_gate: ⌐, other types of gates: ≠), because I find this approach way more flexible than images. By default style uses the DejaVuSans font, you have to make sure you have it available in your system. It's free (as in speech), so no worries (and most Linux users probably already have it). You can of course use other font, however make sure it supports given characters (not all fonts do).


Hope someone finds this useful. Any feedback is most appreciated.

Offline

#2 2014-07-28 20:13:43

Nakaner
Member
Registered: 2011-09-03
Posts: 1,607
Website

Re: Maperitive Paper, ruleset designed for printed maps

Hi,

over a year ago, I created another Maperitive printer-friendly style for mapping house numbers – Cadaster style. See more information about it at OSM Wiki and Github.

Best regards

Michael


Bitte aussagekräftige Threadtitel verwenden und bei Änderungssätzen einen aussagekräftigen Kommentar eingeben.

Offline

#3 2014-07-29 08:48:47

psadk
Member
Registered: 2014-05-20
Posts: 240

Re: Maperitive Paper, ruleset designed for printed maps

Hello,

thanks, I'll take a look at your style. Some things look interesting.

Offline

Board footer

Powered by FluxBB