[mapserver-users] Calculate length!

Schylberg Lars lars.schylberg at saabgroup.com
Mon Mar 16 05:09:49 PDT 2015


I guess this must be a version problem.  That same command runs fine on my osgeolive8 machine.

ogrinfo --version
GDAL 1.10.1, released 2013/08/26

/Lars


From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of alok mathur
Sent: den 16 mars 2015 09:54
To: Rahkonen Jukka (MML); mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Calculate length!

Hi Jukka,

When i am trying to run the above ogr command as mentioned by you I am getting an error

ogrinfo -dialect sqlite -sql "select st_length(geometry) from 'Fibertech solution'" doc_test.kml
INFO: Open of `doc_test.kml'
      using driver `LIBKML' successful.
ERROR 1: In ExecuteSQL(): sqlite3_prepare(select st_length(geometry) from 'Fibertech solution'):
  no such function: st_length



Please let me know what the issue is. I have installed both libsqlite3 and libspatialite.

Thanks!
Alok


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150316/c3607c96/attachment.html>


More information about the mapserver-users mailing list