Routable Garmin maps: http://emexes.powweb.com/osm/

I’ve had the maps on my GPS for a few weeks now, testing them with routing every now and then. It seems weird stuff is happening when roads cross highways (I guess: in general 2 roads crossing each other) without an intersection or connection.
As an example, take the situation near N51 33.217 E5 28.662 (let’s call that X).

I’ve created 2 waypoints: N51 30.823 E5 27.317 and N51 33.440 E5 28.226, and created a route between them. For some weird reason the road first takes the A50, turns at the first crossing after X, goes back at the other side of the A50, and then goes to the Nijnselseweg, which is actually on a bridge over the A50. I’ve checked the OSM data, but it is not a mistake in the data as far as I can see.

I’ve seen this in a few more places by the way, this is not a single weird place.

Hi, I have been trying to create a Routable map for my Garmin Nuvi 300. I have read this post. The map I am trying to do is for Malta, Europe. I know it doesn’t have much information but working on it!! Malta has lots and lots of roundabouts. I created a non routable map. Can some help me how to do it. I used mkgmap to convert the osm into img “java -jar mkgmap.jar data.osm” than I opened the img with mapedit I clicked on Generate Routing Graph > using considing Node of polylines. I saved the map as *mp.
Than file export > Garmin > Save. The Exporter request cGPSMapper. Then error:
Importing and preprocessing data

C:\media\Data\osm2vgps\63240001.mp(25) : Warning W014: RGNLIMIT should not be lower than 500.
Current import datum is: W84 :WGS 84 Global Definition II
Reading [ZIPCODES]
C:\media\Data\osm2vgps\63240001.mp(28835) : Error E019: Street cannot intersect with itself! Split this element!

Verify Map also has error. can some one try the make this map routable and give me how to do it.

Ok I have done it finnaly.

What I done.

Tools I had:
(OPTIONAL )JOSM
mkgmap-route-r806http://www.mkgmap.org.uk/index.html
osm2mp_v060 http://garminmapsearch.com/osm/osm2mp_v060.zip

  1. I got the are that I wished to get and saved it using JOSM in osm format in the “osm2mp” folder
  2. in terminal i typed
perl osm2mp.pl default.osm > file.mp
  1. i copied the file.mp in the mkgmap folder
java -jar mkgmap.jar --route --gmapsupp file.mp

2 files were created one with 8 digit and the other named “gmapsupp.img”

Insted of step 1 you can export the are from the openstreetmap site

good news thanks, I was wondering if you could add the to the OSM Wiki somewhere so other people can find your instructions…

The next step is to create a mapsource compatible install procedure, so people can browse and combine OSM maps with others eg topos etc…

which version of mkgmap is that? mkgmap website on the download page has lots of releases
mkgmap-latest.tar.gz, mkgmap-r830.tar.gz, etc. And at http://www.mkgmap.org.uk/page/15 I see another version mkgmap-route-r806.zip. Has the routing capability been merged into the latest releases?

see http://wiki.openstreetmap.org/wiki/Mkgmap/routing

I would like add installers for routable maps on my site, but I wonder how routing is supposed to work across multiple tiles. Obviously you cannot create a single tile for any whole country (A small country like the Netherlands alone needs about 200 tiles already). Therefore any routing capability is worthless if you cannot route across multiple tiles. So the question is, does that work?

Thanks liosha.

Here’s an example of connecting nodes between tiles to make it routable

Tile 1
[POLYLINE]
Type=0x01
EndLevel=4
Label=~[0x04]E2 NSE
DirIndicator=1
Data0=(3.0391936,101.7062182), … (2.6274582,102)
RoadID=1299
RouteParams=6,4,1,0,0,0,0,0,0,0,0,0
Nod0=0,1046,0

Nod16=224,2649,1
[END]

Tile 2
[POLYLINE]
Type=0x01
EndLevel=4
Label=~[0x04]E2 NSE
DirIndicator=1
Data0=(2.6274582,102), … (2.1308003,102.7412188)
RoadID=285
RouteParams=6,4,1,0,0,0,0,0,0,0,0,0
Nod0=0,1143,1

Nod4=223,769,0
[END]

The third value of Nodn of the connecting nodes has a value of 1. In Gpsmapedit the connecting nodes “Is external node” is set to true. I’m not sure how you guys can implement this as there’s a need to read all tiles to match up the connecting nodes.

To whom it may concern…
I had problems with getting Mkgmap started in XP.
Saw in German forum that I had to put the Mkgmap.jar program in de directory C:\Program files\mkgmap… I did so and did also put the downloaded osm map in the same directory.
Then I went (via accessories -command prompt to the old black DOS screen.
There I changed in DOS mode the directory to
C:\program files\mkgmap
After that I entered the format to start mkgmap.
C:\program files\mkgmap java -jar mkgmap.jar mapcur.osm
Where mapcur.osm is the osm map I renamed after downloading.
It so happened that in de mkgmap directory the file 6324001.img appears…!
So obviously it worked so far… will now see how it shows on my Garmin.

Hi,

there are red squares on http://garmin.na1400.info/routable.php which means these maps are not available. I’m driving to Denmark in 3 weeks, where can I get the red labed squares - especially 63240180.img.

Thanks
René

http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Download

…I know that link, but there is no denmark linked.

If you follow some of the links given on that page, then you will find maps for Denmark, like the one from Team OID…

Hi Lambertus,

crack me if I’m wrong but using maps from another supporter are not routable in combination with yours.

Well, I haven’t checked it myself but the page listing the map providers clearly says Routable=yes for the Team OID maps…

On there webspace there is given this infomation:

  • routing does not work from one mapset to another: eg from Germany to Austria,

…>means making no sense to download denmark there if you want to get routed from Stuttgart to denmark. but if there is a way that the 3 red labeld maps from your support are available it will work…how can I support you doing that? Is there a scripting tool set you can support to recalculated the maps?

you can also contact me directly.

Sincerely
René

hmm…:frowning:

Nice topic kick :sunglasses: (BTW we’re discussing this in the wrong topic…)

I have divided those tiles in half manually before (but it didn’t help enough), so I could do it again for the remaining red tiles. But I am in the process of making a script to do that dividing for me. A script would be useful as I expect red tiles to occur often in the future.

But ok, I’ll divide them once more and hope they’ll render ok then, with the planet update the coming week.

But what’s so special about Denmark?

Let me guess: It seems like every single house in Denmark is in the database, most of them not near to any street in the database. At highest resolution nearly all probed parts of Denmark seem to consist of isolated houses.

Splitter tries to automatically determine the maximum tile size for a specific area but the data in that area is giving Splitter false clues. This might be caused by e.g. a combination of many POI’s but few roads.

One way of working around those problem areas is to force Splitter to dimension the tiles so that they fewer nodes using the --max-nodes option. This is what I’ve done and now most of the world is rendered by Mkgmap without problems, except the ones in Denmark.