[OSM-talk] How to extract national borders?
Rory McCann
rory at technomancy.org
Thu May 27 23:35:50 BST 2010
Hi all,
I've made a map render using name:ga (for the irish language) here
(http://www.technomancy.org/openirishmap/). As you can see I'm only
including the osm dump from ireland. I'm using XAPI to pull down city
and country names and merging them together with osmosis, but I'd like
to include the country borders.
What's the best way to get an OSM file with the national borders?
I tried using XAPI to look for "../*[admin_level=2]", or
".../*[admin_level=2][boundary=administrative]" or
"relation[admin_level=2]", but all took so long that I stopped them and
were producing OSM files that were hunderds of MB big. So I wonder if
I'm doing something wrong, or if there is a better way.
Rory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x5373FB61.asc
Type: application/pgp-keys
Size: 3157 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20100527/d8fc767a/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x5373FB61.asc
Type: application/pgp-keys
Size: 3157 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20100527/d8fc767a/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x5373FB61.asc
Type: application/pgp-keys
Size: 3157 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20100527/d8fc767a/attachment-0002.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20100527/d8fc767a/attachment.pgp>
More information about the talk
mailing list