logo separator

[mkgmap-dev] Add a POI to the start of a relation (route:mtb)

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Nov 21 10:32:51 GMT 2018

Hi Andreas,

I still don't see where to handle this in mkgmap. A way can be the member of
several route relations.
It might be the start of one and the end of two others, or vice versa. When
the route describes a closed ring it would be start and end. 
I don't want to handle those cases in the java code, this should be done in
the style.
So, maybe a style function mem_pos() could help? I could be used in a rule
like this
type=route & route=mtb
{ apply mem_pos() = 1
  {
    set ...
  }
} 

Or  maybe the style function should return "first", "somewhere", "last" ?

Gerd



--
Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html


More information about the mkgmap-dev mailing list