Hi Gerd,
 
a closed loop is an interesting example.
I don’t know, what mkgmap:line2poitype=mid would do here.
 
At the moment I would expect to get additional POIs with all 4 tags
aerialway, leisure, name, sport
 
If I do not need leisure and sport, I would delete them,
so the POIs would only keep aerialway + name.
 
With --add-pois-to-lines=aerialway,name
I would expect the same result like after the deletion.
 
Walter
 
 
Sent: Saturday, April 25, 2015 8:21 PM
Subject: Re: [mkgmap-dev] Options
 
Hi Walter,

what exactly would you want to get with
--add-pois-to-lines=aerialway
for e.g. the way 39474075?
Note that this way also has the tag leisure=*.

Gerd


From: Walter.Schloegl-Resch@aon.at
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Sat, 25 Apr 2015 19:28:57 +0200
Subject: Re: [mkgmap-dev] Options

Hi Gerd,
 
at the moment if you add the option add-pois-to-lines
the code will add all pois to all lines.
In many cases this does not matter,
because line tags are not used very often in points file,
but if they are used, you have to delete these added POIs
if you do not want them to be shown.
 
I have given some examples of what I am deleting,
but this would depend on your points file.
 
If it would be possible to say
--add-pois-to-lines=aerialway
and only aerialway pois are generated,
this would be super plus perfect,
but I’m also happy with the existing solution.
 
The only disadvantage of the existing solution is,
that you should not forget the delete the not used pois,
otherwise some lines would look really ugly.
 
Walter
 
Sent: Saturday, April 25, 2015 7:04 AM
Subject: Re: [mkgmap-dev] Options
 
Hi Walter,



I am using add-pois-to-lines to place overlay symbols on aerialways.
 
Since the option has no parameters, for which tag is shall be applied,
I am simply deleting all not needed POIs with some additional lines.
 
leisure=*     & mkgmap:line2poi=true {delete leisure}
natural=cliff    & mkgmap:line2poi=true {delete natural}
piste:type=*    & mkgmap:line2poi=true {delete piste:type}
waterway=*    & mkgmap:line2poi=true {delete waterway}
 
mkgmap:line2poitype=mid   &  aerialway=cable_car                        [0x1B0A resolution 22]

I see no good way to implement a filter on the tags.
If I got you right, you would like to specify something like
--add-pois-to-lines=tag1,tag2,tag3,...,tagn

and mkgmap should then create POI for all lines having
at least one of the tags, and those POI would not have any other than the listed
tags (besides the mkgmap:line2poi tag and those from the boundaries) ?


Gerd



_______________________________________________
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