OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#51 2008-11-27 12:02:41

Xaa
Member
Registered: 2008-11-27
Posts: 1

Re: 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.

Offline

#52 2008-12-29 15:57:45

Trumbun
Member
Registered: 2008-12-25
Posts: 7

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

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.

Offline

#53 2009-01-07 15:37:02

Trumbun
Member
Registered: 2008-12-25
Posts: 7

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

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

3. i copied the file.mp in the mkgmap folder
4.

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

Last edited by Trumbun (2009-01-07 15:37:31)

Offline

#54 2009-01-07 23:11:15

mtrax
Member
From: Canberra, Australia
Registered: 2008-05-20
Posts: 103

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

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..

Offline

#55 2009-01-08 00:28:01

nyem
Member
Registered: 2007-08-02
Posts: 20

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

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?

Last edited by nyem (2009-01-08 00:28:47)

Offline

#56 2009-01-08 06:38:03

liosha
Member
From: Moscow
Registered: 2008-03-04
Posts: 8,447
Website

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

Offline

#57 2009-01-08 11:32:46

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

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

mtrax wrote:

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

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?


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#58 2009-01-08 16:35:08

nyem
Member
Registered: 2007-08-02
Posts: 20

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

Thanks liosha.

Lambertus wrote:
mtrax wrote:

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

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?

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.

Offline

#59 2009-02-08 16:19:04

HarryS
Member
Registered: 2008-09-05
Posts: 6

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

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.

Offline

#60 2009-04-26 14:46:24

rene1879
Member
Registered: 2009-04-26
Posts: 7

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

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é

Offline

#61 2009-04-26 18:32:21

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

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


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#62 2009-04-26 19:12:58

rene1879
Member
Registered: 2009-04-26
Posts: 7

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

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

Offline

#63 2009-04-26 21:44:57

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

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

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


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#64 2009-04-27 11:27:32

rene1879
Member
Registered: 2009-04-26
Posts: 7

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

Hi Lambertus,

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

Offline

#65 2009-04-27 11:30:50

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

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

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


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#66 2009-04-27 12:21:45

rene1879
Member
Registered: 2009-04-26
Posts: 7

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

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é

Offline

#67 2009-04-28 19:08:02

rene1879
Member
Registered: 2009-04-26
Posts: 7

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

hmm...:(

Offline

#68 2009-04-28 21:19:31

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

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

rene1879 wrote:

hmm...:(

Nice topic kick cool (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.


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#69 2009-04-29 06:27:22

Weide
Member
Registered: 2009-04-05
Posts: 1,344

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

Lambertus wrote:

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.

Offline

#70 2009-04-29 09:12:50

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

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

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.


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#71 2009-04-30 14:29:57

rene1879
Member
Registered: 2009-04-26
Posts: 7

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

Can you support the coordinates of the red labeled areas? In this case more than I can try to render this area.

...tried also another way: downloaded germany and denmark from planet.osm, merged it with osmosis, splitted it but when creating with mkgmap I will always receive a Java heap sice message...even if I limited with -Xx1300m

...its so fretful!

Sincerely
René

Offline

#72 2009-04-30 19:05:17

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

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

Sorry, I don't understand your question...


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

#73 2009-04-30 22:32:03

mtrax
Member
From: Canberra, Australia
Registered: 2008-05-20
Posts: 103

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

perhaps you should close this thread off , as website is no longer active.

Offline

#74 2009-05-07 18:19:13

rene1879
Member
Registered: 2009-04-26
Posts: 7

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

...new set of maps online but denmark is still red.... sad

sincerely
rene

Offline

#75 2009-05-07 21:31:16

Lambertus
Administrator
From: Apeldoorn (NL)
Registered: 2007-03-17
Posts: 3,269
Website

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

Yep, sorry. Did not have the time to fix it yet.


Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002

Offline

Board footer

Powered by FluxBB