[mkgmap-dev] is_in() function for point on line
From Joris Bo jorisbo at hotmail.com on Sat May 30 17:11:28 BST 2020
Hi Gerd Could it be possible that in this case the highway tag of the line is ignored because the point turning_circle is of type highway as well? It's like there is a point {highway = turning_circle} on a line {highway = track} It looks like I cannot catch it with the mkgmap:line2poitype and mkgmap:line2poi. Somewhere else I already use leisure = slipway & mkgmap:area2poi != true & mkgmap:line2poitype = mid and that works fine Kind regards, Joris -----Oorspronkelijk bericht----- Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> Namens Gerd Petermann Verzonden: zaterdag 30 mei 2020 17:51 Aan: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk> Onderwerp: Re: [mkgmap-dev] is_in() function for point on line Hi Joris, is_in() only works with polygons. You can use --add-pois-to-lines, but be aware that it produces a lot of points for which you probablly don't want to add an object to the map. See the help for the details. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Joris Bo <jorisbo at hotmail.com> Gesendet: Samstag, 30. Mai 2020 17:40 An: Development list for mkgmap Betreff: [mkgmap-dev] is_in() function for point on line 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
- Previous message: [mkgmap-dev] is_in() function for point on line
- Next message: [mkgmap-dev] is_in() function for point on line
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list