Is there a way to split osm xml/pbf files in small pieces by zoom level? asked 13 Sep '13, 00:03 raku_cmr aseerel4c26 ♦ |
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 |
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"?
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
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.