<div dir="ltr">Awesome!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den lør. 15. jun. 2019 kl. 23.04 skrev Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">$ cat test.csv<br>
id,WKT<br>
1,"LINESTRING(2 49,3 50,4 49)"<br>
<br>
$ ogr2ogr test.db test.csv -f sqlite -dsco spatialite=yes -a_srs EPSG:4326<br>
<br>
$ ogrinfo test.db -sql "select st_length(geometry, 1) from test" -al -q<br>
<br>
Layer name: SELECT<br>
OGRFeature(SELECT):0<br>
st_length(geometry, 1) (Real) = 265450.955822012<br>
<br>
<br>
Cf <a href="http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.2.0.html#p6" rel="noreferrer" target="_blank">http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.2.0.html#p6</a><br>
<br>
-- <br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" rel="noreferrer" target="_blank">http://www.spatialys.com</a><br>
</blockquote></div>