Newbie Map Creator

The only file that varies is the template.args file that the splitter produces, the mkgmap.args and contour.args are every update basically the same (unless you want to change it of course).
Contour files I only have to make once and after that you can feed those img’s into the workflow, so you dont need to split them again and again. Of course those tiles dont match anymore with your osm tiles so a better way would be to merge them with the osm data before the splitter process, but thats another discussion.

Does it really matter if the contour tiles don’t exactly match the road tiles? I’m sure I’ve worked in the past with non-overlapping tiles without a problem.

It doesnt matter, but maybe ajoessen can comment on this why he splits contours and osm data:

I think it is a better way to integrate them into one map so you dont have overlapping tiles anymore (confusing for the user).
If you have separate tiles on the other hand, the user can decide whether include contours or not in the gmapsupp.
Like a famous Dutch football player quotes, every disadvantage has its advantages :wink:

Off course I do the contour splitting only once for a specific region. Renaming that template.args might also work. I keep the contour osm.gz in a seperate folder, but the img all togeher in one, so they can be used in baseCamp.

I dont like integrating the contours in the main osm data. For my region I have 7 contour tiles and 27 OSM-tiles.
The first I dont have to compile in future runs. Putting the data together will also make the tile areas even smaller, leading to problems with cross-tile-routing.

While planning a days walking trip, I build a seperate map only for that area, which needs only one osm tile and one contour tile. That way the Garmin unit is easier to handle instead of a nation-wide Map.
For that workflow osm and contours have to be run every time, as the area changes.

Greetings,
ajoessen

@ajoessen: you mentioned earlier in this thread that the TYP extension from the typfile should be in capitals, but I see no problems with typ in lowercase letters. Is this not working good in a specific unit or OS?

It works on BaseCamp and QLandkaretGT, but on the Garmin unit it will not be recognized. You will get a map with standard Garmin type lines and POIs. If your typfile is not much away from that, you might not see it.

Greetings,
ajoessen

Well, I understand you know my Openfietsmap so you can see it is quite different from the standard Garmin types. I’m not using capitals for TYP but I guess Mapsource and mkgmap automatically convert this from typ into TYP as I look into my gmapsupp. I have no experience with Qlandkarte though.

Hi
Been away on holiday for 2 weeks, just returned to see this thread has taken off!!!
To answer your questions.

  1. 63247029 is the last file.
  2. I have made sure that option_GCC_GPS.args file has two empty lines at the end.
  3. Folder structure is
    c:\mapping\mkgmap-r2148 this is where i run my mkgmap.bat from and all the *.osm.pbf files are kept, along with template.args, logging.properties, option_GCC_GPS.args

Style files are located here C:\mapping\mkgmap-r2148\examples\styles\munky_styles at this level I have munky.TYP, lines, options, points etc.

Just done another run with the modified option_GCC_GPS.args file and now get:

C:\mapping>cd mkgmap-r2148

C:\mapping\mkgmap-r2148>mkgmap.bat
Running mkgmap

C:\mapping\mkgmap-r2148>rem enable logging properties

C:\mapping\mkgmap-r2148>java -Xmx1500m -ea -Dlog.config=logging.properties -jar
mkgmap.jar --style-file=/examples/styles/munky_styles -c options_GCC_GPS.args “/
examples/styles/munky_styles/munky.TYP”
Could not open style /examples/styles/munky_styles

C:\mapping\mkgmap-r2148>rem standard compile

C:\mapping\mkgmap-r2148>REM java -Xmx1500m -ea -jar mkgmap.jar --style-file=/exa
mples/styles/munky_styles -c options_GCC_GPS.args “/examples/styles/munky_styles
/munky.TYP”

C:\mapping\mkgmap-r2148>rem default style, no TYP

C:\mapping\mkgmap-r2148>rem java -Xmx1500m -ea -jar mkgmap.jar -c options_GCC_GP
S.args
mkgmap finished: copying gmapsupp
The system cannot find the file specified.
Finished!!!
Press any key to continue . . .

I now notice from line above starting C:\mapping\mkgmap-r2148>REM java -Xmx1500m that the line contains forward and backslashes, is this ok?

Many thanks to all who have taken the trouble to answer. Hopefully other newbies will benefit from all this.

Anyone any clues?

richlewt,
try to remove the first slash in /examples/styles/…

Edit: It does not matter if slahes or backslashes, but the first slash in --stylefile=/examples/… makes it fail

Hi
That finally worked!!! I have now managed to produce a map of the uk to more or less what I was after. I dont know if anyone can help me but I now wish to highlight and display the numbers of National and Regional Cycle Network roads. In the lines file I have a line that reads highway=cycleway [0x17 road_class=0 road_speed=1 resolution 23] . What do I need to add to this line to display the numbers?
Thanks for all the help on this thread.

You have to add those route relations to the relation style file first, see wilpin’s post at http://forum.openstreetmap.org/viewtopic.php?id=15055

Also some examples you can find in
http://www.mkgmap.org.uk/svn/wsvn/mkgmap/resources/styles/routes-bicycle/relations and
http://www.mkgmap.org.uk/svn/wsvn/mkgmap/resources/styles/routes-bicycle/lines