Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-03 Thread Walter Schlögl
Hi Greg,

why do you want to “free” some routeable line types?
If it is just for different display options, you can do another trick.
I am using 0x0c as an invisible line type just for routing purpose,
and non-routeable overlay linetypes to display roundabouts how they should look 
like.

highway=trunk & junction=roundabout[0x0c 
road_class=3 road_speed=2 resolution 24 continue with_actions]
highway=trunk & junction=roundabout[0x10202 
resolution 17]
highway=primary & junction=roundabout[0x0c 
road_class=3 road_speed=1 resolution 24 continue with_actions]
highway=primary & junction=roundabout[0x10302 
resolution 17]
highway=secondary & junction=roundabout[0x0c 
road_class=2 road_speed=1 resolution 24 continue with_actions]
highway=secondary & junction=roundabout[0x10402 
resolution 18]
highway=tertiary & junction=roundabout[0x0c 
road_class=1 road_speed=1 resolution 24 continue with_actions]
highway=tertiary & junction=roundabout[0x10502 
resolution 19]
highway=unclassified & junction=roundabout[0x0c 
road_class=0 road_speed=1 resolution 24 continue with_actions]
highway=unclassified & junction=roundabout[0x10602 
resolution 21]
highway=residential & junction=roundabout[0x0c 
road_class=0 road_speed=1 resolution 24 continue with_actions]
highway=residential & junction=roundabout[0x10702 
resolution 22]

You can use the same trick for all other routing lines also.
With a similiar trick (invisible main POI + visible overlay POIs) you can also 
club together POIs with different Icons to the same POI-List entry.

Walter


From: Gerd Petermann 
Sent: Thursday, March 03, 2016 6:30 AM
To: Development list for mkgmap 
Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD 
SPEED's for one linetype.

Hi Greg,



my understanding is that Garmin treats 0x0c special to produce the "leave 
roundabout at the nth ..." hints,

the same for 0x08 and 0x09 to produce the other exit hints. The calculation of 
the "nth" exit requires special logic,

that's why roundabouts need a special type. 




Gerd












Von: mkgmap-dev-boun...@lists.mkgmap.org.uk 
 im Auftrag von greg crago 

Gesendet: Donnerstag, 3. März 2016 00:10
An: Development list for mkgmap
Betreff: [mkgmap-dev] Question about using different ROAD CLASS's and ROAD 
SPEED's for one linetype. 

I noticed that I have one linetype (0x0c) for roundabouts and it had many 
different ROAD CLASS and ROAD SPEED

# Roundabouts
junction=roundabout & (highway=trunk | highway=trunk_link) [0x2a resolution 18 
continue]
junction=roundabout & (highway=trunk | highway=trunk_link) [0x0c road_class=3 
road_speed=2 resolution 18]
junction=roundabout & (highway=primary | highway=primary_link) [0x2d resolution 
18 continue]
junction=roundabout & (highway=primary | highway=primary_link) [0x0c 
road_class=3 road_speed=1 resolution 18]
junction=roundabout & (highway=secondary | highway=secondary_link) [0x2e 
resolution 20 continue]
junction=roundabout & (highway=secondary | highway=secondary_link) [0x0c 
road_class=2 road_speed=1 resolution 20]
junction=roundabout & (highway=tertiary | highway=tertiary_link) [0x2f 
resolution 20 continue]
junction=roundabout & (highway=tertiary | highway=tertiary_link) [0x0c 
road_class=1 road_speed=1 resolution 20]
junction=roundabout & (highway=unclassified | highway=residential | 
highway=minor | highway=living_street) [0x25 resolution 22 continue]
junction=roundabout & (highway=unclassified | highway=residential | 
highway=minor | highway=living_street) [0x0c road_class=1 road_speed=1 
resolution 22]


I also have 2 other linetypes for HIGH SPEED RAMPS (0x09) and LOW SPEED RAMPS 
(0x08):


highway=motorway_link [0x09 road_class=4 road_speed=7 resolution 15]
highway=trunk_link [0x09 road_class=4 road_speed=5 resolution 18]

highway=primary_link  [0x08 road_class=3 road_speed=1 resolution 18]
highway=secondary_link [0x08 road_class=2 road_speed=1 resolution 19]



MY QUESTION:


Can I combine all of these different ROAD_CLASS and ROAD_SPEED together using 
0x0c and free up 2 routable linetypes? Yes, all the map elements would like the 
same.


Greg




___
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] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-03 Thread greg crago
Walter, I also have setup non-routable linetypes for roundabouts to show
different road types all on top of an INVISIBLE roundabout routable
linetype 0x0c. Gerd says I should leave 0x0c and 0x08 and 0x09 alone
because the GPS expects these *_links and roundabouts to use these specific
layers.

Walter, I see that advantage of using INVISIBLE linetype and VISIBLE
overlay linetypes (line bicycle lanes, 1 way arrows to indicate 1-way
roads, etc), but I do not know what you can do with INVISIBLE POI and
overlay POI. What kind of custom POI can you build?

Greg

On Thu, Mar 3, 2016 at 12:46 PM, Walter Schlögl <
walter.schloegl-re...@aon.at> wrote:

> Hi Greg,
>
> why do you want to “free” some routeable line types?
> If it is just for different display options, you can do another trick.
> I am using 0x0c as an invisible line type just for routing purpose,
> and non-routeable overlay linetypes to display roundabouts how they should
> look like.
>
> highway=trunk & junction=roundabout[0x0c
> road_class=3 road_speed=2 resolution 24 continue with_actions]
> highway=trunk & junction=roundabout[0x10202
> resolution 17]
> highway=primary & junction=roundabout[0x0c
> road_class=3 road_speed=1 resolution 24 continue with_actions]
> highway=primary & junction=roundabout[0x10302
> resolution 17]
> highway=secondary & junction=roundabout[0x0c
> road_class=2 road_speed=1 resolution 24 continue with_actions]
> highway=secondary & junction=roundabout
> [0x10402 resolution 18]
> highway=tertiary & junction=roundabout[0x0c
> road_class=1 road_speed=1 resolution 24 continue with_actions]
> highway=tertiary & junction=roundabout[0x10502
> resolution 19]
> highway=unclassified & junction=roundabout[0x0c
> road_class=0 road_speed=1 resolution 24 continue with_actions]
> highway=unclassified & junction=roundabout[0x10602
> resolution 21]
> highway=residential & junction=roundabout[0x0c
> road_class=0 road_speed=1 resolution 24 continue with_actions]
> highway=residential & junction=roundabout[0x10702
> resolution 22]
>
> You can use the same trick for all other routing lines also.
> With a similiar trick (invisible main POI + visible overlay POIs) you can
> also club together POIs with different Icons to the same POI-List entry.
>
> Walter
>
>
> *From:* Gerd Petermann 
> *Sent:* Thursday, March 03, 2016 6:30 AM
> *To:* Development list for mkgmap 
> *Subject:* Re: [mkgmap-dev] Question about using different ROAD CLASS's
> andROAD SPEED's for one linetype.
>
>
> Hi Greg,
>
>
>
> my understanding is that Garmin treats 0x0c special to produce the "leave
> roundabout at the nth ..." hints,
>
> the same for 0x08 and 0x09 to produce the other exit hints. The
> calculation of the "nth" exit requires special logic,
>
> that's why roundabouts need a special type.
>
>
>
> Gerd
>
>
>
>
>
>
> --
> *Von:* mkgmap-dev-boun...@lists.mkgmap.org.uk <
> mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von greg crago <
> gregcr...@gmail.com>
> *Gesendet:* Donnerstag, 3. März 2016 00:10
> *An:* Development list for mkgmap
> *Betreff:* [mkgmap-dev] Question about using different ROAD CLASS's and
> ROAD SPEED's for one linetype.
>
> I noticed that I have one linetype (0x0c) for roundabouts and it had many
> different ROAD CLASS and ROAD SPEED
>
> # Roundabouts
> junction=roundabout & (highway=trunk | highway=trunk_link) [0x2a
> resolution 18 continue]
> junction=roundabout & (highway=trunk | highway=trunk_link) [0x0c
> road_class=3 road_speed=2 resolution 18]
> junction=roundabout & (highway=primary | highway=primary_link) [0x2d
> resolution 18 continue]
> junction=roundabout & (highway=primary | highway=primary_link) [0x0c
> road_class=3 road_speed=1 resolution 18]
> junction=roundabout & (highway=secondary | highway=secondary_link) [0x2e
> resolution 20 continue]
> junction=roundabout & (highway=secondary | highway=secondary_link) [0x0c
> road_class=2 road_speed=1 resolution 20]
> junction=roundabout & (highway=tertiary | highway=tertiary_link) [0x2f
> resolution 20 continue]
> junction=roundabout & (highway=tertiary | highway=tertiary_link) [0x0c
> road_class=1 road_speed=1 resolution 20]
> junction=roundabout & (highway=unclassified | highway=residential |
> highway=minor | highway=living_st

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-04 Thread Bernd Weigelt
Am Donnerstag, 3. März 2016, 20:59:09 CET schrieb greg crago:

Hi Greg

you can use it for such construction like cuisine=burger;pizza;german;...

set a visible symbol with

cuisine~'.*;.*'  {0x011500   resolution 24 continue}#custom point 1
and an invisible point for everything you want to have in the searchable POI-
list.

[_point]
Type=0x02A01
ExtendedLabels=N
dayxpm="1 1 2 1" colormode=16
"$ c #FF"
"% c none"
"%"
[end]


0x2A01  Dining(American)
0x2A02  Dining(Asian)
0x2A03  Dining(Barbecue)
0x2A04  Dining(Chinese)
0x2A05  Dining(Deli/Bakery)
0x2A06  Dining(International)
0x2A07  Fast Food
0x2A08  Dining(Italian)
0x2A09  Dining(Mexican)
0x2A0A  Dining(Pizza)
0x2A0B  Dining(Sea Food)
0x2A0C  Dining(Steak/Grill)
0x2A0D  Dining(Bagel/Donut)
0x2A0E  Dining(Cafe/Diner)
0x2A0F  Dining(French)
0x2A10  Dining(German)
0x2A11  Dining(British Isles)

> 
> Walter, I see that advantage of using INVISIBLE linetype and VISIBLE
> overlay linetypes (line bicycle lanes, 1 way arrows to indicate 1-way
> roads, etc), but I do not know what you can do with INVISIBLE POI and
> overlay POI. What kind of custom POI can you build?

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


Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-04 Thread greg crago
Bernd, Is this the same as (in the line file)

amenity=restaurant & (cuisine=french | cuisine=sea food | cuisine=german |
cuisine=. ) [0x01150 resolution 24]

Greg

On Fri, Mar 4, 2016 at 3:25 AM, Bernd Weigelt  wrote:

> Am Donnerstag, 3. März 2016, 20:59:09 CET schrieb greg crago:
>
> Hi Greg
>
> you can use it for such construction like cuisine=burger;pizza;german;...
>
> set a visible symbol with
>
> cuisine~'.*;.*'  {0x011500   resolution 24 continue}#custom point 1
> and an invisible point for everything you want to have in the searchable
> POI-
> list.
>
> [_point]
> Type=0x02A01
> ExtendedLabels=N
> dayxpm="1 1 2 1" colormode=16
> "$ c #FF"
> "% c none"
> "%"
> [end]
>
>
> 0x2A01  Dining(American)
> 0x2A02  Dining(Asian)
> 0x2A03  Dining(Barbecue)
> 0x2A04  Dining(Chinese)
> 0x2A05  Dining(Deli/Bakery)
> 0x2A06  Dining(International)
> 0x2A07  Fast Food
> 0x2A08  Dining(Italian)
> 0x2A09  Dining(Mexican)
> 0x2A0A  Dining(Pizza)
> 0x2A0B  Dining(Sea Food)
> 0x2A0C  Dining(Steak/Grill)
> 0x2A0D  Dining(Bagel/Donut)
> 0x2A0E  Dining(Cafe/Diner)
> 0x2A0F  Dining(French)
> 0x2A10  Dining(German)
> 0x2A11  Dining(British Isles)
>
> >
> > Walter, I see that advantage of using INVISIBLE linetype and VISIBLE
> > overlay linetypes (line bicycle lanes, 1 way arrows to indicate 1-way
> > roads, etc), but I do not know what you can do with INVISIBLE POI and
> > overlay POI. What kind of custom POI can you build?
>
> ___
> 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] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-04 Thread Bernd Weigelt
Hi Greg

No, this line catches only cuisine=french *or* cuisine=sea food, not 
'cuisine=french;sea food;...' This key/value pair will be ignored

---
cuisine~'.*;.*'
{
set cuisine='${cuisine|part:}';
}

This rule helps, to use the first part in the POIs, but all other will be 
ignored, too. Have it in my filter file.

My example in my first answer is not really good, because the rule has to be 
executed in a loop until the last value, but i think MKGMAP didn't do this

Bernd

Am Freitag, 4. März 2016, 10:01:52 CET schrieb greg crago:
> Bernd, Is this the same as (in the line file)
> 
> amenity=restaurant & (cuisine=french | cuisine=sea food | cuisine=german |
> cuisine=. ) [0x01150 resolution 24]
> 
> Greg


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


Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-04 Thread greg crago
I am still confused.
Can you explain it one more time and use an example.

Greg

On Fri, Mar 4, 2016 at 11:13 AM, Bernd Weigelt  wrote:

> Hi Greg
>
> No, this line catches only cuisine=french *or* cuisine=sea food, not
> 'cuisine=french;sea food;...' This key/value pair will be ignored
>
> ---
> cuisine~'.*;.*'
> {
> set cuisine='${cuisine|part:}';
> }
>
> This rule helps, to use the first part in the POIs, but all other will be
> ignored, too. Have it in my filter file.
>
> My example in my first answer is not really good, because the rule has to
> be
> executed in a loop until the last value, but i think MKGMAP didn't do this
>
> Bernd
>
> Am Freitag, 4. März 2016, 10:01:52 CET schrieb greg crago:
> > Bernd, Is this the same as (in the line file)
> >
> > amenity=restaurant & (cuisine=french | cuisine=sea food | cuisine=german
> |
> > cuisine=. ) [0x01150 resolution 24]
> >
> > Greg
>
>
> ___
> 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] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-05 Thread Walter Schlögl
Hi Greg,

here an example for supermarkets

shop=supermarket & (name~'Hofer.*'  | name~'HOFER.*'){ set 
mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
shop=supermarket & (name~'Aldi.*'   | name~'ALDI.*'){ set 
mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
shop=supermarket & (name~'Lidl.*'   | name~'LIDL.*'){ set 
mkgmap_symbol=yes}[0x3502 resolution 23 continue with_actions]
...
shop=supermarket & mkgmap_symbol!=yes[0x3500 
resolution 23 continue with_actions]
shop=supermarket[0x2E02 resolution 21] 
# POI

There is one common symbol on 3500 and dedicated symbols on 3501 and above.
(Hofer and Aldi is the same supermarket with the same Logo but with different 
names in Austria and Germany)
If I find a dedicated name of the supermarket, I will show the corresponding 
symbol. (at the moment about 30 in my list)
All other supermarkets will get the common symbol.
And all of them will get additionally an unvisible POI (well, not totally 
unvisible but just 1 dot) for the POI-List
Since this 1 dot POI is placed at resolution 21, I can click on it also in 
lower zoom levels.

I’m doing the same with amenity=fuel (more than 20), shop=car and many others.
My map has many dedicated symbols which makes it easier to find a POI at one 
short look even without using the search function.

Walter


From: greg crago 
Sent: Friday, March 04, 2016 11:37 PM
To: Development list for mkgmap 
Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD 
SPEED's for one linetype.

I am still confused. 
Can you explain it one more time and use an example.

Greg

On Fri, Mar 4, 2016 at 11:13 AM, Bernd Weigelt  wrote:

  Hi Greg

  No, this line catches only cuisine=french *or* cuisine=sea food, not
  'cuisine=french;sea food;...' This key/value pair will be ignored

  ---
  cuisine~'.*;.*'
  {
  set cuisine='${cuisine|part:}';
  }

  This rule helps, to use the first part in the POIs, but all other will be
  ignored, too. Have it in my filter file.

  My example in my first answer is not really good, because the rule has to be
  executed in a loop until the last value, but i think MKGMAP didn't do this

  Bernd

  Am Freitag, 4. März 2016, 10:01:52 CET schrieb greg crago:
  > Bernd, Is this the same as (in the line file)
  >
  > amenity=restaurant & (cuisine=french | cuisine=sea food | cuisine=german |
  > cuisine=. ) [0x01150 resolution 24]
  >
  > Greg



  ___
  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] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-05 Thread greg crago
I have re-read your posts and I think I am still confused about your
statement

"you can also club together POIs with different Icons to the same POI-List
entry"

Again, what is a 'POI-list entry' and how is this a benefit?

I understand about specific store BRANDS and using unique POINTS and then
use a GENERIC icon for the rest of the category.

Greg

On Sat, Mar 5, 2016 at 4:49 AM, Walter Schlögl  wrote:

> Hi Greg,
>
> here an example for supermarkets
>
> shop=supermarket & (name~'Hofer.*'  | name~'HOFER.*'){ set
> mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
> shop=supermarket & (name~'Aldi.*'   | name~'ALDI.*'){ set
> mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
> shop=supermarket & (name~'Lidl.*'   | name~'LIDL.*'){ set
> mkgmap_symbol=yes}[0x3502 resolution 23 continue with_actions]
> ...
> shop=supermarket & mkgmap_symbol!=yes
> [0x3500 resolution 23 continue with_actions]
> shop=supermarket[0x2E02 resolution
> 21] # POI
>
> There is one common symbol on 3500 and dedicated symbols on 3501 and above.
> (Hofer and Aldi is the same supermarket with the same Logo but with
> different names in Austria and Germany)
> If I find a dedicated name of the supermarket, I will show the
> corresponding symbol. (at the moment about 30 in my list)
> All other supermarkets will get the common symbol.
> And all of them will get additionally an unvisible POI (well, not totally
> unvisible but just 1 dot) for the POI-List
> Since this 1 dot POI is placed at resolution 21, I can click on it also in
> lower zoom levels.
>
> I’m doing the same with amenity=fuel (more than 20), shop=car and many
> others.
> My map has many dedicated symbols which makes it easier to find a POI at
> one short look even without using the search function.
>
> Walter
>
>
> *From:* greg crago 
> *Sent:* Friday, March 04, 2016 11:37 PM
> *To:* Development list for mkgmap 
> *Subject:* Re: [mkgmap-dev] Question about using different ROAD CLASS's
> andROAD SPEED's for one linetype.
>
> I am still confused.
> Can you explain it one more time and use an example.
>
> Greg
>
> On Fri, Mar 4, 2016 at 11:13 AM, Bernd Weigelt 
> wrote:
>
>> Hi Greg
>>
>> No, this line catches only cuisine=french *or* cuisine=sea food, not
>> 'cuisine=french;sea food;...' This key/value pair will be ignored
>>
>> ---
>> cuisine~'.*;.*'
>> {
>> set cuisine='${cuisine|part:}';
>> }
>>
>> This rule helps, to use the first part in the POIs, but all other will be
>> ignored, too. Have it in my filter file.
>>
>> My example in my first answer is not really good, because the rule has to
>> be
>> executed in a loop until the last value, but i think MKGMAP didn't do this
>>
>> Bernd
>>
>> Am Freitag, 4. März 2016, 10:01:52 CET schrieb greg crago:
>> > Bernd, Is this the same as (in the line file)
>> >
>> > amenity=restaurant & (cuisine=french | cuisine=sea food |
>> cuisine=german |
>> > cuisine=. ) [0x01150 resolution 24]
>> >
>> > Greg
>>
>>
>> ___
>> 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
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-06 Thread Walter Schlögl
Hi Greg,

all supermarkets are found in the POI list if you give supermarket the POI Nr 
2E02.
shop=books is the POI Nr 2E03, shop=mall is POI Nr 2E04 and so on.

So usually all supermarkets would have the same Icon also, 
but with the solution shown below you can give different supermarkets different 
icons.

If you would just map all Aldi-supermarkets to 3501 without continue 
it would get the correct icon, but not found any longer in the search list.

Do you use this feature on your Garmin device, to search for Point of interests?

Walter


From: greg crago 
Sent: Saturday, March 05, 2016 10:53 PM
To: Development list for mkgmap 
Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD 
SPEED's for one linetype.

I have re-read your posts and I think I am still confused about your statement 

"you can also club together POIs with different Icons to the same POI-List 
entry"


Again, what is a 'POI-list entry' and how is this a benefit?


I understand about specific store BRANDS and using unique POINTS and then use a 
GENERIC icon for the rest of the category.


Greg

On Sat, Mar 5, 2016 at 4:49 AM, Walter Schlögl  
wrote:

  Hi Greg,

  here an example for supermarkets

  shop=supermarket & (name~'Hofer.*'  | name~'HOFER.*'){ set 
mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
  shop=supermarket & (name~'Aldi.*'   | name~'ALDI.*'){ set 
mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
  shop=supermarket & (name~'Lidl.*'   | name~'LIDL.*'){ set 
mkgmap_symbol=yes}[0x3502 resolution 23 continue with_actions]
  ...
  shop=supermarket & mkgmap_symbol!=yes[0x3500 
resolution 23 continue with_actions]
  shop=supermarket[0x2E02 resolution 
21] # POI

  There is one common symbol on 3500 and dedicated symbols on 3501 and above.
  (Hofer and Aldi is the same supermarket with the same Logo but with different 
names in Austria and Germany)
  If I find a dedicated name of the supermarket, I will show the corresponding 
symbol. (at the moment about 30 in my list)
  All other supermarkets will get the common symbol.
  And all of them will get additionally an unvisible POI (well, not totally 
unvisible but just 1 dot) for the POI-List
  Since this 1 dot POI is placed at resolution 21, I can click on it also in 
lower zoom levels.

  I’m doing the same with amenity=fuel (more than 20), shop=car and many others.
  My map has many dedicated symbols which makes it easier to find a POI at one 
short look even without using the search function.

  Walter


  From: greg crago 
  Sent: Friday, March 04, 2016 11:37 PM
  To: Development list for mkgmap 
  Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD 
SPEED's for one linetype.

  I am still confused. 
  Can you explain it one more time and use an example.

  Greg

  On Fri, Mar 4, 2016 at 11:13 AM, Bernd Weigelt  wrote:

Hi Greg

No, this line catches only cuisine=french *or* cuisine=sea food, not
'cuisine=french;sea food;...' This key/value pair will be ignored

---
cuisine~'.*;.*'
{
set cuisine='${cuisine|part:}';
}

This rule helps, to use the first part in the POIs, but all other will be
ignored, too. Have it in my filter file.

My example in my first answer is not really good, because the rule has to be
executed in a loop until the last value, but i think MKGMAP didn't do this

Bernd

Am Freitag, 4. März 2016, 10:01:52 CET schrieb greg crago:
> Bernd, Is this the same as (in the line file)
>
> amenity=restaurant & (cuisine=french | cuisine=sea food | cuisine=german |
> cuisine=. ) [0x01150 resolution 24]
>
> Greg



___
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





___
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] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-06 Thread greg crago
If I have a list of custom FUEL icons in my line file:

amenity=fuel & (name ~ '.*[Bb][Pp].*' | brand ~ '.*[Bb][Pp].*'){set
mkgmap:label:1=' '} [0x6018 resolution 24]
amenity=fuel & (name ~ '.*[Cc]itgo.*' | brand ~ '.*[Cc]itgo.*'){set
mkgmap:label:1=' '} [0x600b resolution 24]
amenity=fuel & (name ~ '.*[Ee]xxon.*' | brand ~ '.*[Ee]xxon.*'){set
mkgmap:label:1=' '} [0x600a resolution 24]
amenity=fuel & (name ~ '.*[Kk]roger.*' | brand ~ '.*[Kk]roger.*')  {set
mkgmap:label:1=' '} [0x6003 resolution 24]
amenity=fuel & (name ~ '.*[Mm]arathon.*' | brand ~ '.*[Mm]arathon.*')  {set
mkgmap:label:1=' '} [0x6009 resolution 24]
amenity=fuel & (name ~ '.*[Mm]obil.*' | brand ~ '.*[Mm]obil.*'){set
mkgmap:label:1=' '} [0x6001 resolution 24]
amenity=fuel & (name ~ '.*[Ss]hell.*' | brand ~ '.*[Ss]hell.*'){set
mkgmap:label:1=' '} [0x6000 resolution 24]
amenity=fuel & (name ~ '.*[Ss]peedway.*' | brand ~ '.*[Ss]peedway.*')  {set
mkgmap:label:1=' '} [0x6002 resolution 24]
amenity=fuel & (name ~ '.*[Ss]unoco.*' | brand ~ '.*[Ss]unoco.*')  {set
mkgmap:label:1=' '} [0x600d resolution 24]
amenity=fuel & (name ~ '.*[Vv]alero.*' | brand ~ '.*[Vv]alero.*')  {set
mkgmap:label:1=' '} [0x600c resolution 24]
amenity=fuel {name '$(name)'} [0x2f01 resolution 24]

You are telling me that these will NOT be found in a FUEL SEARCH (0x2f01)
on the GPS because I do not have 'continue_with_actions' at the end of each
action?

Do I have to add CONTINUE_WITH_ACTIONS or could I just use CONTINUE?

If this is correct, this is why you define 0x2f01 as INVISIBLE, but is
necessary in order to preform a POI SEARCH?

Greg



On Sun, Mar 6, 2016 at 5:03 AM, Walter Schlögl  wrote:

> Hi Greg,
>
> all supermarkets are found in the POI list if you give supermarket the POI
> Nr 2E02.
> shop=books is the POI Nr 2E03, shop=mall is POI Nr 2E04 and so on.
>
> So usually all supermarkets would have the same Icon also,
> but with the solution shown below you can give different supermarkets
> different icons.
>
> If you would just map all Aldi-supermarkets to 3501 without continue
> it would get the correct icon, but not found any longer in the search list.
>
> Do you use this feature on your Garmin device, to search for Point of
> interests?
>
> Walter
>
>
> *From:* greg crago 
> *Sent:* Saturday, March 05, 2016 10:53 PM
> *To:* Development list for mkgmap 
> *Subject:* Re: [mkgmap-dev] Question about using different ROAD CLASS's
> andROAD SPEED's for one linetype.
>
> I have re-read your posts and I think I am still confused about your
> statement
>
> "you can also club together POIs with different Icons to the same
> POI-List entry"
>
> Again, what is a 'POI-list entry' and how is this a benefit?
>
> I understand about specific store BRANDS and using unique POINTS and then
> use a GENERIC icon for the rest of the category.
>
> Greg
>
> On Sat, Mar 5, 2016 at 4:49 AM, Walter Schlögl <
> walter.schloegl-re...@aon.at> wrote:
>
>> Hi Greg,
>>
>> here an example for supermarkets
>>
>> shop=supermarket & (name~'Hofer.*'  | name~'HOFER.*'){ set
>> mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
>> shop=supermarket & (name~'Aldi.*'   | name~'ALDI.*'){ set
>> mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
>> shop=supermarket & (name~'Lidl.*'   | name~'LIDL.*'){ set
>> mkgmap_symbol=yes}[0x3502 resolution 23 continue with_actions]
>> ...
>> shop=supermarket & mkgmap_symbol!=yes
>> [0x3500 resolution 23 continue with_actions]
>> shop=supermarket[0x2E02
>> resolution 21] # POI
>>
>> There is one common symbol on 3500 and dedicated symbols on 3501 and
>> above.
>> (Hofer and Aldi is the same supermarket with the same Logo but with
>> different names in Austria and Germany)
>> If I find a dedicated name of the supermarket, I will show the
>> corresponding symbol. (at the moment about 30 in my list)
>> All other supermarkets will get the common symbol.
>> And all of them will get additionally an unvisible POI (well, not totally
>> unvisible but just 1 dot) for the POI-List
>> Since this 1 dot POI is placed at resolution 21, I can click on it also
>> in lower zoom levels.
>>

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-06 Thread Walter Schlögl
Hi Greg,

in my code it is working with CONTINUE as well as with CONTINUE_WITH_ACTIONS
but it is not working without CONTINUE.

I am using CONTINUE only if I need the function CONTINUE without actions, which 
is very seldom.

Is this code working in your script without any CONTINUE?
If yes, then I do not understand why.
What is {set mkgmap:label:1=' '} doing?

Walter

From: greg crago 
Sent: Sunday, March 06, 2016 4:12 PM
To: Development list for mkgmap 
Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD 
SPEED's for one linetype.

If I have a list of custom FUEL icons in my line file: 

amenity=fuel & (name ~ '.*[Bb][Pp].*' | brand ~ '.*[Bb][Pp].*'){set 
mkgmap:label:1=' '} [0x6018 resolution 24]
amenity=fuel & (name ~ '.*[Cc]itgo.*' | brand ~ '.*[Cc]itgo.*'){set 
mkgmap:label:1=' '} [0x600b resolution 24]
amenity=fuel & (name ~ '.*[Ee]xxon.*' | brand ~ '.*[Ee]xxon.*'){set 
mkgmap:label:1=' '} [0x600a resolution 24]
amenity=fuel & (name ~ '.*[Kk]roger.*' | brand ~ '.*[Kk]roger.*')  {set 
mkgmap:label:1=' '} [0x6003 resolution 24]
amenity=fuel & (name ~ '.*[Mm]arathon.*' | brand ~ '.*[Mm]arathon.*')  {set 
mkgmap:label:1=' '} [0x6009 resolution 24]
amenity=fuel & (name ~ '.*[Mm]obil.*' | brand ~ '.*[Mm]obil.*'){set 
mkgmap:label:1=' '} [0x6001 resolution 24]
amenity=fuel & (name ~ '.*[Ss]hell.*' | brand ~ '.*[Ss]hell.*'){set 
mkgmap:label:1=' '} [0x6000 resolution 24]
amenity=fuel & (name ~ '.*[Ss]peedway.*' | brand ~ '.*[Ss]peedway.*')  {set 
mkgmap:label:1=' '} [0x6002 resolution 24]
amenity=fuel & (name ~ '.*[Ss]unoco.*' | brand ~ '.*[Ss]unoco.*')  {set 
mkgmap:label:1=' '} [0x600d resolution 24]
amenity=fuel & (name ~ '.*[Vv]alero.*' | brand ~ '.*[Vv]alero.*')  {set 
mkgmap:label:1=' '} [0x600c resolution 24]
amenity=fuel {name '$(name)'} [0x2f01 resolution 24]

You are telling me that these will NOT be found in a FUEL SEARCH (0x2f01) on 
the GPS because I do not have 'continue_with_actions' at the end of each action?

Do I have to add CONTINUE_WITH_ACTIONS or could I just use CONTINUE?

If this is correct, this is why you define 0x2f01 as INVISIBLE, but is 
necessary in order to preform a POI SEARCH?

Greg



On Sun, Mar 6, 2016 at 5:03 AM, Walter Schlögl  
wrote:

  Hi Greg,

  all supermarkets are found in the POI list if you give supermarket the POI Nr 
2E02.
  shop=books is the POI Nr 2E03, shop=mall is POI Nr 2E04 and so on.

  So usually all supermarkets would have the same Icon also, 
  but with the solution shown below you can give different supermarkets 
different icons.

  If you would just map all Aldi-supermarkets to 3501 without continue 
  it would get the correct icon, but not found any longer in the search list.

  Do you use this feature on your Garmin device, to search for Point of 
interests?

  Walter


  From: greg crago 
  Sent: Saturday, March 05, 2016 10:53 PM
  To: Development list for mkgmap 
  Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD 
SPEED's for one linetype.

  I have re-read your posts and I think I am still confused about your 
statement 

  "you can also club together POIs with different Icons to the same POI-List 
entry"


  Again, what is a 'POI-list entry' and how is this a benefit?


  I understand about specific store BRANDS and using unique POINTS and then use 
a GENERIC icon for the rest of the category.


  Greg

  On Sat, Mar 5, 2016 at 4:49 AM, Walter Schlögl  
wrote:

Hi Greg,

here an example for supermarkets

shop=supermarket & (name~'Hofer.*'  | name~'HOFER.*'){ set 
mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
shop=supermarket & (name~'Aldi.*'   | name~'ALDI.*'){ set 
mkgmap_symbol=yes}[0x3501 resolution 23 continue with_actions]
shop=supermarket & (name~'Lidl.*'   | name~'LIDL.*'){ set 
mkgmap_symbol=yes}[0x3502 resolution 23 continue with_actions]
...
shop=supermarket & mkgmap_symbol!=yes
[0x3500 resolution 23 continue with_actions]
shop=supermarket[0x2E02 resolution 
21] # POI

There is one common symbol on 3500 and dedicated symbols on 3501 and above.
(Hofer and Aldi is the same supermarket with the same Logo but with 
different names in Austria and Germany)
If I find a dedicated name of the supermarket, I will show the 
corresponding symbol. (at the moment about 30 in my list)
Al

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-06 Thread greg crago
I have not tested POI search capability on my GPS and I suspect "NO" I do
not think it will work without CONTINUE.

I added  mkgmap:label:1=' ', because I did not want the NAME obscuring the
ICON symbol so I blanked out the name

Greg

On Sun, Mar 6, 2016 at 10:17 AM, Walter Schlögl <
walter.schloegl-re...@aon.at> wrote:

> Hi Greg,
>
> in my code it is working with CONTINUE as well as with
> CONTINUE_WITH_ACTIONS
> but it is not working without CONTINUE.
>
> I am using CONTINUE only if I need the function CONTINUE without actions,
> which is very seldom.
>
> Is this code working in your script without any CONTINUE?
> If yes, then I do not understand why.
> What is {set mkgmap:label:1=' '} doing?
>
> Walter
>
> *From:* greg crago 
> *Sent:* Sunday, March 06, 2016 4:12 PM
> *To:* Development list for mkgmap 
> *Subject:* Re: [mkgmap-dev] Question about using different ROAD CLASS's
> andROAD SPEED's for one linetype.
>
> If I have a list of custom FUEL icons in my line file:
>
> amenity=fuel & (name ~ '.*[Bb][Pp].*' | brand ~ '.*[Bb][Pp].*')
> {set mkgmap:label:1=' '} [0x6018 resolution 24]
> amenity=fuel & (name ~ '.*[Cc]itgo.*' | brand ~ '.*[Cc]itgo.*')
> {set mkgmap:label:1=' '} [0x600b resolution 24]
> amenity=fuel & (name ~ '.*[Ee]xxon.*' | brand ~ '.*[Ee]xxon.*')
> {set mkgmap:label:1=' '} [0x600a resolution 24]
> amenity=fuel & (name ~ '.*[Kk]roger.*' | brand ~ '.*[Kk]roger.*')
> {set mkgmap:label:1=' '} [0x6003 resolution 24]
> amenity=fuel & (name ~ '.*[Mm]arathon.*' | brand ~ '.*[Mm]arathon.*')
> {set mkgmap:label:1=' '} [0x6009 resolution 24]
> amenity=fuel & (name ~ '.*[Mm]obil.*' | brand ~ '.*[Mm]obil.*')
> {set mkgmap:label:1=' '} [0x6001 resolution 24]
> amenity=fuel & (name ~ '.*[Ss]hell.*' | brand ~ '.*[Ss]hell.*')
> {set mkgmap:label:1=' '} [0x6000 resolution 24]
> amenity=fuel & (name ~ '.*[Ss]peedway.*' | brand ~ '.*[Ss]peedway.*')
> {set mkgmap:label:1=' '} [0x6002 resolution 24]
> amenity=fuel & (name ~ '.*[Ss]unoco.*' | brand ~ '.*[Ss]unoco.*')
> {set mkgmap:label:1=' '} [0x600d resolution 24]
> amenity=fuel & (name ~ '.*[Vv]alero.*' | brand ~ '.*[Vv]alero.*')
> {set mkgmap:label:1=' '} [0x600c resolution 24]
> amenity=fuel {name '$(name)'} [0x2f01 resolution 24]
>
> You are telling me that these will NOT be found in a FUEL SEARCH (0x2f01)
> on the GPS because I do not have 'continue_with_actions' at the end of each
> action?
>
> Do I have to add CONTINUE_WITH_ACTIONS or could I just use CONTINUE?
>
> If this is correct, this is why you define 0x2f01 as INVISIBLE, but is
> necessary in order to preform a POI SEARCH?
>
> Greg
>
>
>
> On Sun, Mar 6, 2016 at 5:03 AM, Walter Schlögl <
> walter.schloegl-re...@aon.at> wrote:
>
>> Hi Greg,
>>
>> all supermarkets are found in the POI list if you give supermarket the
>> POI Nr 2E02.
>> shop=books is the POI Nr 2E03, shop=mall is POI Nr 2E04 and so on.
>>
>> So usually all supermarkets would have the same Icon also,
>> but with the solution shown below you can give different supermarkets
>> different icons.
>>
>> If you would just map all Aldi-supermarkets to 3501 without continue
>> it would get the correct icon, but not found any longer in the search
>> list.
>>
>> Do you use this feature on your Garmin device, to search for Point of
>> interests?
>>
>> Walter
>>
>>
>> *From:* greg crago 
>> *Sent:* Saturday, March 05, 2016 10:53 PM
>> *To:* Development list for mkgmap 
>> *Subject:* Re: [mkgmap-dev] Question about using different ROAD CLASS's
>> andROAD SPEED's for one linetype.
>>
>> I have re-read your posts and I think I am still confused about your
>> statement
>>
>> "you can also club together POIs with different Icons to the same
>> POI-List entry"
>>
>> Again, what is a 'POI-list entry' and how is this a benefit?
>>
>> I understand about specific store BRANDS and using unique POINTS and then
>> use a GENERIC icon for the rest of the category.
>>
>> Greg
>>
>> On Sat, Mar 5, 2016 at 4:49 AM, Walter Schlögl <
>> walter.schloegl-re...@aon.at> wrote:
>>
>>> Hi Greg,
>>>
>>> here an example for supermarkets
>>>
>>> shop=super

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-08 Thread greg crago
Walter, I am getting both my CUSTOM Fast Food Symbols and my GENERIC fast
Food symbols drawn on top of each other.

Here is my fast food section in my POINT file:

amenity=fast_food & name ~ '.*[Aa]rby.*'   {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x6017 resolution 24 continue]
amenity=fast_food & name ~ '.*[Bb]urger [Kk]ing.*' {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x6016 resolution 24 continue]
amenity=fast_food & name ~ '.*[Dd]onald.*' {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x6007 resolution 24 continue]
amenity=fast_food & name ~ '.*[Dd]omino.*' {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x6011 resolution 24 continue]
amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x6006 resolution 24 continue]
amenity=fast_food & name ~ '.*[Pp]izza [Hh]ut.*'   {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x6004 resolution 24 continue]
amenity=fast_food & name ~ '.*[Ss]ubway.*' {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x600F resolution 24 continue]
amenity=fast_food & name ~ '.*[Tt]aco [Bb]ell.*'   {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x6008 resolution 24 continue]
amenity=fast_food & name ~ '.*[Ww]endy.*'  {set mkgmap:label:1=' ';
set mkgmap_fast_food_symbol=yes} [0x6005 resolution 24 continue]
amenity=fast_food & mkgmap_fast_food_symbol!=yes { name '${name}'} [0x6012
resolution 24 continue]
amenity=fast_food [0x2a07 resolution 24]

0x6012 is my Generic Fast Food icon
0x2a07 is my INVISIBLE fast food icon for POI searchability

Can I add a variable "mkgmap_fast_food_symbol=yes" and test it later?

I am using similar variables for my other categories (fuel [set
mkgmap_fuel_symbol=yes] , restaurants [mkgmap_restaurant_symbol=yes])

Greg

On Sun, Mar 6, 2016 at 4:29 PM, greg crago  wrote:

> I have not tested POI search capability on my GPS and I suspect "NO" I do
> not think it will work without CONTINUE.
>
> I added  mkgmap:label:1=' ', because I did not want the NAME obscuring
> the ICON symbol so I blanked out the name
>
> Greg
>
> On Sun, Mar 6, 2016 at 10:17 AM, Walter Schlögl <
> walter.schloegl-re...@aon.at> wrote:
>
>> Hi Greg,
>>
>> in my code it is working with CONTINUE as well as with
>> CONTINUE_WITH_ACTIONS
>> but it is not working without CONTINUE.
>>
>> I am using CONTINUE only if I need the function CONTINUE without
>> actions, which is very seldom.
>>
>> Is this code working in your script without any CONTINUE?
>> If yes, then I do not understand why.
>> What is {set mkgmap:label:1=' '} doing?
>>
>> Walter
>>
>> *From:* greg crago 
>> *Sent:* Sunday, March 06, 2016 4:12 PM
>> *To:* Development list for mkgmap 
>> *Subject:* Re: [mkgmap-dev] Question about using different ROAD CLASS's
>> andROAD SPEED's for one linetype.
>>
>> If I have a list of custom FUEL icons in my line file:
>>
>> amenity=fuel & (name ~ '.*[Bb][Pp].*' | brand ~ '.*[Bb][Pp].*')
>> {set mkgmap:label:1=' '} [0x6018 resolution 24]
>> amenity=fuel & (name ~ '.*[Cc]itgo.*' | brand ~ '.*[Cc]itgo.*')
>> {set mkgmap:label:1=' '} [0x600b resolution 24]
>> amenity=fuel & (name ~ '.*[Ee]xxon.*' | brand ~ '.*[Ee]xxon.*')
>> {set mkgmap:label:1=' '} [0x600a resolution 24]
>> amenity=fuel & (name ~ '.*[Kk]roger.*' | brand ~ '.*[Kk]roger.*')
>> {set mkgmap:label:1=' '} [0x6003 resolution 24]
>> amenity=fuel & (name ~ '.*[Mm]arathon.*' | brand ~ '.*[Mm]arathon.*')
>> {set mkgmap:label:1=' '} [0x6009 resolution 24]
>> amenity=fuel & (name ~ '.*[Mm]obil.*' | brand ~ '.*[Mm]obil.*')
>> {set mkgmap:label:1=' '} [0x6001 resolution 24]
>> amenity=fuel & (name ~ '.*[Ss]hell.*' | brand ~ '.*[Ss]hell.*')
>> {set mkgmap:label:1=' '} [0x6000 resolution 24]
>> amenity=fuel & (name ~ '.*[Ss]peedway.*' | brand ~ '.*[Ss]peedway.*')
>> {set mkgmap:label:1=' '} [0x6002 resolution 24]
>> amenity=fuel & (name ~ '.*[Ss]unoco.*' | brand ~ '.*[Ss]unoco.*')
>> {set mkgmap:label:1=' '} [0x600d resolution 24]
>> amenity=fuel & (name ~ '.*[Vv]alero.*' | brand ~ '.*[

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-09 Thread Walter Schlögl
Hi Greg,

if you are getting both symbol
it means that this condition 
& mkgmap_fast_food_symbol!=yes 
is not evaluated, right?

I have no idea why. 
I am not having this issue with nearly the same code.

Walter

From: greg crago 
Sent: Wednesday, March 09, 2016 5:07 AM
To: Development list for mkgmap 
Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD 
SPEED's for one linetype.

Walter, I am getting both my CUSTOM Fast Food Symbols and my GENERIC fast Food 
symbols drawn on top of each other. 

Here is my fast food section in my POINT file:

amenity=fast_food & name ~ '.*[Aa]rby.*'   {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x6017 resolution 24 continue]
amenity=fast_food & name ~ '.*[Bb]urger [Kk]ing.*' {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x6016 resolution 24 continue]
amenity=fast_food & name ~ '.*[Dd]onald.*' {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x6007 resolution 24 continue]
amenity=fast_food & name ~ '.*[Dd]omino.*' {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x6011 resolution 24 continue]
amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x6006 resolution 24 continue]
amenity=fast_food & name ~ '.*[Pp]izza [Hh]ut.*'   {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x6004 resolution 24 continue]
amenity=fast_food & name ~ '.*[Ss]ubway.*' {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x600F resolution 24 continue]
amenity=fast_food & name ~ '.*[Tt]aco [Bb]ell.*'   {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x6008 resolution 24 continue]
amenity=fast_food & name ~ '.*[Ww]endy.*'  {set mkgmap:label:1=' '; set 
mkgmap_fast_food_symbol=yes} [0x6005 resolution 24 continue]
amenity=fast_food & mkgmap_fast_food_symbol!=yes { name '${name}'} [0x6012 
resolution 24 continue]
amenity=fast_food [0x2a07 resolution 24]

0x6012 is my Generic Fast Food icon
0x2a07 is my INVISIBLE fast food icon for POI searchability

Can I add a variable "mkgmap_fast_food_symbol=yes" and test it later?

I am using similar variables for my other categories (fuel [set 
mkgmap_fuel_symbol=yes] , restaurants [mkgmap_restaurant_symbol=yes])

Greg

On Sun, Mar 6, 2016 at 4:29 PM, greg crago  wrote:

  I have not tested POI search capability on my GPS and I suspect "NO" I do not 
think it will work without CONTINUE. 

  I added  mkgmap:label:1=' ', because I did not want the NAME obscuring the 
ICON symbol so I blanked out the name


  Greg

  On Sun, Mar 6, 2016 at 10:17 AM, Walter Schlögl 
 wrote:

Hi Greg,

in my code it is working with CONTINUE as well as with CONTINUE_WITH_ACTIONS
but it is not working without CONTINUE.

I am using CONTINUE only if I need the function CONTINUE without actions, 
which is very seldom.

Is this code working in your script without any CONTINUE?
If yes, then I do not understand why.
What is {set mkgmap:label:1=' '} doing?

Walter

From: greg crago 
Sent: Sunday, March 06, 2016 4:12 PM
To: Development list for mkgmap 
Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's 
andROAD SPEED's for one linetype.

If I have a list of custom FUEL icons in my line file: 

amenity=fuel & (name ~ '.*[Bb][Pp].*' | brand ~ '.*[Bb][Pp].*'){set 
mkgmap:label:1=' '} [0x6018 resolution 24]
amenity=fuel & (name ~ '.*[Cc]itgo.*' | brand ~ '.*[Cc]itgo.*'){set 
mkgmap:label:1=' '} [0x600b resolution 24]
amenity=fuel & (name ~ '.*[Ee]xxon.*' | brand ~ '.*[Ee]xxon.*'){set 
mkgmap:label:1=' '} [0x600a resolution 24]
amenity=fuel & (name ~ '.*[Kk]roger.*' | brand ~ '.*[Kk]roger.*')  {set 
mkgmap:label:1=' '} [0x6003 resolution 24]
amenity=fuel & (name ~ '.*[Mm]arathon.*' | brand ~ '.*[Mm]arathon.*')  {set 
mkgmap:label:1=' '} [0x6009 resolution 24]
amenity=fuel & (name ~ '.*[Mm]obil.*' | brand ~ '.*[Mm]obil.*'){set 
mkgmap:label:1=' '} [0x6001 resolution 24]
amenity=fuel & (name ~ '.*[Ss]hell.*' | brand ~ '.*[Ss]hell.*'){set 
mkgmap:label:1=' '} [0x6000 resolution 24]
amenity=fuel & (name ~ '.*[Ss]peedway.*' | brand ~ '.*[Ss]peedway.*')  {set 
mkgmap:label:1=' '} [0x6002 resolution 24]
amenity=fuel & (name ~ '.*[Ss]unoco.*' | brand ~ '.*[Ss]unoco.*')

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-09 Thread greg crago
Walter I tried again, and STILL get my CUSTOM ICONS and GENERIC ICONS drawn
on top of each other.
This time I am initializing the variable mkgmap_symbol=no


amenity=fast_food { set mkgmap_symbol=no }
amenity=fast_food & cuisine=grill [0x2a03 resolution 24]
amenity=fast_food & name ~ '.*[Aa]rby.*'   {set mkgmap_symbol=yes}
[0x6017 resolution 24 continue]
amenity=fast_food & name ~ '.*[Bb]urger [Kk]ing.*' {set mkgmap_symbol=yes}
[0x6016 resolution 24 continue]
amenity=fast_food & name ~ '.*[Dd]onald.*' {set mkgmap_symbol=yes}
[0x6007 resolution 24 continue]
amenity=fast_food & name ~ '.*[Dd]omino.*' {set mkgmap_symbol=yes}
[0x6011 resolution 24 continue]
amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap_symbol=ye;}
[0x6006 resolution 24 continue]
amenity=fast_food & name ~ '.*[Pp]izza [Hh]ut.*'   {set mkgmap_symbol=yes}
[0x6004 resolution 24 continue]
amenity=fast_food & name ~ '.*[Ss]ubway.*' {set mkgmap_symbol=yes}
[0x600F resolution 24 continue]
amenity=fast_food & name ~ '.*[Tt]aco [Bb]ell.*'   {set mkgmap_symbol=yes}
[0x6008 resolution 24 continue]
amenity=fast_food & name ~ '.*[Ww]endy.*'  {set mkgmap_symbol=yes}
[0x6005 resolution 24 continue]
amenity=fast_food & mkgmap_symbol!=yes { name '${name}'} [0x6012 resolution
24 continue]
amenity=fast_food [0x2a07 resolution 24]

Do I have a syntax error?

Greg

On Tue, Mar 8, 2016 at 11:07 PM, greg crago  wrote:

> Walter, I am getting both my CUSTOM Fast Food Symbols and my GENERIC fast
> Food symbols drawn on top of each other.
>
> Here is my fast food section in my POINT file:
>
> amenity=fast_food & name ~ '.*[Aa]rby.*'   {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x6017 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Bb]urger [Kk]ing.*' {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x6016 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Dd]onald.*' {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x6007 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Dd]omino.*' {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x6011 resolution 24 continue]
> amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x6006 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Pp]izza [Hh]ut.*'   {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x6004 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Ss]ubway.*' {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x600F resolution 24 continue]
> amenity=fast_food & name ~ '.*[Tt]aco [Bb]ell.*'   {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x6008 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Ww]endy.*'  {set mkgmap:label:1='
> '; set mkgmap_fast_food_symbol=yes} [0x6005 resolution 24 continue]
> amenity=fast_food & mkgmap_fast_food_symbol!=yes { name '${name}'} [0x6012
> resolution 24 continue]
> amenity=fast_food [0x2a07 resolution 24]
>
> 0x6012 is my Generic Fast Food icon
> 0x2a07 is my INVISIBLE fast food icon for POI searchability
>
> Can I add a variable "mkgmap_fast_food_symbol=yes" and test it later?
>
> I am using similar variables for my other categories (fuel [set
> mkgmap_fuel_symbol=yes] , restaurants [mkgmap_restaurant_symbol=yes])
>
> Greg
>
> On Sun, Mar 6, 2016 at 4:29 PM, greg crago  wrote:
>
>> I have not tested POI search capability on my GPS and I suspect "NO" I do
>> not think it will work without CONTINUE.
>>
>> I added  mkgmap:label:1=' ', because I did not want the NAME obscuring
>> the ICON symbol so I blanked out the name
>>
>> Greg
>>
>> On Sun, Mar 6, 2016 at 10:17 AM, Walter Schlögl <
>> walter.schloegl-re...@aon.at> wrote:
>>
>>> Hi Greg,
>>>
>>> in my code it is working with CONTINUE as well as with
>>> CONTINUE_WITH_ACTIONS
>>> but it is not working without CONTINUE.
>>>
>>> I am using CONTINUE only if I need the function CONTINUE without
>>> actions, which is very seldom.
>>>
>>> Is this code working in your script without any CONTINUE?
>>> If yes, then I do not understand why.
>>> What is {set mkgmap:label:1=' '} doing?
>>>
>>> Walter
>>>
>>> *From:* greg cra

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-10 Thread Walter Schlögl
Greg,
I can still not find any error in your code, no idea, why it’s not working.
Walter

From: greg crago 
Sent: Wednesday, March 09, 2016 7:28 PM
To: Development list for mkgmap 
Subject: Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD 
SPEED's for one linetype.

Walter I tried again, and STILL get my CUSTOM ICONS and GENERIC ICONS drawn on 
top of each other. 
This time I am initializing the variable mkgmap_symbol=no 


amenity=fast_food { set mkgmap_symbol=no }
amenity=fast_food & cuisine=grill [0x2a03 resolution 24]
amenity=fast_food & name ~ '.*[Aa]rby.*'   {set mkgmap_symbol=yes} 
[0x6017 resolution 24 continue]
amenity=fast_food & name ~ '.*[Bb]urger [Kk]ing.*' {set mkgmap_symbol=yes} 
[0x6016 resolution 24 continue]
amenity=fast_food & name ~ '.*[Dd]onald.*' {set mkgmap_symbol=yes} 
[0x6007 resolution 24 continue]
amenity=fast_food & name ~ '.*[Dd]omino.*' {set mkgmap_symbol=yes} 
[0x6011 resolution 24 continue]

amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap_symbol=ye;} 
[0x6006 resolution 24 continue]
amenity=fast_food & name ~ '.*[Pp]izza [Hh]ut.*'   {set mkgmap_symbol=yes} 
[0x6004 resolution 24 continue]
amenity=fast_food & name ~ '.*[Ss]ubway.*' {set mkgmap_symbol=yes} 
[0x600F resolution 24 continue]
amenity=fast_food & name ~ '.*[Tt]aco [Bb]ell.*'   {set mkgmap_symbol=yes} 
[0x6008 resolution 24 continue]
amenity=fast_food & name ~ '.*[Ww]endy.*'  {set mkgmap_symbol=yes} 
[0x6005 resolution 24 continue]
amenity=fast_food & mkgmap_symbol!=yes { name '${name}'} [0x6012 resolution 24 
continue]
amenity=fast_food [0x2a07 resolution 24]

Do I have a syntax error?

Greg

On Tue, Mar 8, 2016 at 11:07 PM, greg crago  wrote:

  Walter, I am getting both my CUSTOM Fast Food Symbols and my GENERIC fast 
Food symbols drawn on top of each other. 

  Here is my fast food section in my POINT file:

  amenity=fast_food & name ~ '.*[Aa]rby.*'   {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x6017 resolution 24 continue]
  amenity=fast_food & name ~ '.*[Bb]urger [Kk]ing.*' {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x6016 resolution 24 continue]
  amenity=fast_food & name ~ '.*[Dd]onald.*' {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x6007 resolution 24 continue]
  amenity=fast_food & name ~ '.*[Dd]omino.*' {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x6011 resolution 24 continue]
  amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x6006 resolution 24 continue]
  amenity=fast_food & name ~ '.*[Pp]izza [Hh]ut.*'   {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x6004 resolution 24 continue]
  amenity=fast_food & name ~ '.*[Ss]ubway.*' {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x600F resolution 24 continue]
  amenity=fast_food & name ~ '.*[Tt]aco [Bb]ell.*'   {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x6008 resolution 24 continue]
  amenity=fast_food & name ~ '.*[Ww]endy.*'  {set mkgmap:label:1=' '; 
set mkgmap_fast_food_symbol=yes} [0x6005 resolution 24 continue]
  amenity=fast_food & mkgmap_fast_food_symbol!=yes { name '${name}'} [0x6012 
resolution 24 continue]
  amenity=fast_food [0x2a07 resolution 24]

  0x6012 is my Generic Fast Food icon
  0x2a07 is my INVISIBLE fast food icon for POI searchability

  Can I add a variable "mkgmap_fast_food_symbol=yes" and test it later?

  I am using similar variables for my other categories (fuel [set 
mkgmap_fuel_symbol=yes] , restaurants [mkgmap_restaurant_symbol=yes])

  Greg

  On Sun, Mar 6, 2016 at 4:29 PM, greg crago  wrote:

I have not tested POI search capability on my GPS and I suspect "NO" I do 
not think it will work without CONTINUE. 

I added  mkgmap:label:1=' ', because I did not want the NAME obscuring the 
ICON symbol so I blanked out the name


Greg

On Sun, Mar 6, 2016 at 10:17 AM, Walter Schlögl 
 wrote:

  Hi Greg,

  in my code it is working with CONTINUE as well as with 
CONTINUE_WITH_ACTIONS
  but it is not working without CONTINUE.

  I am using CONTINUE only if I need the function CONTINUE without actions, 
which is very seldom.

  Is this code working in your script without any CONTINUE?
  If yes, then I do not understand why.
  What is {set mkgmap:label:1=' '} doing?

  Walter

  From: greg crago 
  Sent: Sunday, March 06, 2016 4:12 PM
  To: Development list for mkgmap 
 

Re: [mkgmap-dev] Question about using different ROAD CLASS's andROAD SPEED's for one linetype.

2016-03-10 Thread Dave Swarthout
Presumably you copied and pasted text from your style file. If that;s so, what
about this line:

amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap_symbol=ye;}
[0x6006 resolution 24 continue]

Note the "=ye;"



On Fri, Mar 11, 2016 at 1:08 AM, Walter Schlögl <
walter.schloegl-re...@aon.at> wrote:

> Greg,
> I can still not find any error in your code, no idea, why it’s not working.
> Walter
>
> *From:* greg crago 
> *Sent:* Wednesday, March 09, 2016 7:28 PM
> *To:* Development list for mkgmap 
> *Subject:* Re: [mkgmap-dev] Question about using different ROAD CLASS's
> andROAD SPEED's for one linetype.
>
> Walter I tried again, and STILL get my CUSTOM ICONS and GENERIC ICONS
> drawn on top of each other.
> This time I am initializing the variable mkgmap_symbol=no
>
>
> amenity=fast_food { set mkgmap_symbol=no }
> amenity=fast_food & cuisine=grill [0x2a03 resolution 24]
> amenity=fast_food & name ~ '.*[Aa]rby.*'   {set mkgmap_symbol=yes}
> [0x6017 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Bb]urger [Kk]ing.*' {set mkgmap_symbol=yes}
> [0x6016 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Dd]onald.*' {set mkgmap_symbol=yes}
> [0x6007 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Dd]omino.*' {set mkgmap_symbol=yes}
> [0x6011 resolution 24 continue]
> amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap_symbol=ye;}
> [0x6006 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Pp]izza [Hh]ut.*'   {set mkgmap_symbol=yes}
> [0x6004 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Ss]ubway.*' {set mkgmap_symbol=yes}
> [0x600F resolution 24 continue]
> amenity=fast_food & name ~ '.*[Tt]aco [Bb]ell.*'   {set mkgmap_symbol=yes}
> [0x6008 resolution 24 continue]
> amenity=fast_food & name ~ '.*[Ww]endy.*'  {set mkgmap_symbol=yes}
> [0x6005 resolution 24 continue]
> amenity=fast_food & mkgmap_symbol!=yes { name '${name}'} [0x6012
> resolution 24 continue]
> amenity=fast_food [0x2a07 resolution 24]
>
> Do I have a syntax error?
>
> Greg
>
> On Tue, Mar 8, 2016 at 11:07 PM, greg crago  wrote:
>
>> Walter, I am getting both my CUSTOM Fast Food Symbols and my GENERIC fast
>> Food symbols drawn on top of each other.
>>
>> Here is my fast food section in my POINT file:
>>
>> amenity=fast_food & name ~ '.*[Aa]rby.*'   {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x6017 resolution 24 continue]
>> amenity=fast_food & name ~ '.*[Bb]urger [Kk]ing.*' {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x6016 resolution 24 continue]
>> amenity=fast_food & name ~ '.*[Dd]onald.*' {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x6007 resolution 24 continue]
>> amenity=fast_food & name ~ '.*[Dd]omino.*' {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x6011 resolution 24 continue]
>> amenity=fast_food & name ~ '.*KFC.*'   {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x6006 resolution 24 continue]
>> amenity=fast_food & name ~ '.*[Pp]izza [Hh]ut.*'   {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x6004 resolution 24 continue]
>> amenity=fast_food & name ~ '.*[Ss]ubway.*' {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x600F resolution 24 continue]
>> amenity=fast_food & name ~ '.*[Tt]aco [Bb]ell.*'   {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x6008 resolution 24 continue]
>> amenity=fast_food & name ~ '.*[Ww]endy.*'  {set mkgmap:label:1='
>> '; set mkgmap_fast_food_symbol=yes} [0x6005 resolution 24 continue]
>> amenity=fast_food & mkgmap_fast_food_symbol!=yes { name '${name}'}
>> [0x6012 resolution 24 continue]
>> amenity=fast_food [0x2a07 resolution 24]
>>
>> 0x6012 is my Generic Fast Food icon
>> 0x2a07 is my INVISIBLE fast food icon for POI searchability
>>
>> Can I add a variable "mkgmap_fast_food_symbol=yes" and test it later?
>>
>> I am using similar variables for my other categories (fuel [set
>> mkgmap_fuel_symbol=yes] , restaurants [mkgmap_restaurant_symbol=yes])
>>
>> Greg
>>
>> On Sun, Mar 6, 2016 at 4:29 PM, greg crago  wrote:
>>
>>> I have not tested POI