logo separator

[mkgmap-dev] type() function

From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Sep 19 16:36:37 BST 2017

Hi Enrico,

What do you mean with "it doesn't work" ? The function will always return "node" when
a rule in the points file matches. I guess you want to have a method that allows you to separate
real OSM nodes from nodes created by the --add-pois-to-areas option?
You can check if the node has mkgmap:area2poi=true for this.

Gerd
________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von demon.box <e.rossini73 at alice.it>
Gesendet: Dienstag, 19. September 2017 17:09
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: [mkgmap-dev] type() function

Hi, escuse me, I found this in the style-manual.pdf:

type() x x x Retrieves the type of the OSM element: node, way,
relation.

but I don't understand how I can put this on my style....

For example, I would to know if an OSM element is a node with this function.

I put this in my points file but it doesn't work...

tourism=picnic_site & type()=node [0x7018 resolution 12]

Any suggestions?
Thanks.

--enrico




--
Sent from: http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list