Hi,

I've got this issue. I have already downloaded two diff. country extracts (e.g. Austria and Swiss) How can I achieve, that the roads at the border crossings will be joined so I can navigate from Austria to Swiss ?

Update : In my case I would like to give an option to the user to choose which country he wants to download..e.g. Austria..and in couple weeks later he can download Swiss and he will be able to navigate from Austria to Swiss..

Thanks

asked 15 Dec '14, 09:43

sports-girl1's gravatar image

sports-girl1
1113
accept rate: 0%

edited 15 Dec '14, 14:17


Not a direct answer but OsmAnd has solved this exact problem. You can browse their map repository and download individual countries and U.S. states at will and the internal routing engine will route between them. So you might be able to learn something from their source code.

permanent link

answered 15 Dec '14, 17:14

ToeBee's gravatar image

ToeBee
976920
accept rate: 27%

If you have two extracts then you could try merging them, though if they are from different dates that alone might introduce extra problems (the roads they have in common might have changed between the two different times).

For merging two extracts, you could look at osmconvert or osmosis for example.

permanent link

answered 15 Dec '14, 14:28

EdLoach's gravatar image

EdLoach ♦
17.6k14145255
accept rate: 23%

As I mentioned I would like to distribute maps by country. So I cant merge it first. Somehow I need to know exact border points between those countries (extracts) and distribute maps with that same border points. Is there any easy way how to make intersection between country border line and border ways ?

(15 Dec '14, 14:38) sports-girl1
1

As @EdLoach says the OSM data model offers NO SUPPORT for continuity across extract dates, so merging two different time periods may be a complex conflation job, and therefore impossible on a user platform.

(15 Dec '14, 19:52) SK53 ♦

(I presume you're using the geofabrik country downloads?). One approach is to download the europe file, and then cut out the area you are interested in (Switzerland + Austria). Then you will have continuous roads.

permanent link

answered 15 Dec '14, 10:44

rorym's gravatar image

rorym
5.3k144898
accept rate: 11%

2

Yes its easy solution but in my case i would like to give an option to the user to choose which country he wants to download..e.g. Austria..and in couple weeks later he can download Swiss and he will be able to navigate from Austria to Swiss..

(15 Dec '14, 11:25) sports-girl1
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×69
×47
×35

question asked: 15 Dec '14, 09:43

question was seen: 1,639 times

last updated: 15 Dec '14, 19:52

powered by OSQA