Closed kuwapa closed 2 years ago
r/type=boundary
should filter all kinds of boundaries. You have to look at the objects that are not matching your query and figure out why they don't. Sometimes boundaries are tagged as type=multipolygon
, so maybe r/boundary=administrative
is a better filter.osmium tags-filter
that can be expressed in simple filter expressions that tags-filter
supports. What you want here might be beyond what it can do.I recommend asking these kinds of beginner questions on help.osm.org, they are not really suitable for the osmium issue tracker.
Thanks. I'll try r/boundary=administrative
.
Cool. Will post any questions on the osm forum in the future.
Hi, thanks a lot for this tool.
I'm trying to create a MBTiles file for the planet for zoom 1-5 only using tilemaker. In order to optimise the process, I'm first filtering out only the objects from osm which I need to create the zoom 1-5 map tiles. I am using the following command to generate the filtered .osm.pbf file -
osmium tags-filter portugal-latest.osm.pbf w/highway=motorway r/type=boundary n/place=city,state,country wr/natural=water -o portu.osm.pbf
I am stuck on two things -