NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

I want to create a high resolution image file (let's say 20 megapixels) or an svg image file of Belgium. I did install Maperitive and downloaded the osm.pbf file of Belgium.

Now, it takes ages to open. What am I doing wrong?

Thanks gijsbert

asked 20 Dec '14, 22:55

Karel%20de%20Grote's gravatar image

Karel de Grote
26112
accept rate: 0%

The osm.pbf file is 200 mb, that doesn't look too terrible. Looks like the unpacked version is 4 gb, is that too big?

thanks

(20 Dec '14, 22:57) Karel de Grote

I've been playing around with QGIS loading the osm,.... also contacted http://scalablemaps.com/ but they won't have the Belgium version soon. Any other suggestions? Looks like I need a supercomputer to do this.

(21 Dec '14, 12:25) Karel de Grote
2

You may have to wait a bit for an answer - it's a weekend and everyone's out mapping or shopping!

(21 Dec '14, 12:34) SomeoneElse ♦

Consider shrinking down your filesize by removing tags that won't appear at the scale you print ;

  • buildings
  • address numbers (addr* tags)
  • shops
  • tracks
    • ...

OSMFILTER.EXE is a small program but does an excellent job.

OSMFILTER -h to get the help

permanent link

answered 15 Jan '15, 16:53

DF45's gravatar image

DF45
196127
accept rate: 0%

edited 15 Jan '15, 20:20

1

You should also mention where one can get osmfilter.

(15 Jan '15, 20:56) malenki

To render 4GB with maperitive on you desktop will take some time. My last map sources were 44 MB and took eight seconds to render.

The possibilities you have imho:

  • Strip the file down to relevant data (big highways, boundaries, cities, woods etc) using OSMfilter and try to render the result with maperitive.
  • Go to http://maposmatic.org, create a map of Belgium, download the SVG and edit it to your liking
  • Use http://overpass-turbo.eu/ with a self defined css, make the browser window a little bigger and export the image as png. My result you can see/download here (32MB).
  • Nearly the same as above: Bigmap
  • Use the share-button at osm.org and select the format you want. Problem: I tried it for Belgium and got the two times I tried it a gateway timeout.

hth
Thomas

permanent link

answered 21 Dec '14, 16:05

malenki's gravatar image

malenki
4.7k24683
accept rate: 6%

Thanks, Thomas. This helps! I will give it another go on a machine with 16 gb ram and use your png file in the meantime. Thanks!

(22 Dec '14, 09:11) Karel de Grote

I am glad I could help you. If the answer solved your issue it would be nice if you could mark your question as answered, too.

(22 Dec '14, 15:32) malenki
1

also have a general look at http://wiki.openstreetmap.org/wiki/Rendering

and maybe in detail to bigmap2 and Nik4 tools

(23 Dec '14, 09:58) stephan75

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:

×315
×60
×47
×10

question asked: 20 Dec '14, 22:55

question was seen: 8,450 times

last updated: 15 Jan '15, 20:56

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum