Hi Gerd

I've been able to change footpaths on (some?)  amenity graveyards to paths by just setting the lu:cemetery to yes

I first tried :

amenity=grave_yard {set landuse=cemetry;echotags"change2landuse"}

  mkgmap:lu:cemetery=*  & highway=footway  {set highway=path}


however this did not work , ie footpaths on cemeteries didn't change to paths  and the echotags didn't show any :lu:cemetery

then I tried

 amenity=grave_yard {set mkgmap:lu:cemetery=yes}

  mkgmap:lu:cemetery=*  & highway=footway  {set highway=path}

 This seems to work for some (?)  graveyards (Haven't checked this on 2 graveyards only)

My question is ,does mkgmap check if highways cross a polygon   as soon as it parses mkgmap:lu:cemetery=*  & highway=footway

or are the checks done before 'Lines' are parsed?

If the user can set the value then what ,if any ,are the effects - ie

natural=wood { set mkgmap:lu:cemetery=yes}

 If this works then Arndt seems to have a point?

r

Nick


Does mkgmap check if graveyard

On 15/12/2019 12:28, Arndt Röhrig wrote:
is-in-landuse, nice function!

with this new option i set acces=no for bicycles when the way is within a cemetary. (& no tag say, that bicycle is ok)

There are still a few polys where that could be used. amenity=grave_yard, amenity=hospital, leisure=pitch ....

maybe its better to name the option is-in-polygone:polygone=value

Arndt



svn commit < svn@mkgmap.org.uk> hat am 15. Dezember 2019 um 10:05 geschrieben:


Version mkgmap-r4397 was committed by gerd on Sun, 15 Dec 2019

implement and document new option --is-in-landuse=value[,value...]
- svn rename ResidentialHook.java to LanduseHook.java
- remove support for undocumented option --residential-hook=false
- warn if style uses mkgmap:residential which was replaced by mkgmap:lu:residential


http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4397
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
On 15/12/2019 09:05, svn commit wrote:
Version mkgmap-r4397 was committed by gerd on Sun, 15 Dec 2019

implement and document new option --is-in-landuse=value[,value...]
- svn rename ResidentialHook.java to LanduseHook.java
- remove support for undocumented option --residential-hook=false
- warn if style uses mkgmap:residential which was replaced by mkgmap:lu:residential


http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4397
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev