[mkgmap-dev] Fwd: [mkgmap-svn] Commit: r3498: modfiy evaluation of maxspeed=* tag

2015-03-18 Thread Alexandre Loss
Hi Gerd,

I have rules like these ones below in my lines style file:
highway=*  vel=* { set mkgmap:road-speed='${vel}' ; delete vel}
highway=*  rc=*  { set mkgmap:road-class='${rc}'  ; delete rc}

Do I have to change anything in the style to run release 3498? Are
mkgmap:road-speed and mkgmap:road-class still recognized and operational?

Thanks.

Alexandre

-- Forwarded message --
From: svn commit s...@mkgmap.org.uk
Date: 2015-03-18 5:13 GMT-03:00
Subject: [mkgmap-svn] Commit: r3498: modfiy evaluation of maxspeed=* tag
To: mkgmap-...@lists.mkgmap.org.uk



Version mkgmap-r3498 was committed by gerd on Wed, 18 Mar 2015

modfiy evaluation of maxspeed=* tag

- set mkgmap:road-speed-max instead of mkgmap:road-speed-class
- evaluate also some tags like maxspeed=RU:urban based on rules
documented in the wiki
- use slightly different threshold values

thanks to Andrzej Popowski and Bernd Weigelt
___
mkgmap-svn mailing list
To unsubscribe send an mail to mkgmap-svn-le...@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-svn
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Building POI are not searchable resource

2015-03-18 Thread nwillink
Hi Alexandre,

I know what you mean.

It may be that there is something not quite right.

r

Nick



--
View this message in context: 
http://gis.19327.n5.nabble.com/Building-POI-are-not-searchable-resource-tp5837552p5837678.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Fwd: [mkgmap-svn] Commit: r3498: modfiy evaluation of maxspeed=* tag

2015-03-18 Thread GerdP
Hi Alexandre,

Are mkgmap:road-speed and mkgmap:road-class still recognized and
operational?


yes, the change was in the default style file inc/roadspeed only. 

Gerd


Alexandre Loss wrote
 Hi Gerd,
 
 I have rules like these ones below in my lines style file:
 highway=*  vel=* { set mkgmap:road-speed='${vel}' ; delete vel}
 highway=*  rc=*  { set mkgmap:road-class='${rc}'  ; delete rc}
 
 Do I have to change anything in the style to run release 3498? Are
 mkgmap:road-speed and mkgmap:road-class still recognized and operational?
 
 Thanks.
 
 Alexandre
 
 -- Forwarded message --
 From: svn commit lt;

 svn@.org

 gt;
 Date: 2015-03-18 5:13 GMT-03:00
 Subject: [mkgmap-svn] Commit: r3498: modfiy evaluation of maxspeed=* tag
 To: 

 mkgmap-svn@.org

 
 
 
 Version mkgmap-r3498 was committed by gerd on Wed, 18 Mar 2015
 
 modfiy evaluation of maxspeed=* tag
 
 - set mkgmap:road-speed-max instead of mkgmap:road-speed-class
 - evaluate also some tags like maxspeed=RU:urban based on rules
 documented in the wiki
 - use slightly different threshold values
 
 thanks to Andrzej Popowski and Bernd Weigelt
 ___
 mkgmap-svn mailing list
 To unsubscribe send an mail to 

 mkgmap-svn-leave@.org

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

 mkgmap-dev@.org

 http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





--
View this message in context: 
http://gis.19327.n5.nabble.com/Commit-r3498-modfiy-evaluation-of-maxspeed-tag-tp5837621p5837694.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] address search and road names with refs

2015-03-18 Thread GerdP
Hi all,

if I got it right, the default style creates roads with names like
(B101) Leipziger Strasse for this way 
http://www.openstreetmap.org/way/144257391

with name=Leipziger Straße and ref=B101

With the new --x-split-name-index option I will
find this road when I search for Leipziger,
but when I know an address like
Leipziger Str. xxx, Freiberg
I have to select the right version of the street
if the list shows also other entries
like Leipziger Strasse (without the ref),
means, I have to try the different versions
until one shows a plausible result for the 
given number xxx.

I wonder if this could be improved somehow?
How do Garmin maps handle this?

Gerd




--
View this message in context: 
http://gis.19327.n5.nabble.com/address-search-and-road-names-with-refs-tp5837698.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Fwd: [mkgmap-svn] Commit: r3498: modfiy evaluation of maxspeed=* tag

2015-03-18 Thread Alexandre Loss
Ok. Thanks Gerd!

2015-03-18 11:40 GMT-03:00 GerdP gpetermann_muenc...@hotmail.com:

 Hi Alexandre,

 Are mkgmap:road-speed and mkgmap:road-class still recognized and
 operational?


 yes, the change was in the default style file inc/roadspeed only.

 Gerd


 Alexandre Loss wrote
  Hi Gerd,
 
  I have rules like these ones below in my lines style file:
  highway=*  vel=* { set mkgmap:road-speed='${vel}' ; delete vel}
  highway=*  rc=*  { set mkgmap:road-class='${rc}'  ; delete rc}
 
  Do I have to change anything in the style to run release 3498? Are
  mkgmap:road-speed and mkgmap:road-class still recognized and operational?
 
  Thanks.
 
  Alexandre
 
  -- Forwarded message --
  From: svn commit 

  svn@.org

  
  Date: 2015-03-18 5:13 GMT-03:00
  Subject: [mkgmap-svn] Commit: r3498: modfiy evaluation of maxspeed=* tag
  To:

  mkgmap-svn@.org

 
 
 
  Version mkgmap-r3498 was committed by gerd on Wed, 18 Mar 2015
 
  modfiy evaluation of maxspeed=* tag
 
  - set mkgmap:road-speed-max instead of mkgmap:road-speed-class
  - evaluate also some tags like maxspeed=RU:urban based on rules
  documented in the wiki
  - use slightly different threshold values
 
  thanks to Andrzej Popowski and Bernd Weigelt
  ___
  mkgmap-svn mailing list
  To unsubscribe send an mail to

  mkgmap-svn-leave@.org

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

  mkgmap-dev@.org

  http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev





 --
 View this message in context:
 http://gis.19327.n5.nabble.com/Commit-r3498-modfiy-evaluation-of-maxspeed-tag-tp5837621p5837694.html
 Sent from the Mkgmap Development mailing list archive at Nabble.com.
 ___
 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] Testing for a literal question mark

2015-03-18 Thread Dave Swarthout
How would I write a regex style rule that fires when it encounters a
question mark in a name?

There is a group of local mappers that have used an invented name of Ban
? for towns they do not know the name of. I want to set the name to
something more meaningful but I can't seem to discover a way to escape the
? without crashing mkgmap.

-- 
Dave Swarthout
Homer, Alaska
Chiang Mai, Thailand
Travel Blog at http://dswarthout.blogspot.com
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Testing for a literal question mark

2015-03-18 Thread Mike Baggaley
Hi Dave, I have a rule based on the following that includes a test for a 
question mark, and it seems to work fine:
 
alt_name~'.*[!$%\^*_+=\[\]{}:;@~#,?/|\\].*' {echotags Road with invalid 
character in alt_name; delete alt_name}
 
So I expect you should be able to put ~’.*[?].*’ as the test if the question 
mark is not accepted outside the square brackets.
 
Regards,
Mike
 
From: Dave Swarthout [mailto:daveswarth...@gmail.com] 
Sent: 18 March 2015 14:28
To: Development list for mkgmap
Subject: [mkgmap-dev] Testing for a literal question mark
 
How would I write a regex style rule that fires when it encounters a question 
mark in a name?
 
There is a group of local mappers that have used an invented name of Ban ? 
for towns they do not know the name of. I want to set the name to something 
more meaningful but I can't seem to discover a way to escape the ? without 
crashing mkgmap.

 
-- 
Dave Swarthout
Homer, Alaska
Chiang Mai, Thailand
Travel Blog at http://dswarthout.blogspot.com
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Testing for a literal question mark

2015-03-18 Thread Dave Swarthout
That did the trick. Here's my simplified version:

(place=village | place=hamlet)  name~'.*[?].*' {delete name}

I'm pretty sure I tried putting the question mark inside brackets but it
didn't work. Maybe the enclosing quotes make a difference? At any rate,
it's working now.

Thank you and best regards,

Dave

On Thu, Mar 19, 2015 at 4:16 AM, Walter Schlögl 
walter.schloegl-re...@aon.at wrote:

   I am checking, if names only include ? and delete it with this rule

 name~'^(?=\s*\?)[?\s]+$'{ delete name }

 Maybe it’s helpfull even if you are looking for a different solution.

 Walter

  *From:* Mike Baggaley m...@tvage.co.uk
 *Sent:* Wednesday, March 18, 2015 4:53 PM
 *To:* daveswarth...@gmail.com ; 'Development list for mkgmap'
 mkgmap-dev@lists.mkgmap.org.uk
 *Subject:* Re: [mkgmap-dev] Testing for a literal question mark


 Hi Dave, I have a rule based on the following that includes a test for a
 question mark, and it seems to work fine:



 alt_name~'.*[!$%\^*_+=\[\]{}:;@~#,?/|\\].*' {echotags Road with
 invalid character in alt_name; delete alt_name}



 So I expect you should be able to put ~’.*[?].*’ as the test if the
 question mark is not accepted outside the square brackets.



 Regards,

 Mike



 *From:* Dave Swarthout [mailto:daveswarth...@gmail.com]
 *Sent:* 18 March 2015 14:28
 *To:* Development list for mkgmap
 *Subject:* [mkgmap-dev] Testing for a literal question mark



 How would I write a regex style rule that fires when it encounters a
 question mark in a name?



 There is a group of local mappers that have used an invented name of Ban
 ? for towns they do not know the name of. I want to set the name to
 something more meaningful but I can't seem to discover a way to escape the
 ? without crashing mkgmap.



 --

 Dave Swarthout
 Homer, Alaska
 Chiang Mai, Thailand
 Travel Blog at http://dswarthout.blogspot.com

 --
 ___
 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




-- 
Dave Swarthout
Homer, Alaska
Chiang Mai, Thailand
Travel Blog at http://dswarthout.blogspot.com
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Testing for a literal question mark

2015-03-18 Thread Walter Schlögl
I am checking, if names only include ? and delete it with this rule

name~'^(?=\s*\?)[?\s]+$'{ delete name }

Maybe it’s helpfull even if you are looking for a different solution.

Walter

From: Mike Baggaley 
Sent: Wednesday, March 18, 2015 4:53 PM
To: daveswarth...@gmail.com ; 'Development list for mkgmap' 
Subject: Re: [mkgmap-dev] Testing for a literal question mark

Hi Dave, I have a rule based on the following that includes a test for a 
question mark, and it seems to work fine:

 

alt_name~'.*[!$%\^*_+=\[\]{}:;@~#,?/|\\].*' {echotags Road with invalid 
character in alt_name; delete alt_name}

 

So I expect you should be able to put ~’.*[?].*’ as the test if the question 
mark is not accepted outside the square brackets.

 

Regards,

Mike

 

From: Dave Swarthout [mailto:daveswarth...@gmail.com] 
Sent: 18 March 2015 14:28
To: Development list for mkgmap
Subject: [mkgmap-dev] Testing for a literal question mark

 

How would I write a regex style rule that fires when it encounters a question 
mark in a name?

 

There is a group of local mappers that have used an invented name of Ban ? 
for towns they do not know the name of. I want to set the name to something 
more meaningful but I can't seem to discover a way to escape the ? without 
crashing mkgmap.


 

-- 

Dave Swarthout
Homer, Alaska
Chiang Mai, Thailand
Travel Blog at http://dswarthout.blogspot.com




___
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] Building POI are not searchable resource

2015-03-18 Thread nwillink
Hi Alexandre,

No ,they are searchable but the results depend on your location and whether
they are within reach.
I have found that many with subtypes 12 are not searchable.
I have created fictitious maps blasting them with POIs to check on their
searchability and compared the results with many topo typ files

r

Nick



--
View this message in context: 
http://gis.19327.n5.nabble.com/Building-POI-are-not-searchable-resource-tp5837552p5837612.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev