You are not logged in.
- Topics: Active | Unanswered
Announcement
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#1076 2011-07-30 23:47:58
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
Liegfietser,
What are you trying to achieve with this:
[_line]
Type=0x7
;18F3
;typ=6
LineWidth=2
BorderWidth=0
UseOrientation=Y
String1=0x0,18F3 6 7When I put the cursor onto a dirt road I get a small rectangle instead of a label.
Regards,
Peter.
Offline
#1077 2011-07-30 23:59:23
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
So if someone want's to contribute to this project by maintaining a generic routing stylesheet then please do.
I volunteer.
Liegfietser and I will have to coordinate this with his typ file.
Perhaps I will create a new topic where people can post requests, etc. relevant to the style. We need an opening post explaining what to post there and what not, as most people have no understanding what this does. I need some help with that now, as I haven't looked at style sheets myself lately.
Where do we store the updated styles?
Cheers,
Peter.
Offline
#1078 2011-07-31 02:39:33
- OttoPilot
- Member
- Registered: 2011-07-08
- Posts: 4
Re: Worldwide routable Garmin maps: URL REMOVED
Lambertus, I think you should know this:
I'm trying to download the 25-07-2011 predefined map of Chile but all I get on the download page is the Linux version and a couple of the .txt files, neither gmapsupp nor Mac files.
I beg you to fix this. Thank you.
Offline
#1079 2011-07-31 08:08:29
- ligfietser
- Member

- Registered: 2008-10-09
- Posts: 5,353
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
@Beddhist:
Great to hear you want to help maintaining the style and typ files. I'll send you an e-mail to discuss the details.
About type 0x07: in the default style of mkgmap this is used for cycleways AND service roads. I tried to put there an empty label (a description like "cycleway/service" doesnt look good there because those are two different kinds of roads). Unfortunately Garmin cannot render a blank label so it puts some rubbish like that small rectangle. The best way is to seperate those roads into two different garmin types, but unfortunately there are limited Garmin types which are routable. If you use a typ file by default it won't be a problem, then we can use overlays to distinguish those roads and add even more features, like tracktype (1-5) cyclelanes etc etc
Last edited by ligfietser (2011-07-31 08:08:53)
Offline
#1080 2011-07-31 08:22:42
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
If you use a typ file by default it won't be a problem, then we can use overlays to distinguish those roads and add even more features, like tracktype (1-5) cyclelanes etc etc
I don't know whether Lambertus wants to use a typ by default and I also don't know whether it's a good idea to force it onto people. On the other hand, we should be able to force mkgmap to correctly translate lanes and walkways. In my way of thinking we should set things up so that the style will render the map as correctly as possible without a typ, which can then be used for enhancements.
Should we move this discussion into a new topic?
Cheers,
Peter.
Offline
#1081 2011-07-31 08:50:55
- ligfietser
- Member

- Registered: 2008-10-09
- Posts: 5,353
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
Or we can continue here: http://forum.openstreetmap.org/viewtopic.php?id=10032
Offline
#1082 2011-07-31 09:33:52
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
Lambertus, I think you should know this:
I'm trying to download the 25-07-2011 predefined map of Chile but all I get on the download page is the Linux version and a couple of the .txt files, neither gmapsupp nor Mac files.
I beg you to fix this. Thank you.
Otto,
I seems Lambertus has cycled his system. Go and have a new map built!
Regards,
Peter.
Offline
#1083 2011-07-31 10:36:19
- Lambertus
- Inactive

- From: Apeldoorn (NL)
- Registered: 2007-03-17
- Posts: 3,269
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
Lambertus wrote:So if someone want's to contribute to this project by maintaining a generic routing stylesheet then please do.
I volunteer.
Thank you, that is most generous!
Liegfietser and I will have to coordinate this with his typ file.
Ok, I did mean stylesheet and not TYP file
But a TYP file would be nice too, although the Mapnik TYP is already available.
Imho it's the Mkgmap stylesheet that has to be adapted to get a better generic routing experience. The current one includes e.g. admin boundaries level 9 and 10 in the map which confuses the hell out of people (perhaps admin level 8 also). These boundaries are not helpful if you just want to be routed somewhere and you want to be able to see what's on the map.
The same thing applies perhaps to buildings as well. They are fine if you want to have a topographic map but they clutter the map if you simply want to see where you are on route. My prefiltering used to leave them out because of this but more and more useful information is combined with these buildings (POI, housenumbers etc). So the buildings should be available to Mkgmap so it can use the information but the stylesheet can leave them out so they don't appear on the map.
I hope this demonstrates what I'm looking for (maybe others have something to say about this as well?): a clean generic routable map, but fully functional. Imho, this requires a better Mkgmap stylesheet then the default one and perhaps a TYP file too, but I'm not convinced we really need a TYP to achieve that goal.
Comparing to the default stylesheet, I don't think there is need for big changes, just some tweaks. Maybe these can even be backported tot the default stylesheet at a later point.
Perhaps I will create a new topic where people can post requests, etc. relevant to the style. We need an opening post explaining what to post there and what not, as most people have no understanding what this does. I need some help with that now, as I haven't looked at style sheets myself lately.
Good idea. Please do.
Where do we store the updated styles?
Some place where other people can contribute too? Perhaps the Mkgmap SVN would be nice or OpenStreetMap SVN, perhaps Sourceforge, even something like shared storage space might be suitable (but a version control system would be preferable).
Something totally different:
The first worldwide version of Openfietsmap Lite (using Ligfietser's stylesheet and TYP) is being uploaded to the country server at this moment. I'm working to get the webserver prepared to host the map. I understand, from Ligfietser' comments, that it contains some Dutch names and other Dutch-specific stuff, but it will be a nice test and hopefully already quite usable.
Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002
Offline
#1084 2011-07-31 11:29:19
- ligfietser
- Member

- Registered: 2008-10-09
- Posts: 5,353
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
Something totally different:
The first worldwide version of Openfietsmap Lite (using Ligfietser's stylesheet and TYP) is being uploaded to the country server at this moment. I'm working to get the webserver prepared to host the map. I understand, from Ligfietser' comments, that it contains some Dutch names and other Dutch-specific stuff, but it will be a nice test and hopefully already quite usable.
Can't wait to download it ![]()
Most dutch labels have been translated into English (maybe I forgot a few) but routing is based on the Dutch traffic rules. Like footways that are mostly non routable (because we have a nice infrastructure of bike paths here)
and trunk roads are forbidden too. In other parts of the world maybe the routing should be set to foot instead of bicycle to get better results, we will see. Also avoidance of 'highways' should not set on, because bike paths are on this map the major highways ;-)
Offline
#1085 2011-07-31 11:51:26
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
I have created an SVN repository at https://mkgmap-style-sheets.googlecode.com/svn/trunk/
Minko and myself are the owners.
The issue tracker is here: http://code.google.com/p/mkgmap-style-s … ssues/list
Lambertus: I need an email address that 'corresponds to a Google a/c' so I can add you.
Minko: go ahead and add some issues into the tracker, so we can test this out. I can then start creating the stylesheet.
Regards,
Peter.
Offline
#1086 2011-07-31 22:30:11
- OttoPilot
- Member
- Registered: 2011-07-08
- Posts: 4
Re: Worldwide routable Garmin maps: URL REMOVED
OttoPilot wrote:Lambertus, I think you should know this:
I'm trying to download the 25-07-2011 predefined map of Chile but all I get on the download page is the Linux version and a couple of the .txt files, neither gmapsupp nor Mac files.
I beg you to fix this. Thank you.Otto,
I seems Lambertus has cycled his system. Go and have a new map built!
Regards,
Peter.
I still get the same with new cycle: only Linux, tiles.txt and country.txt.
Lambertus, please fix it. I need to check my edits to OSM.
Thanks.
Offline
#1087 2011-07-31 22:49:13
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
Confirmed, and it only concerns Chile. 2 other countries I checked are OK. Strange: first it gives me a download link, the next time I try it wants me to enter my email, the next time the download link is back.
UK includes 2 tiles of the E Mediterranean. Palestine and Crete no longer belong to the Brit Empire...
Otto: if you are in a hurry download the tiles from the main page, d/l MapSetToolkit and use that to install the tiles into MapSource. That's what I used to do, only I also compiled my own map, because I didn't want to wait for a month...
Offline
#1088 2011-07-31 23:04:44
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
New update is online. This was generated with the latest Mkgmap (r2008) which includes improvements in address search (assigning streets and such to placenames).
The licence file on the d/l for Andorra says:
Map created with mkgmap-r1946
The main page (static, obviously) lists an even older version. I want to use the same version here for testing the style sheet that you use, so please let me know when you change versions.
Offline
#1089 2011-08-01 08:08:41
- Lambertus
- Inactive

- From: Apeldoorn (NL)
- Registered: 2007-03-17
- Posts: 3,269
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
I still get the same with new cycle: only Linux, tiles.txt and country.txt.
Lambertus, please fix it. I need to check my edits to OSM.
Thanks.
Hmm, it occurred twice in two different updates. There must be something wrong with your edits ![]()
I'll check it out.
Confirmed, and it only concerns Chile. 2 other countries I checked are OK.
Thanks for checking.
Strange: first it gives me a download link, the next time I try it wants me to enter my email, the next time the download link is back.
If I'm correct then the email option is shown first while the system is checking for an existing map. If something goes wrong with the 'check for existing map' function then the email option remains visible.
UK includes 2 tiles of the E Mediterranean. Palestine and Crete no longer belong to the Brit Empire...
I blame the evil Cloudmade country polygons! I know these should be updated but didn't think it was that important.
Lambertus wrote:New update is online. This was generated with the latest Mkgmap (r2008) which includes improvements in address search (assigning streets and such to placenames).
The licence file on the d/l for Andorra says:
Map created with mkgmap-r1946
The main page (static, obviously) lists an even older version. I want to use the same version here for testing the style sheet that you use, so please let me know when you change versions.
I see this causes confusion, but it has to do with the multiple stages involved in creating these maps.
1. The tiles are generated on a pc at home (with r2008)
2. The maps are combined into a gmapsupp.img and an NSIS installer using (r1946). I don't think the gmapsupp.img building has changed much so there's no need to constantly upgrade to the latest version. Correct me if I'm wrong please.
3. In the past people requested to know the version of the used Mkgmap to generate the tiles so I added that as static information to the webpage (as you guessed correctly). I just forget that it's there and perhaps I should just remove that from the webpage.
Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002
Offline
#1090 2011-08-01 09:31:16
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
OK, 2008 it is. Thanks. Just let me know when you change it, please, so we use the same version.
Offline
#1091 2011-08-01 10:05:44
- Lambertus
- Inactive

- From: Apeldoorn (NL)
- Registered: 2007-03-17
- Posts: 3,269
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
OK, 2008 it is. Thanks. Just let me know when you change it, please, so we use the same version.
Do you have a preference?
Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002
Offline
#1092 2011-08-01 10:17:23
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
Makes no difference to me, I only compile maps for my own temporary use. I just want to stay in sync. I did spot v2009...
Offline
#1093 2011-08-01 10:46:01
- ligfietser
- Member

- Registered: 2008-10-09
- Posts: 5,353
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
2008 or 2009 have no differences in the style sheets, but I would recommend building the gmapsupp.img with the same mkgmap version if that is not too difficult?
If we introduce a basic typ file sooner or later, the gmapsupp must be compiled with this typ file as well so the styles should be the same.
Offline
#1094 2011-08-01 19:24:41
- Lambertus
- Inactive

- From: Apeldoorn (NL)
- Registered: 2007-03-17
- Posts: 3,269
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
OttoPilot wrote:I still get the same with new cycle: only Linux, tiles.txt and country.txt.
Lambertus, please fix it. I need to check my edits to OSM.
Thanks.Hmm, it occurred twice in two different updates. There must be something wrong with your edits
I'll check it out.
Ok, the installed Mkgmap version on the Country server barfs on Chille:
Exception in thread "main" java.lang.NegativeArraySizeException
at uk.me.parabola.imgfmt.app.BufferedImgFileReader.get(BufferedImgFileReader.java:165)
at uk.me.parabola.imgfmt.app.net.NETFileReader.fetchZipCity(NETFileReader.java:151)
at uk.me.parabola.imgfmt.app.net.NETFileReader.getRoads(NETFileReader.java:116)
at uk.me.parabola.imgfmt.app.map.MapReader.getRoads(MapReader.java:180)
at uk.me.parabola.mkgmap.combiners.MdrBuilder.addStreets(MdrBuilder.java:300)
at uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:171)
at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:411)
at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126)
at uk.me.parabola.mkgmap.main.Main.main(Main.java:129)
I'll try a newer one (r2009)...
Edit: Nope, practically the same error:
Exception in thread "main" java.lang.NegativeArraySizeException
at uk.me.parabola.imgfmt.app.BufferedImgFileReader.get(BufferedImgFileReader.java:165)
at uk.me.parabola.imgfmt.app.net.NETFileReader.fetchZipCity(NETFileReader.java:151)
at uk.me.parabola.imgfmt.app.net.NETFileReader.getRoads(NETFileReader.java:116)
at uk.me.parabola.imgfmt.app.map.MapReader.getRoads(MapReader.java:180)
at uk.me.parabola.mkgmap.combiners.MdrBuilder.addStreets(MdrBuilder.java:300)
at uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:171)
at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:431)
at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126)
at uk.me.parabola.mkgmap.main.Main.main(Main.java:132)
No idea what's going on here...
Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002
Offline
#1095 2011-08-02 19:51:31
- msc_nbg
- Member
- Registered: 2011-08-02
- Posts: 1
Re: Worldwide routable Garmin maps: URL REMOVED
Dear Lambertus: first feedback: great service, thanks for the same.
One request for an improvement: Would be great if a list of countires could be selected, like Germany+Austria+Switzerland+Italy. Currently it seems only to be possible to select one country and then individual tiles.
Thanks!
Offline
#1096 2011-08-03 08:19:58
- Lambertus
- Inactive

- From: Apeldoorn (NL)
- Registered: 2007-03-17
- Posts: 3,269
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
Dear Lambertus: first feedback: great service, thanks for the same.
One request for an improvement: Would be great if a list of countires could be selected, like Germany+Austria+Switzerland+Italy. Currently it seems only to be possible to select one country and then individual tiles.
Thanks!
Thank you for your kind comment. I'll keep your idea in mind (there are also other options for quickly selecting more then one country that I'm looking into).
Mapping tools: Garmin GPSmap 60CSx, Giant Terrago 2002
Offline
#1097 2011-08-07 15:40:32
- jmarteijn
- Member
- Registered: 2011-08-07
- Posts: 7
Re: Worldwide routable Garmin maps: URL REMOVED
Hi,
First of all what a great service!
Yesterday first tried the OpenstreetMap, and i must say the map looks great on a Garmin Edge 705 using the Mapnik TYP file.
Question / request is to also use the same Mapnik TYP file on the Belgium map, don't know if this is possible?
Thkx!
Offline
#1098 2011-08-07 20:49:54
- Beddhist
- Member
- From: Doembang Nangbuat, TH
- Registered: 2009-07-28
- Posts: 439
- Website
Re: Worldwide routable Garmin maps: URL REMOVED
What Belgium map are you referring to?
Offline
#1099 2011-08-07 22:52:44
- Henrik B
- Member
- Registered: 2011-06-28
- Posts: 3
Re: Worldwide routable Garmin maps: URL REMOVED
Well.. not much help around here to get a complete Routable Europe Map as an .EXE fil to install in MapSource.
But now i´ve solved the problem myself.. :-)
Download the .IMG files here: ftp://ftp5.gwdg.de/pub/misc/openstreetm … de/latest/
Take them through Mapset Tool kit.
Use the tutorial at http://www.gpsfiledepot.com/tutorials/h … ling-data/ - in ordrer to make the .EXE file with NSIS
Run the .EXE file and you have af complete cross-border routable map for Europe.
Henrik B
Denmark
Offline
#1100 2011-08-08 00:51:26
- Seldom
- Member
- Registered: 2009-01-25
- Posts: 193
Re: Worldwide routable Garmin maps: URL REMOVED
Henrik B,
What are you doing with MapSetToolKit? If you've got a TDB file and an overview map IMG (and a TYP file if you want all the niceties) you can install them directly using MapSetToolKit. No need for an NSIS installer unless you plan to distribute.
Last edited by Seldom (2011-08-08 00:51:51)
Offline