logo separator

[mkgmap-dev] is_in() function for point on line

From Joris Bo jorisbo at hotmail.com on Sat May 30 16:40:00 BST 2020

Hi

Does the is_in() function should also work for a point on a line in stead of in a polygon?

highway = turning_circle & is_in(highway, track, in_or_on) = true      [0x641a resolution 24]

It returns false for this situation where the turningcircle is attached to a highway = track.
(mkgmap:cache_is_in_POINT_highway_track_in_or_on=false)

Would there be another way to know if the point is attached to a highway = track rather then a for example highway = residential?
I use add-pois-to-lines, and link-pois-to-ways but as far as I can see, that doesn't give me more information.

https://www.openstreetmap.org/#map=18/49.65888/5.45845
[cid:image002.jpg at 01D636A9.5643B8A0]


Kind regards
Joris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200530/267117c7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 10259 bytes
Desc: image002.jpg
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200530/267117c7/attachment-0001.jpg>


More information about the mkgmap-dev mailing list