[gdal-dev] sqlite3_prepare_v2 no such function: envelope

Richard Greenwood richard.greenwood at gmail.com
Fri Dec 3 11:33:38 PST 2021


Well that explains it!

ogrinfo -dialect sqlite -sql "select spatialite_version()" parks.shp
  no such function: spatialite_version

Thanks so much!


On Fri, Dec 3, 2021 at 12:27 PM Rahkonen Jukka (MML) <
jukka.rahkonen at maanmittauslaitos.fi> wrote:

> 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
>


-- 
Richard W. Greenwood
www.greenwoodmap.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211203/51aa8b82/attachment-0001.html>


More information about the gdal-dev mailing list