[mkgmap-dev] [Patch] Improve LocationHookFrom Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Jan 29 14:42:21 GMT 2019
Hi all, in the forum there was a discussion about "tooltip for residential area" https://forum.openstreetmap.org/viewtopic.php?id=64986 I am not sure if it helps, here is a patch that might improve the LocationHook for closed ways where some points are on a boundary or a boundary is crossing the polygon in a small part. With the current code the result is sometimes surprising, esp. if a very small of a polygon is outside of the "wanted" boundary. The patch calculates the "Center of geometry" for closed ways and uses it first when it lies inside the polygon to calculate the adminlevel values. This might slow down processing if there are many complex closed ways. I did not see many differences in my area, I guess it depends on the accuracy of boundaries. Gerd -------------- next part -------------- A non-text attachment was scrubbed... Name: improve-locationHook.patch Type: application/octet-stream Size: 4691 bytes Desc: improve-locationHook.patch URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20190129/23e9ad32/attachment.obj>
- Previous message: [mkgmap-dev] Update of typ with correct codepage and special chars
- Next message: [mkgmap-dev] Shouldn't both options --gmapi and --nsis imply --tdbfile?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list