This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

coordinates for national boundaries

0

Hi.

how can i get coordinates for national boundaries? i am looked for coordinates in file world_boundaries_m.shp and world_bnd_m.shp but national boundaries is in lower quality and is different as national boundaries in OSM map.

i am looked for it in postgresql where i have imported pbf country file, but i can't find national boundaries

EDIT: in postgresql i am found same borderd in way tables.

with tag: {z_order,0,boundary,administrative,admin_level,3},{z_order,0,boundary,administrative,admin_level,6},... but same border missing.

witch tag is used for borders?

asked 14 Jun '13, 10:43

stevocz's gravatar image

stevocz
16347
accept rate: 0%

edited 14 Jun '13, 11:47


One Answer:

1

please type keywords like boundary, border, extract, boundaries, borders ... or similar in the search box of this FAQ site ... there are already a bunch of topics dealing with how to extract boundary lines from the raw OSM data.

Also look in the OSM wiki about borders or boundaries and how they are tagged in the OSM database.

And have a look at tools like osmfilter and overpassAPI ... they might be helpful for your aim.

answered 16 Jun '13, 18:45

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

thanks for reply.

i looked into different table. national borders are in table roads and no in table ways

(17 Jun '13, 09:48) stevocz

Source code available on GitHub .