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

Is there a way to split osm xml/pbf files in small pieces by zoom level?

asked 13 Sep '13, 00:03

raku_cmr's gravatar image

raku_cmr
11335
accept rate: 0%

edited 06 May '14, 01:17

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

3

It would help if you could explain what you mean by "by zoom level". Do you mean "so that the resulting file contains all the data that is within the bounds of an OSM tile at zoom X" or "contains only the data that would be rendered by the standard map at zoom X"?

(13 Sep '13, 09:56) SomeoneElse ♦
1

I want the result osm file at certain zoom level to contain only the data that will be rendered by standard map at that zoom level

(13 Sep '13, 20:26) raku_cmr

IMHO such a splitting feature has necer been implemented in any solution.

If you want to filter raw OSM data, have a look at http://wiki.openstreetmap.org/wiki/Osmfilter

The "filtering" inside any rendering program is realized by style files ... there you define for each zoom level what raw data should be displayed, and what not.

(16 Sep '13, 16:42) stephan75

Use the search bar with the word 'split' and you find some similar questions, e.g.

https://help.openstreetmap.org/questions/14151/split-osm-file-without-fragmenting-ways-and-relations

permanent link

answered 13 Sep '13, 09:38

Pieren's gravatar image

Pieren
9.8k2083157
accept rate: 15%

edited 13 Sep '13, 14:56

neuhausr's gravatar image

neuhausr
7.5k870121

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:

×99
×68
×60
×34

question asked: 13 Sep '13, 00:03

question was seen: 5,332 times

last updated: 06 May '14, 01:17

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