[gdal-dev] sqlite3_prepare_v2 no such function: envelope
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Fri Dec 3 11:27:18 PST 2021
Hi,
Check the spatialite version:
ogrinfo -dialect sqlite -sql "select spatialite_version()" parks.shp
-Jukka Rahkonen-
Lähettäjä: gdal-dev <gdal-dev-bounces at lists.osgeo.org> Puolesta Richard Greenwood
Lähetetty: perjantai 3. joulukuuta 2021 21.22
Vastaanottaja: GDAL List <gdal-dev at lists.osgeo.org>
Aihe: [gdal-dev] sqlite3_prepare_v2 no such function: envelope
I have an ogr2ogr statement that works in OGR 3.3.3 but not 3.4.0. The statement is:
ogr2ogr out parks.shp -dialect sqlite -sql "select envelope(geometry) from parks"
And the error in 3.4.0 is
ERROR 1: In ExecuteSQL(): sqlite3_prepare_v2 no such function: envelope
Is this expected? I'm on two different Linux computers with gdal built from source so maybe I've got something else going on but I have no idea what.
Thanks
--
Richard W. Greenwood
www.greenwoodmap.com<http://www.greenwoodmap.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211203/a2c628e9/attachment.html>
More information about the gdal-dev
mailing list