Re: [gdal-dev] Spatial view in GeoPackage

2023-05-28 Thread Rahkonen Jukka
@lists.osgeo.org Aihe: Re: [gdal-dev] Spatial view in GeoPackage Jukka, currently the driver doesn't try to use the RTree of the base table (it could probably do it, but it would require first to check that both the FID column and geometry column of the same underlying table are available) Jukk

Re: [gdal-dev] Spatial view in GeoPackage

2023-05-28 Thread Even Rouault
ttäjä:*gdal-dev *Puolesta *Even Rouault *Lähetetty:* sunnuntai 28. toukokuuta 2023 0.39 *Vastaanottaja:* Bo Victor Thomsen ; gdal-dev@lists.osgeo.org *Aihe:* Re: [gdal-dev] Spatial view in GeoPackage Bo Victor, there was indeed a bug in the OGR GPKG driver preventing you to do what you wanted.

Re: [gdal-dev] Spatial view in GeoPackage

2023-05-28 Thread Rahkonen Jukka
@lists.osgeo.org Aihe: Re: [gdal-dev] Spatial view in GeoPackage Bo Victor, there was indeed a bug in the OGR GPKG driver preventing you to do what you wanted. Fixed per https://github.com/OSGeo/gdal/pull/7848 The issue was specific to the fact that the geometry column of the view is computed, and not

Re: [gdal-dev] Spatial view in GeoPackage

2023-05-27 Thread Even Rouault
Bo Victor, there was indeed a bug in the OGR GPKG driver preventing you to do what you wanted. Fixed per https://github.com/OSGeo/gdal/pull/7848 The issue was specific to the fact that the geometry column of the view is computed, and not just the simple selection of one of a table. Note tha

[gdal-dev] Spatial view in GeoPackage

2023-05-27 Thread Bo Victor Thomsen
Hi list - I'm working with making spatial views "visible" for QGIS, i.e. so they look like a read-only table from the data source manager. However, I have one problem:  QGIS doesn't recognize the crs for the view. I've tracked the problem down to that *OGR* dosn't recognize the crs for the v