Worldwide routable Garmin maps: Missing/incorrect feature requests

It doesn’t matter if the map is old. You just need to know a street where cars are not allowed to test the restriction. As far as I can tell so far in non-NT maps car restrictions only work on walkways. In our NZ maps we disconnect roads where cars are not allowed. Malls have to be mapped as walkways.

Ok, I found the map now (didn’t look on the front page). Seems you used the wrong typ and style files, this doesnt look good to me.
It was some time ago but we decided to put the changes in the world-test map and not in “world”. So I either have to copy the test versions to the world map or you can try another spin of these files:
http://code.google.com/p/mkgmap-style-sheets/source/browse/#svn%2Ftrunk%2Ftyp%2Fworld-test
http://code.google.com/p/mkgmap-style-sheets/source/browse/#svn%2Ftrunk%2Fstyles%2Fworld-test%253Fstate%253Dclosed

Ah, yes, I assumed the ‘world’ would be the style I needed. I’ll change to ‘world-test’ asap. Unfortunately an update is already running and I cannot run two updates at the same time.

No problem, it’s still a test anyway (and there are some routing bugs in the latest mkgmap too, so dont worry).

I wasn’t aware of that, either and have used world.

My understanding was that we use the test style and typ for development and the world style and typ for production. Otherwise, what is world for?

If you agree then let’s copy test over world and just keep Lambertus’ cycle running.

I have not seen the output from test…

This discussion should really be moved to the topic we started for that purpose.

In the test style were the latest changes made, we started first with ‘world’ but you suggested it was better to use this style for the production (which never made it until now).

Sure, i can copy them to the “production” styles.

Those test versions were put here: http://code.google.com/p/mkgmap-style-sheets/downloads/list

Lambertus, can you post the mkgmap parameters here?
I think that something with make-cycleways is not needed and in the test styles I also use a land-tag=natural=background

Tile rendering:

<?php
$name = "generic_new";
$description = "OSM Generic Routable";
$family_id = "2000";
$product_id = "6";
$mapid = 63240000;
$style_dir="/home/lambertus/garmin/utils/styles/";
$style = "generic_new";
$bounds = "/home/lambertus/garmin/utils/bounds.zip";
$max_size = 24*1024*1024;
$initial_nodes = 1500000;
$max_nodes = 1200000;
$type = "o5m";
//$type = "osm.gz";
$split_dir = "/home/lambertus/garmin/split-o5m";

$script_dir = "/home/lambertus/garmin/$name";
$cities = "/home/lambertus/garmin/utils/cities15000.zip";

$mkgmapOptions = array(
		" --reduce-point-density=4",
		" --reduce-point-density-polygon=8",
		" --precomp-sea='/home/lambertus/garmin/utils/sea'",
		" --show-profiles=1",
		" --add-pois-to-lines",
		" --index",
		" --location-autofill=bounds,is_in,nearest",
		" --latin1",	// implies code-page=1252
		" --ignore-maxspeeds",
		" --remove-short-arcs",
		" --min-size-polygon=10",
		" --merge-lines",
		" --add-pois-to-areas",
		" --preserve-element-order",
		" --route",
		" --name-tag-list=name:en,int_name,name:zh_py,name:engels,name"
	);
?>

Shall I add --generate-sea=land-tag=natural=background?

Combining:

"generic_new" => array(
		"description" => "OSM generic routable (new style)",
		"underscored" => 'osm_generic_new',
		"family_id" => 2000,
		"product_id" => 6,
		"overview_name" => "63240000",
		"typ_dir" => "generic_new",
		"copyright" => "'Map data © openstreetmap.org and contributors'"
	)

Edit: added the land-tag and updated the style+typ in time for the already running map update to pick-up the changes.

Great! :slight_smile:

Thank you both. Looks like all of a sudden things are moving fast! :smiley:

I updated my files and compiled a quick test map using old osm data. Looks almost the same as before. Downloaded N Thailand with JOSM, but now I get only POIs, no lines or polygons. I don’t know whether this is a problem with my osm file or an mkgmap bug. I have previously made an even bigger map without problems.

Incidentally, when it does work mkgmap complains about:

WARNING: Style uses tag 'display_name' which is deprecated and will be removed soon. Please use the new tag 'mkgmap:display_name' instead.

Could it be that the lines and polygons are covered by a land background polygon (0x27?)
You need to use --generate-sea=land-tag=natural=background and the typ file in order to get a decent map.

About display_name, I replaced it now with mkgmap:display_name in the lines style.

A new version of the test map is online, openfietsmap_lite will follow in a few hours. Enjoy!

Edit: offtopic discussion about Overpass API moved to here.

Doesn’t look too bad ;), altough I see some items that could be improved (landuse=grass is not rendered at all, only meadow, forests disappear too quickly but maybe that is intended because the maps shouldnt be too heavy); custom garmin icons are very ugly etc etc.

Hi,

Thanks for providing the maps.
Could you put screenshoots of the map to compare the different rendering (*) and avoid for everybody the need to download each sets just to see how they look like?

*: Generic Routable ; Generic Routable mapnik style ; Generic Routable (testing new style)

Great idea. Why don’t you do it? Just identify an interesting looking location, download that one tile, install it in MapSource or Basecamp and post the screenshots somewhere.

I can’t do it myself because I run Linux so I can’t use MapSource or Basecamp.
Also I have downloaded the new testing style but I don’t see the difference with the mapnik style, that’s why I was asking.

Ok, here are two quick samples:

https://picasaweb.google.com/lh/photo/VwlpgjziXH4247wR2woYs9MTjNZETYmyPJy0liipFm0?feat=directlink
Mapnik style. This is just a typ file, changing the appearance of the normally compiled map. Note the 2 bike shops with hairdresser icons.

https://picasaweb.google.com/lh/photo/L4VeMAZ2vy7xUW5xbZoErdMTjNZETYmyPJy0liipFm0?feat=directlink
This is the new style. It re-uses a lot of the default Garmin icons, rather than the smaller Mapnik ones. At some zoom levels bridges are visible as such. The gas station labels need a little more work.

As we continue to make changes to the New Style features should start to appear that will not show in the other styles. I’m thinking of barriers, like check points (police/military), toll gates and others.

Sorry about the messy post, I’m having problems linking to my pictures.

Mapsource runs under wine.

Old style without typ file

Old style with mapnik typ file

New style

I’m afraid you can’t reliably draw oneway arrows, some nuvis don’t follow line direction when drawing line pattern. And this was probably a feature designed for car navigation. As far as I know, this should work in Mapsource/BaseCamp and outdoor GPS.