TransWikia.com

Print City Map in High Resolution with TileMill (OSM Data)

Geographic Information Systems Asked by pmarra on December 30, 2020

I’m rather beginner in Print Map and GIS. I’d like to print the map of my little city using the data in OpenStreetMap. I’ve got an environment(local) with OSM DataBase and I’m using TileMill to create StyleSheet and export data.
My problem is the definition of export. As you know, in TileMill you can export data in SVG, PDF and XML, and you can define just the BBox. The Resolution seems hard coded and set to 72dpi. To increase the quality and the details of export image I have to reduce the BBox (since to have a higher zoom level).

Since I need to print a classic city map (the paper size is, more or less, 80cm X 50cm and the city area 2km X 1km), does anybody have an idea for print it with a good resolution?

If i set 300 dpi as resolution, I’ll solve my issue, but maybe I can’t.
As I said before, I have a local environment, but perhaps someone knows some other ways.

Any ideas?

3 Answers

Two answers possible:

Or you follow this steps by steps guide straight from the Mapbox Blog: here

Or you dig on how to use the Print Composer in Qgis.

Answered by Inclanfunk on December 30, 2020

you should give maperitive a try. Its free software for windows (but closed code). with a very friendly and helpful community - and a reasonable good documentation of the software:

maperitve homepage with download: http://maperitive.net/

two minutes intro to maperitve: http://maperitive.net/docs/TwoMinutesIntro.html

maperitve users group: https://groups.google.com/forum/#!forum/maperitive

Answered by Kurt on December 30, 2020

Generally speaking, yes, Tilemill does not really support static maps, and its native resolution is web resolution – as you have noticed.

The basic workaround is:

  • print more pixels (which makes everything smaller)
  • increase the map Scale Factor (which makes everything bigger)

enter image description here

I find you have to experiment a bit, but the process is basically:

  1. Export an image of the right size and detail;
  2. Multiply the number of pixels in both directions by 4 (dpi now around 280)
  3. Increase the scale factor by 4

Answered by Steve Bennett on December 30, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP