[Tile-serving] [openstreetmap/osm2pgsql] LUA: calculate length (m) and area (m^2) (Discussion #1756)

Jochen Topf notifications at github.com
Thu Sep 8 18:35:30 UTC 2022


Note that the `area()` function (and also the `length()` function when it appears) will report their results in map units (degrees for lon/lat, etc.) This is for consistency with those function in other systems and also because it is cheaper to calculate. How useful this is compared to functions reporting in meters or square meters depends on the use case. We might want to have variants for that, too.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/discussions/1756#discussioncomment-3598732
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/repo-discussions/1756/comments/3598732 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220908/68f429fb/attachment.htm>


More information about the Tile-serving mailing list