suppress street labels / set name=nil

Hi all, Is there a smart way to have mkgmap explicitly setting an empty name for lines? - when I use [default_name ''] the name is filled with some odd content, in my case "Castle Hill Police"... - when I use [default_name ' '] the name is filled with the expected space, but this causes a black rectangle to appear instead of a label background: the setting on Garmin devices (I am testing on a 60CSx) "Max Zoom: Street Label" doesnt seem to work properly fro some ways: even if set to "off", some street labels are still shown, e.g. steps and cycleways. This clutters up the map, so I want to suppress names for those types of ways. Thanks, Ben

Hi Ben, On Wed, Dec 02, 2009 at 05:14:08PM +1100, Ben wrote:
Is there a smart way to have mkgmap explicitly setting an empty name for lines? - when I use [default_name ''] the name is filled with some odd content, in my case "Castle Hill Police"... - when I use [default_name ' '] the name is filled with the expected space, but this causes a black rectangle to appear instead of a label
When the name is missing, my Edge 705 usually says "Jälki" (the Finnish for "Trace" or "Track") for cycleways, footways and highway=service. I do not know of a way to assign a "null" name in mkgmap, other than omitting the "name" or "default_name" action.
background: the setting on Garmin devices (I am testing on a 60CSx) "Max Zoom: Street Label" doesnt seem to work properly fro some ways: even if set to "off", some street labels are still shown, e.g. steps and cycleways. This clutters up the map, so I want to suppress names for those types of ways.
This is another example of it being impossible to satisfy everyone's needs with a single map. As a bicyclist, I very much appreciate having street names on cycleways that are running next to a highway. In that way, the turn directions become more meaningful. Would it be possible to hide names in a map overlay? Say, have several overlays on the base layer: * contour lines * highlighting of paths that are not for (motor) vehicle use: * hiking * mountain biking * horse riding * routes and stops for public transportation * motor vehicle overlay (hiding some names and the like) If the Garmin routing subsystem could utilize data from map overlays (can it?), the motor_vehicle=no stuff could be omitted from the base layer and the desired overlays enabled by the user on a case-by-case basis. For example, mountain bikers and "normal" bicyclists would prefer different routes and select different map overlays. Best regards, Marko

If you use a typfile, you can surpress labels by type. On 02.12.2009 08:33, Marko Mäkelä wrote:
Hi Ben,
On Wed, Dec 02, 2009 at 05:14:08PM +1100, Ben wrote:
Is there a smart way to have mkgmap explicitly setting an empty name for lines? - when I use [default_name ''] the name is filled with some odd content, in my case "Castle Hill Police"... - when I use [default_name ' '] the name is filled with the expected space, but this causes a black rectangle to appear instead of a label
When the name is missing, my Edge 705 usually says "Jälki" (the Finnish for "Trace" or "Track") for cycleways, footways and highway=service. I do not know of a way to assign a "null" name in mkgmap, other than omitting the "name" or "default_name" action.
background: the setting on Garmin devices (I am testing on a 60CSx) "Max Zoom: Street Label" doesnt seem to work properly fro some ways: even if set to "off", some street labels are still shown, e.g. steps and cycleways. This clutters up the map, so I want to suppress names for those types of ways.
This is another example of it being impossible to satisfy everyone's needs with a single map. As a bicyclist, I very much appreciate having street names on cycleways that are running next to a highway. In that way, the turn directions become more meaningful.
Would it be possible to hide names in a map overlay? Say, have several overlays on the base layer:
* contour lines * highlighting of paths that are not for (motor) vehicle use: * hiking * mountain biking * horse riding * routes and stops for public transportation * motor vehicle overlay (hiding some names and the like)
If the Garmin routing subsystem could utilize data from map overlays (can it?), the motor_vehicle=no stuff could be omitted from the base layer and the desired overlays enabled by the user on a case-by-case basis. For example, mountain bikers and "normal" bicyclists would prefer different routes and select different map overlays.
Best regards,
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Wed, Dec 02, 2009 at 09:36:51AM +0100, Felix Hartmann wrote:
If you use a typfile, you can surpress labels by type.
Can the gmapsupp.img contain multiple TYP files that could be selected by the user? That would allow one to use a single map file and select profiles based on intended use on-the-go, without swapping memory cards or connecting the navigator to a computer. Marko
On 02.12.2009 08:33, Marko Mäkelä wrote:
Hi Ben,
On Wed, Dec 02, 2009 at 05:14:08PM +1100, Ben wrote:
Is there a smart way to have mkgmap explicitly setting an empty name for lines? - when I use [default_name ''] the name is filled with some odd content, in my case "Castle Hill Police"... - when I use [default_name ' '] the name is filled with the expected space, but this causes a black rectangle to appear instead of a label
When the name is missing, my Edge 705 usually says "Jälki" (the Finnish for "Trace" or "Track") for cycleways, footways and highway=service. I do not know of a way to assign a "null" name in mkgmap, other than omitting the "name" or "default_name" action.
background: the setting on Garmin devices (I am testing on a 60CSx) "Max Zoom: Street Label" doesnt seem to work properly fro some ways: even if set to "off", some street labels are still shown, e.g. steps and cycleways. This clutters up the map, so I want to suppress names for those types of ways.
This is another example of it being impossible to satisfy everyone's needs with a single map. As a bicyclist, I very much appreciate having street names on cycleways that are running next to a highway. In that way, the turn directions become more meaningful.
Would it be possible to hide names in a map overlay? Say, have several overlays on the base layer:
* contour lines * highlighting of paths that are not for (motor) vehicle use: * hiking * mountain biking * horse riding * routes and stops for public transportation * motor vehicle overlay (hiding some names and the like)
If the Garmin routing subsystem could utilize data from map overlays (can it?), the motor_vehicle=no stuff could be omitted from the base layer and the desired overlays enabled by the user on a case-by-case basis. For example, mountain bikers and "normal" bicyclists would prefer different routes and select different map overlays.
Best regards,
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

