Hi Minko,

I see none. The POIGeneratorHook only looks at each separate way, it doesn't 
try to find out if a node is shared by other ways.
You'll also get two different POI for the start node of a closed way. One 
reason why I think that only the mid node is usable.

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von lig 
fietser <[email protected]>
Gesendet: Dienstag, 9. April 2019 15:22
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] mkgmap:line2poitype

Thanks  Gerd,
So if I understand it right, those two pois that are created by the algo don't 
share
any specific tags to mark them?


________________________________
Van: mkgmap-dev <[email protected]> namens Gerd Petermann 
<[email protected]>
Verzonden: dinsdag 9 april 2019 06:01
Aan: Development list for mkgmap
Onderwerp: Re: [mkgmap-dev] mkgmap:line2poitype

Hi Minko,

I think there is a misunderstanding. The algo creates new POI nodes for the way 
nodes.
So, you'll see two different POI nodes for the node that connects two ways. The 
original OSM node itself is only processed
when it is tagged.

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von lig 
fietser <[email protected]>
Gesendet: Dienstag, 9. April 2019 14:03
An: mkgmap-dev
Betreff: [mkgmap-dev] mkgmap:line2poitype

Hi,
I'm trying to exclude pois of ways that are connected to each other like this:
s1--way1--e1 s2--way2--e2

With s1=start node of way1 and e1 = end node
s2 is the same node as e1.

In the points file I like to render only points s1 and e2 but not e1 / s2

I have tried these two rules but they will render respectively s2 and e1 too:
mkgmap:line2poitype=start & mkgmap:line2poitype!=end & (bridge=* | tunnel=*)   
[0x2819 resolution 24]
mkgmap:line2poitype=end & mkgmap:line2poitype!=start & (bridge=* | tunnel=*)  
[0x2819 resolution 24]

My goal is to render a poi only at the beginning and end of a bridge/tunnel, 
that consists of many way segments. How can I exclude those in between start 
and end points?

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to