Worldwide routable Garmin maps: URL REMOVED

Sorry we are getting the threads a bit mixed up here.

@ligfietser
I tried GmapTool, and it certainly allowed me to change the mapset name. I can now see on the GPS which maps I have loaded, which is a step forweard. However, the OSMs are still grouped together under “family name”, which I haven’t been able to change. This means that I can’t enable/disable OSMs individually - it’s all or nothing.
We’re getting closer, but not quite there. Any more help would be very welcome.

Max,
Have you tried to change the FID (=Family ID) of each gmapsupp.img with gmaptool?

I have a problem creating a custom set. I first tried the prebuild Netherlands map, wich works perfectly. Then, in view of an upcoming travel I constructed a set of the Netherlands + UK and Ireland with a little bit of Belgium. The result of this construction has white areas in Mapsource, it’s like Mapsource sees that I requested them, but they have no content. This includes my hometown area.
Areas I did not request have the generic “no maps” color.
Trying the gmapsupp.img I can see the information missing at my location as well.

Thinking it might be due to user error I repeated the process with a slightly larger area, but the white areas remain.

Maybe this has something to do with parts build on another server not getting assembled correctly into the end-product, or is there some step in the process I missed?

Mkgmap versions:
Custom map server: r1919
Country map server: r1867
Pre-compile server: r1929 (afaik)

It’s a bit of a mess aparently :smiley:

The custom map server version is now downgraded to r1867. Can you try a small test?

BTW, I’m preparing to add the Mapnik TYP file from Ligfietser as a user choice on a third sponsored server, but I haven’t gotten PHP scripting to work properly on that server yet. It’s really coming but it needs a bit more patience. :wink:

For me, also the prebuild Netherlands map is missing tiles. The missing tiles are the ones that cannot be downloaded directly from the site. For example:

NL-Den Haag works fine and can be downloaded from this location:
http://planetosm.oxilion.nl/~lambertus/garmin/routable/13-05-2011/63241000.img

However, NL-Leiden does not work and also the individual download link does not work:
http://planetosm.oxilion.nl/~lambertus/garmin/routable/13-05-2011/63240204.img

Perhaps that helps you in fixing the problem? :slight_smile:

Thanks Frank.

It appears that some tiles are missing on both servers. I’m not sure yet if they are simply not uploaded or that the tiles haven’t been generated, something that I will find out when I get home this evening. Till then the map generation is disabled to prevent further confusion.

If you like/want some help with the PHP coding, feel free to contact me.

Thank you, that’s very kind. The problem I’m having on the newest server is not the coding but the restrictions of the operating system (i.e. the script is not allowed to call Java to run Mkgmap, etc.).

Currently, there isn’t much coding to do really. Adding a selectable TYP file is prepared already (needs testing only) and I don’t have any specific new ideas (hint! hint!).

Which mkgmap version are you using with the typ file? They have changed some lines in the default style so I’m not sure if this typ file is up to date.

So preparing a statement to be executed by a shell script through crontab is also out of the question I assume.

Judging by my father’s experience you could probably make it more clear that there are prebuild maps he doesn’t have to wait for.

It could be whatever you advise, but if the new bits in the default stylesheet are stable then I would like to use the latest one (and allow for future updates).

Alright, I’ll try to do that. I’m not a native English speaker though, so it’s possible that I don’t express the options succinct enough. And, ofcourse, there is the additional caveat that none of the countries are available for download at the time of each new map release.

Additionally, the need for users to download countries as much as possible has been alleviated by the new servers as well.

Thanks for your input.

You could have fooled me.

Just wanted to say thank you. I used your routable maps for south india and it works. I cannot type the address, but i can use the cities.

Great to hear!

PS. The ‘gaps in the map’ problem was indeed caused by missing tiles on the servers. Apparently something went wrong during upload with scp (I suspect overloading my server at home with other jobs :p).

I’ve tried to explain the options a bit more clearly. Has it been for the better?

I have updated the Typ file according to the latest version of mkgmap (1946) as far as the lines and polygons are concerned. I didnt check all the pois, maybe somebody else can do this?
Here you can download it: http://mijndev.openstreetmap.nl/~ligfietser/diverse/mapnik.typ_r1946.zip

Cool, so instead of focussing on getting the third server functional, I will now focus on getting this integrated on the country server as that one has the space to host (at least) two different maps for each country.

I dont think you need a different map for the typ file. If you don’t want it, just rename it and it is turned off…

Ok, I’m not really familiar with TYP files (ok, I’ll be honest: I have no experience with them whatsoever :D), but can you simply rename the TYP file with a gmapsupp.img as well? Isn’t the TYP file supposed to be included in the gmapsupp.img? I’m really starting to wonder why someone should provide the TYP file to the Mkgmap commandine if it’s just an external file which you can remove without impact…

Background info:
Currently I have added the name of the TYP file to the MD5SUM algorithm which will ensure that country A without TYP file will have a different md5sum then country A with TYP file Z will have a different md5sum then country A with TYP file Y.

The md5sum is used for the directory name. Example, the last section of this URL is the md5sum: /~lambertus/garmin/routable/13-05-2011/a824693f08b662ee8ab3e90d08c2ff2f
The md5sum is created from a source string which represents each unique map, i.e. an source string could be: “13-05-2011;Mapnik;63240004;63240354;63240067”

Edit: Oh, and is the typ file compiled for the family ID of garmin.openstreetmap.nl?

Oops, forgot to change the FID, it was FID=2000 PID=3 right?
Well, just renaming is not really working. But with a small batch file which turns it on or off in the windows register it could be done*). To install the TYP file in Mapsource, it has to be added in the windows registery. The gmapsupp it’s a different thing, you cannot edit the gmapsupp easily without software like gmaptool. So you either have to deliver gmtl.exe with the gmapsupp (plus a batch file so that someone can change it) or… provide two gmapsupp’s :wink:

Edit:
*) Another trick is to supply two typ files. One with the mapnik styles, and one empty.typ. The mapnik.typ file will be registered by default during the installation. If someone doesnt want a typ file he can rename the emtpy one mapnik.typ after renaming the mapnik.typ mapnik.bak or so. Or more sophisticated, you can give the user the choice during the installation which one to choose, this could be implemented in the nsis installer.