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) <
[email protected]> wrote:

> Hi,
>
>
>
> Check the spatialite version:
>
> ogrinfo -dialect sqlite -sql "select spatialite_version()" parks.shp
>
>
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* gdal-dev <[email protected]> *Puolesta *Richard
> Greenwood
> *Lähetetty:* perjantai 3. joulukuuta 2021 21.22
> *Vastaanottaja:* GDAL List <[email protected]>
> *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
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to