[Tile-serving] [openstreetmap/osm2pgsql] Add pole_of_inaccessibility() function in Lua for polygons (PR #1822)
Jochen Topf
notifications at github.com
Tue Jan 17 08:36:06 UTC 2023
I have changed the Lua function so that it takes a Lua table with options. Currently only option is "stretch" (the second parameter from before). This allows us more flexibility when we want to change things later. The "precision" parameter is not exposed to the Lua code, because it is unclear how useful it is. Its really hard to explain what it does and users will probably just leave it at the default anyway. The now fixed (formally default) value is the same as with the PostGIS function.
I updated the docs in the example config.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1822#issuecomment-1385023864
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1822/c1385023864 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230117/ec9cfa80/attachment.htm>
More information about the Tile-serving
mailing list