We would like to print maps using Mapnik.

The SVG export seems not to be perfect, but PNG is nice - the only problem is the low resulution.

Is there an "easy" way to export in a around 300dpi instead of screen resolution?

Basically in the OSM Mapnik stylesheet all values are pixels. Using the scale parameter in the TileMill project file, caused strange results.

asked 15 Dec '12, 16:04

AddisMap_Alexander's gravatar image

AddisMap_Ale...
950283755
accept rate: 0%


This may be no complete answer - but hopefully still good help: You could search the web for tiles retina - it is quite a similar (same) problem for high-resolution displays (popular through Apple's high-resolution displays, named "retina"). http://openstreetmap.at/content/hires is a good example of high-res tiles. A search for high-res tiles openstreetmap is also promising. ;-)

Also see our wiki entry on printing. If you want to print OSM for personal use - did you try the pdf version of the export tab on our main map page?

permanent link

answered 15 Dec '12, 17:00

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16237548
accept rate: 18%

edited 20 Nov '14, 13:32

Explain "strange results" - I use the --scale-factor parameter on nik2img and I believe that should do the same as TileMill's scale parameter. Of course you have to adjust the output size accordingly; if you specify --scale-factor 4 and want the same detail then you need to quadruple your width and height as well.

permanent link

answered 15 Dec '12, 19:02

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
69.4k806291086
accept rate: 24%

2

Actually it looks like this strange results only happen in the tile view in TileMill. When I export it is actually all fine, as long as I zoom in more according to the current scale.

(16 Dec '12, 14:04) AddisMap_Ale...

Recently found: Nik4 ... there you can choose ppi or dpi value, I think.

permanent link

answered 20 Nov '14, 19:37

stephan75's gravatar image

stephan75
12.5k453209
accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×311
×36
×21

question asked: 15 Dec '12, 16:04

question was seen: 6,822 times

last updated: 20 Nov '14, 19:37

powered by OSQA