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

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.6k556210
accept rate: 6%

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:

×35

question asked: 26 May '13, 09:57

question was seen: 2,488 times

last updated: 29 May '13, 18:31

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