[gdal-dev] Ellipsoidal length of a line
Nicolas Cadieux
nicolas.cadieux at archeotec.ca
Fri Jun 14 21:35:17 PDT 2019
Thanks,
The link brings me to some helpful packages. I thought gdal could be helpful as is has a very good OGR library that deals with this stuff.
Nicolas
> Le 14 juin 2019 à 12:19, Atle Frenvik Sveen <atle at frenviksveen.net> a écrit :
>
> Hi!
>
> Not sure if would want to use gdal for this task*, but take a look at this blog post:
>
> https://janakiev.com/blog/gps-points-distance-python/
>
>
> *or if it's doable, i guess not, since the scope of gdal is reading/writing geospatial formats
>
> -a
>
> -
> Atle Frenvik Sveen
> atle at frenviksveen.net
> 45278689
> atlefren.net
>
>> On Fri, Jun 14, 2019, at 17:32, Nicolas Cadieux wrote:
>> Hi,
>>
>> I am trying to get the length of a line in python. (Not just the
>> straight length between the first and last nodes). Using geopandas,
>> (therefore the Shapely lib) I am getting the euclidien distance even
>> though the dataframe holdings the line geometries has a CRS (WGS84,
>> zone UTM 18 S). Obviously, the WGS84 Ellipsoid is not taken into
>> account.
>>
>> Can I do this with gdal/ogr?
>>
>> Thanks for the help
>> Nicolas
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list