Re: [OSM-talk] mkgmap makes routable garmin maps
Le samedi 6 décembre 2008 17:12, Robert Vollmert a écrit : > Hi all, > > there seem to be a few Garmin users around here. If you'd like to give > routable OSM-derived maps a try, there's some instructions on the wiki > at http://wiki.openstreetmap.org/wiki/Mkgmap/routing This is a very very good news ! I was waiting very long for that ! I'll give it a try right now and give comments on the wiki "Bravo" to all persons involved ! -- sly sylvain letuffe ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] mkgmap makes routable garmin maps
On Sat, 2008-12-06 at 17:12 +0100, Robert Vollmert wrote: > there seem to be a few Garmin users around here. If you'd like to give > routable OSM-derived maps a try, there's some instructions on the wiki > at http://wiki.openstreetmap.org/wiki/Mkgmap/routing . The support is > still quite incomplete both because the Garmin format isn't completely > understood and because of bugs. More the latter, probably. Help on > either topic would be appreciated. First off I'd like to thank everyone who has been working on this, it's a great addition for anyone using OSM on a Garmin device. I had a go at producing a routable map for my local area but whenever I transfer it to my eTrex Vista HCX it always routes on the in-built basemap no matter what I try. I built the maps with the following commands[0]: * wget -O meonvalley-20081207.osm "http://www.openstreetmap.org/api/0.5/map?bbox=-1.2514,50.8892,-1.0928,50.9916"; * perl osm2mp.pl meonvalley-20081207.osm > meonvalley-20081207.mp * java -Xmx512M -jar mkgmap-route-779/mkgmap.jar --route meonvalley-20081207.mp The image is then transferred to the Garmin via USB mass storage. If anyone who has successfully built a routable map can shed any light on what I'm doing wrong I would be most grateful. Cheers, Andy [0] I've uploaded copies of the files created in the process to http://www.andystreet.me.uk/garmin/ ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] mkgmap makes routable garmin maps
On Dec 7, 2008, at 17:39, Andy Street wrote: > I had a go at producing a routable map for my local area but > whenever I > transfer it to my eTrex Vista HCX it always routes on the in-built > basemap no matter what I try. It seems you're doing everything right. The gmapsupp.img you generated looks fine to me. Some routing data was generated, at least. Probably the data we're writing is just wrong in your case. One thing you could try is to run mkgmap with assertions and logging: java -enableassertions -Dlog.config=resources/logging.properties -jar mkgmap.jar is what I use, but it's possible you need to be in the dist directory for java to find the logging.properties file. Thanks for your feedback! Cheers Robert ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] mkgmap makes routable garmin maps
On Sun, 2008-12-07 at 18:57 +0100, Robert Vollmert wrote: > On Dec 7, 2008, at 17:39, Andy Street wrote: > > I had a go at producing a routable map for my local area but > > whenever I > > transfer it to my eTrex Vista HCX it always routes on the in-built > > basemap no matter what I try. > > It seems you're doing everything right. The gmapsupp.img you generated > looks fine to me. Some routing data was generated, at least. Probably > the data we're writing is just wrong in your case. > > One thing you could try is to run mkgmap with assertions and logging: > > java -enableassertions -Dlog.config=resources/logging.properties -jar > mkgmap.jar > > is what I use, but it's possible you need to be in the dist directory > for java to find the logging.properties file. Interesting, I added the debug options above and it generated a working image. When I get some spare time I'll do some further testing and see if I can nail down exactly what is going on. Thanks for all your help. Cheers, Andy ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] mkgmap makes routable garmin maps
On Sat, Dec 6, 2008 at 4:12 PM, Robert Vollmert wrote: > Hi all, > > there seem to be a few Garmin users around here. If you'd like to give > routable OSM-derived maps a try, there's some instructions on the wiki > at http://wiki.openstreetmap.org/wiki/Mkgmap/routing . The support is > still quite incomplete both because the Garmin format isn't completely > understood and because of bugs. More the latter, probably. Help on > either topic would be appreciated. Awesome. Are there any docs anywhere being made for the routing format similar to the venerable http://sourceforge.net/projects/garmin-img ? Also, when I was putting it together yesterday I saw osm2mp.pl suggesting it was dealing with turn restrictions (although on reading the code, it's not exactly sophisticated logic!). But when I was playing with it last night my eTrex it was ignoring them. Am I expecting too much, or would you expect turn restrictions to work? Cheers, Andy ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] mkgmap makes routable garmin maps
On Dec 12, 2008, at 16:43, Andy Allan wrote: > On Sat, Dec 6, 2008 at 4:12 PM, Robert Vollmert > wrote: >> Hi all, >> >> there seem to be a few Garmin users around here. If you'd like to >> give >> routable OSM-derived maps a try, there's some instructions on the >> wiki >> at http://wiki.openstreetmap.org/wiki/Mkgmap/routing . The support is >> still quite incomplete both because the Garmin format isn't >> completely >> understood and because of bugs. More the latter, probably. Help on >> either topic would be appreciated. > > Awesome. Are there any docs anywhere being made for the routing format > similar to the venerable > http://sourceforge.net/projects/garmin-img ? There's some documentation on the NOD file in http://svn.parabola.me.uk/display/trunk/doc/nod.txt . That covers the routing graph. I don't think the NET file is currently documented, though i may be missing something. Apart from that, it's in the code for the moment. There's also libgarmin.sourceforge.net (IMG reader for navit) and its wiki. > Also, when I was putting it together yesterday I saw osm2mp.pl > suggesting it was dealing with turn restrictions (although on reading > the code, it's not exactly sophisticated logic!). But when I was > playing with it last night my eTrex it was ignoring them. Am I > expecting too much, or would you expect turn restrictions to work? mkgmap doesn't write restrictions for the moment. For simple from-via- to restrictions, this is a matter of writing the code, since that part is understood. Cheers Robert ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk
Re: [OSM-talk] mkgmap makes routable garmin maps
On Fri, Dec 12, 2008 at 4:06 PM, Robert Vollmert wrote: >> Also, when I was putting it together yesterday I saw osm2mp.pl >> suggesting it was dealing with turn restrictions (although on reading >> the code, it's not exactly sophisticated logic!). But when I was >> playing with it last night my eTrex it was ignoring them. Am I >> expecting too much, or would you expect turn restrictions to work? > > mkgmap doesn't write restrictions for the moment. For simple from-via-to > restrictions, this is a matter of writing the code, since that part is > understood. Thanks, I'll stop fiddling with my GPS making tiny simulated routes for the moment then! Cheers, Andy ___ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk