[OSM-dev] Area calculation without transformation
Yves
ycai at mailbox.org
Sun Mar 24 16:05:30 UTC 2024
Geos?
Le 24 mars 2024 15:44:24 GMT+01:00, Florian Lohoff <f at zz.de> a écrit :
>
>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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20240324/4d364b19/attachment.htm>
More information about the dev
mailing list