[Tile-serving] [openstreetmap/osm2pgsql] WORK IN PROGRESS: Add pole_of_inaccessibility() function in Lua for polygons (PR #1822)

Jakob Miksch notifications at github.com
Fri Nov 18 18:14:49 UTC 2022


The computation worked well for my test area (Heidelberg city). 

I like the approach with the ellipse a lot. In many cases it gives better results for labeling than the circle. Like in these examples:

![Screenshot from 2022-11-18 19-01-51](https://user-images.githubusercontent.com/15704517/202773679-40fdde93-2d3d-4f51-9cf6-1aa4c2fb06ca.png)

![Screenshot from 2022-11-18 19-02-21](https://user-images.githubusercontent.com/15704517/202773711-8225142e-3fa0-42b5-9589-1e5cea3b0e51.png)

![Screenshot from 2022-11-18 19-05-03](https://user-images.githubusercontent.com/15704517/202773720-7ff8ec64-6645-455b-98e6-ca3cb9cd29f0.png)

However, in the following example I was surprised about the location of `poi2`. I would have expected it somewhere in the right-top of  `poi1` (blue)

![Screenshot from 2022-11-18 19-03-44](https://user-images.githubusercontent.com/15704517/202773910-cf47bdad-c514-45de-9415-9db85edb57bb.png)




-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1822#issuecomment-1320371009
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1822/c1320371009 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221118/df24127f/attachment.htm>


More information about the Tile-serving mailing list