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

How to get road/countries boundary intersection point coordinates ?

1

Hello,

I have *.osm exports of two neighbouring countries downloaded from "GEOFABRIK.de". Im going to implement this maps to my own app. Is it possible to get points coordinates where roads intersecting boundary between those 2 countries ? i need this to route form one country to second one.

Thanks

asked 18 Aug '11, 12:52

MrX1's gravatar image

MrX1
467711
accept rate: 0%

edited 21 Aug '11, 10:42

dieterdreist's gravatar image

dieterdreist
3.7k113567


One Answer:

2

The easier and less troublesome way is to download a bigger extract which contains all the area you are interested in (e.g. Europe) and then cut the smaller one you need out from this. Merging 2 extracts tends to create problems.

answered 21 Aug '11, 10:44

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

Source code available on GitHub .