OSM on Paper

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
English español 日本語 polski русский

OpenStreetMap offers many possibilities for creating high resolution paper maps. Unlike commercial map services such as Mapquest and Google Maps, there are few restrictions on what you can do with OSM images.

Basic Export

The main Export functions on the openstreetmap.org front page, can export arbitrary map areas within a limited range of resolution, suitable for simple situations. The PDF export (found using the "Share" icon) is suitable for printing on high resolution printers. Bitmap output formats are available, but as the resolution is increased the font size gets smaller and text readability does not improve.

Simple web interfaces for printing OSM maps

MapOSMatic street index
  • Field Papers (fieldpapers.org) - Nice multipage atlas printing options. Simple area / page picker interface. Different printable rendering styles, including a nice black and white. Bitmap PDF export
  • Walking-Papers (walking-papers.org) - popular service as precursor to Field Papers
  • MapOSMatic (maposmatic.org) - Generate PNG, detailed Vector PDF or SVG map with a grid and index of the streets
  • OpenPaperMaps - a webservice basing upon the TownGuide tool (Currently in development state)
  • OpenStreetPosters [1] - PDFs from stamen tiles
  • cycle.travel ([2]) - lets you download a really nice vector PDF after planning a cycle route on the site (Western Europe only, log-in needed for PDF export)
  • Get Veloroad (on github) - generates vector and raster images for selected area and size (in mm), allows adding GPX trace. Russia and Baltic states only.
  • Overpass turbo has a nice feature in Export menu: save displayed map as PNG bitmap graphic file, with proper attribution included.
  • milvusmap.eu offers a webservice to choose an area of an OSM based map in order to produce and download a rendered map in real PDF with an own style by milvusmap.

Other tools specifically for producing printable maps

  • MapPDF for vector PDF renderings
  • Mapapel (Mapapel.com) Printable city maps based on OSM data.
  • TownGuide (townguide.webhop.net) PDF Map Generator with street index and index of user selectable Points of Interest.
  • Osmbook is a program that can print multiple-page map books out of OSM data with a gridded overview, a page index of all printed labels, and optional subgridded pages.
  • MapBook (MapBook)
  • OSM-Atlas creates a PDF street atlas suitable for printing.
  • Generic Mapping Tools (gmt.soest.hawaii.edu) is a collection of tools to produce high quality scientific maps; GMT input files can be derived from OSM e. g. via PostgreSQL/PostGis and the GDAL ogr2ogr conversion utility
  • Smrender is a generic rule-based renderer for printable charts mainly developed to produce sea charts.
  • Kartograph is a frame work to produce vector tiles in SVG format.
  • OSMgrabber collects a given number of screenshots after moving the map by simulated mouse clicks and pastes them together to a printable PNG file.
  • Nik4 is a mapnik-to-image exporting script. You can set special parameters to get quality graphics for printing or publishing.

As a big image map

There are many ways of getting a map image which you can then print out.

Generating from existing tile sets

  • Static map images - Services to generate a map image with specified centre point and dimensions
    • StaticMap - Interface to pick from several styles
    • MapQuest Open Static Maps ([3]) - Static map images in the mapquest style
    • bigmap ([4], also bigmap 2) - Forms a big map arranging tile images side by side. Interface to adjust the view. Download a perl script to generate a stitched together image. This results in a very big bitmap image which allows you to print at high resolution, although font size can be a problem.
    • Category:Tile stitching - Lists these and other tools which can download tiles and stitch them together to form a large (hi-res) image.

Rendering an image

Big printout of a Mapnik rendered image

See Rendering for a full list of options and details for setting up your own rendering software.

  • Mapnik is the renderer used to create the default tile layer on the main OSM homepage. It can output SVG.
  • Maperitive is a desktop application for interactive mapping, with many tools and functions, including exporting to bitmaps and SVG files. It works on Windows, Linux and Mac. Maperitive is successor to Kosmos. The latest version can now generate Walking Papers-like maps.
  • Mapweaver is another perl application with customized output.
  • Merkaartor is desktop OSM editor that can output SVG and bitmaps using presets and editable styles.
  • osmrender.pl is a small PERL program that can be customized easily and draws simple maps.
  • Osmarender renders an SVG map image which can generate a high-quality raster image.
  • The sample program of CartoType generally displays realtime vector maps from a local offline OSM datafile on a desktop PC according to an own rendering style, you can create easily a PNG bitmap file from current screenview.

Note that many of these renderers can be configured for creating your own tiles, and you might then follow the tile-stitching approaches listed above

Increased resolution, the ability to take a map style configuration and uniformly increase the scale of all of the features, may be important for good quality printouts. On screen this has the effect of making everything in the image look exactly the same but bigger (It might feel like you're seeing less detail) When printing, this means you get more dots per inch, sharper print quality, but without scaling down things like text labels to become too small. This is a configuration feature of Mapnik. It's also illustrated nicely here in relation to the geofrabrik WMS service (paid for)

Usage examples

Other links / tutorials