[OSM-dev] Area calculation without transformation
Florian Lohoff
f at zz.de
Sun Mar 24 14:44:24 UTC 2024
Hi,
I am looking into performance issued with QA code of mine and i am at one
point i calculate the osm objects area.
I am using libosmium and gdal/OGR right now.
Now - to get a m² based area i am transforming into an planar EPSG
which seems to be the bottleneck of processing.
I now had a quick look at postgis'es lwgeom code for ST_Area using
a spheroid which my guess is much faster as i am on the very same spheroid
all the time.
Does anyone know of a c++ implementation nicely plugging into
libosmium/gdal/ogr processing just using the EPSG:4326?
Flo
--
Florian Lohoff f at zz.de
Any sufficiently advanced technology is indistinguishable from magic.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20240324/fe66dddc/attachment.sig>
More information about the dev
mailing list