On Wednesday 02 December 2009 11:10:54 Marko Mäkelä wrote:
Can the gmapsupp.img contain multiple TYP files that could be selected by the user? That would allow one to use a single map file and select profiles based on intended use on-the-go, without swapping memory cards or connecting the navigator to a computer.
A gmapsupp.img can contain more than one typ file. Each typ file must correspond to a family ID. In the gps unit's menu you can switch every family on and off individually. Your template.args file might look like this: product-id=1 family-id=1234 family-name=car_map mapname=10000001 description=maptile_1 input-file=10000001.osm.gz mapname=10000002 description=maptile_2 input-file=10000002.osm.gz [...] product-id=1 family-id=5678 family-name=bike_map mapname=20000001 description=maptile_3 input-file=20000001.osm.gz mapname=20000002 description=maptile_4 input-file=20000002.osm.gz [...] mapset-name: car_and_bike_map

On Dec 2, 2009, at 11:18, Ralf Kleineisel wrote:
On Wednesday 02 December 2009 11:10:54 Marko Mäkelä wrote:
Can the gmapsupp.img contain multiple TYP files that could be selected by the user? That would allow one to use a single map file and select profiles based on intended use on-the-go, without swapping memory cards or connecting the navigator to a computer.
A gmapsupp.img can contain more than one typ file. Each typ file must correspond to a family ID. In the gps unit's menu you can switch every family on and off individually.
This means, however, that you can not switch individual TYP files on and off: you can only switch entire families (i.e., maps) on and off. (Unless there is a clever way of doing this which I am not aware of.) If you wanted to have the same map but with different TYP files, you would need to add multiple copies of the map, each with its own ID and corresponding TYP file, to the gmapsupp.img file. (And as far as I know, TYP files must have both a Family ID and Product ID equal to those of the map. Is this correct, or is it possible to have a TYP file with only a Family ID?) Cheers.

LABEL= That does the trick perfectly! (And it should even keep the name for routing etc. Didnt test that though) Thanks, Felix! Felix Hartmann wrote:
If you use a typfile, you can surpress labels by type.
On 02.12.2009 08:33, Marko Mäkelä wrote:
Hi Ben,
On Wed, Dec 02, 2009 at 05:14:08PM +1100, Ben wrote:
Is there a smart way to have mkgmap explicitly setting an empty name for lines? - when I use [default_name ''] the name is filled with some odd content, in my case "Castle Hill Police"... - when I use [default_name ' '] the name is filled with the expected space, but this causes a black rectangle to appear instead of a label
When the name is missing, my Edge 705 usually says "Jälki" (the Finnish for "Trace" or "Track") for cycleways, footways and highway=service. I do not know of a way to assign a "null" name in mkgmap, other than omitting the "name" or "default_name" action.
background: the setting on Garmin devices (I am testing on a 60CSx) "Max Zoom: Street Label" doesnt seem to work properly fro some ways: even if set to "off", some street labels are still shown, e.g. steps and cycleways. This clutters up the map, so I want to suppress names for those types of ways.
This is another example of it being impossible to satisfy everyone's needs with a single map. As a bicyclist, I very much appreciate having street names on cycleways that are running next to a highway. In that way, the turn directions become more meaningful.
Would it be possible to hide names in a map overlay? Say, have several overlays on the base layer:
* contour lines * highlighting of paths that are not for (motor) vehicle use: * hiking * mountain biking * horse riding * routes and stops for public transportation * motor vehicle overlay (hiding some names and the like)
If the Garmin routing subsystem could utilize data from map overlays (can it?), the motor_vehicle=no stuff could be omitted from the base layer and the desired overlays enabled by the user on a case-by-case basis. For example, mountain bikers and "normal" bicyclists would prefer different routes and select different map overlays.
Best regards,
Marko _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (5)
-
Ben
-
Clinton Gladstone
-
Felix Hartmann
-
Marko Mäkelä
-
Ralf Kleineisel