Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Ben
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
>   

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Clinton Gladstone
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.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Ralf Kleineisel
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=1001
description=maptile_1
input-file=1001.osm.gz

mapname=1002
description=maptile_2
input-file=1002.osm.gz

[...]

product-id=1
family-id=5678
family-name=bike_map

mapname=2001
description=maptile_3
input-file=2001.osm.gz

mapname=2002
description=maptile_4
input-file=2002.osm.gz

[...]

mapset-name: car_and_bike_map
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Marko Mäkelä
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
> 
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-02 Thread Felix Hartmann
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


Re: [mkgmap-dev] suppress street labels / set name=nil

2009-12-01 Thread Marko Mäkelä
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] suppress street labels / set name=nil

2009-12-01 Thread Ben
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


___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev