Hi Javier,

there is a QGIS plugin called 'Beeline' that measures great circle distances: https://plugins.qgis.org/plugins/Beeline/

Hope that helps?

Cheers,
Mia

On 20.06.25 12:06, Javier Jimenez Shaw via gdal-dev wrote:
Hi

Yesterday I read an article in a newspaper with an image showing distances from a country that was not considering that the Earth is spheric. It is not the first time; it will not be the last one. As we all (should) know, measuring large distances (thousands of kilometers) in projected coordinates is wrong.

Is there any way to do it properly in GDAL or QGIS? What I mean is that the distance (in meters) for a buffer (or parallel line) is measured along greatest circles perpendicular to the source geometry.

If not, should we implement it somewhere? (GDAL, QGIS, somewhere else)
I guess that we need PROJ for that algorithm to compute the distance along a great circle.

Thanks
Javier

PS trying in QGIS, I see it uses ST_Buffer from an sqlite query. But it is not what I am talking about. That is the "wrong" solution for large distances.


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to