[OSM-dev] Extracting just national boundaries
nowak at bwl.uni-hildesheim.de
Thu Aug 4 10:02:01 BST 2011
Thanks for the fast pointer.
Looks like that should do.
Von: Igor Podolskiy [mailto:igor.podolskiy at vwi-stuttgart.de]
Gesendet: Donnerstag, 4. August 2011 10:32
An: Curt Nowak
Cc: 'dev at openstreetmap.org'
Betreff: Re: [OSM-dev] Extracting just national boundaries
> is there an easy way to extract only national boundaries from an
> osm/pbf file? Running osmosis with
> "--tag-filter accept-relation boundary=administrative"
> and then
> "--tag-filter accept-relation admin_level=2"
> won't work because this will filter away members of "admin_level=2"
> relations that are in turn different relations.
luckily, you're not the first one with this problem. Here's the answer:
and the followup:
Hope that helps
More information about the dev