Re: [gdal-dev] sqlite3_prepare_v2 no such function: envelope

2021-12-03 Thread Richard Greenwood
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.rahko...@maanmittauslaitos.fi> wrote:

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


Re: [gdal-dev] sqlite3_prepare_v2 no such function: envelope

2021-12-03 Thread Rahkonen Jukka (MML)
Hi,

Check the spatialite version:
ogrinfo -dialect sqlite -sql "select spatialite_version()" parks.shp

-Jukka Rahkonen-

Lähettäjä: gdal-dev  Puolesta Richard 
Greenwood
Lähetetty: perjantai 3. joulukuuta 2021 21.22
Vastaanottaja: GDAL List 
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>
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


[gdal-dev] sqlite3_prepare_v2 no such function: envelope

2021-12-03 Thread Richard Greenwood
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
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev