I have a map of a country in OSM XML format, and before using it in application, to minimize resulting file size, I would like to minimize detail or remove map data from areas, that are not important. E.g. leave detailed data on some major cities and display only forests and highways in other areas. What tools should I use to achieve it? Is there any way to automate this task, so map could be updated more often?

asked 26 May '13, 09:57

joshas's gravatar image

joshas
11112
accept rate: 0%


The first tool you should try is osmfilter.

But is has no easy way to filter different regions of one raw *.osm file in a different manner.

YOu can only try to cut your region into pieces, do different filtering, and finally combine your parts to a new single osm file. But there can be sources for errors when combining these files.

permanent link

answered 29 May '13, 18:31

stephan75's gravatar image

stephan75
12.3k351208
accept rate: 5%

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:

×27

question asked: 26 May '13, 09:57

question was seen: 1,014 times

last updated: 29 May '13, 18:31

powered by OSQA