Re: [gdal-dev] Call for discussion on RFC 92 text: WKB Only geometries

2023-02-06 Thread Nyall Dawson
> PS: I believe I joked some time ago that it was a pity that GDAL, GEOS, QGIS, > PostGIS, ... didn't share the same geometry classes given that they all > implement the same Single Features/ ISO SQL MM Part 3 model (it is kind of > crazy that we have all to implement WKB, WKT, etc etc), but it

Re: [gdal-dev] Call for discussion on RFC 92 text: WKB Only geometries

2023-02-06 Thread Even Rouault
Hi Dan, | And only construct an OGRGeometry when it's asked for? Such as when GetGeometryRef is called? I'm wondering about a more broad application of this. Would it be helpful to have the ability to lazy-initialize an OGRGeometry from multiple source types such as WKB and GEOS, initially s

Re: [gdal-dev] Call for discussion on RFC 92 text: WKB Only geometries

2023-02-06 Thread Daniel Baston
| And only construct an OGRGeometry when it's asked for? Such as when GetGeometryRef is called? I'm wondering about a more broad application of this. Would it be helpful to have the ability to lazy-initialize an OGRGeometry from multiple source types such as WKB and GEOS, initially storing only a r

Re: [gdal-dev] MSSQLSpatial driver cmake build issues

2023-02-06 Thread Tamas Szekeres
Even, It looks like a good idea. Thanks, Tamas Even Rouault ezt írta (időpont: 2023. febr. 6., H, 21:13): > Tamas, > > I would just do: > > - do a GDAL build with the MSSQLSpatial driver built-in with the generic > ODBC driver: -DOGR_ENABLE_DRIVER_MSSQLSPATIAL_PLUGIN=OFF > -DGDAL_USE_MSSQL_

Re: [gdal-dev] MSSQLSpatial driver cmake build issues

2023-02-06 Thread Even Rouault
Tamas, I would just do: - do a GDAL build with the MSSQLSpatial driver built-in with the generic ODBC driver: -DOGR_ENABLE_DRIVER_MSSQLSPATIAL_PLUGIN=OFF -DGDAL_USE_MSSQL_ODBC=OFF -DGDAL_USE_MSSQL_NCLI=OFF - build it as plugin with MSSQL_ODBC: run cmake again with -DOGR_ENABLE_DRIVER_MSSQLS

[gdal-dev] MSSQLSpatial driver cmake build issues

2023-02-06 Thread Tamas Szekeres
Hi GDAL Devs, The GISInternals build SDK has been changed to use GDAL 3.6.x and therefore it has completely switched to the cmake build. We noticed that this change caused to break the appveyor builds for MapServer (with the error: Unable to find driver `MSSQLSpatial' ). Formerly the MSQLSpatial d

Re: [gdal-dev] Writing concurrent indexes to a FileGDB

2023-02-06 Thread Tim Martin via gdal-dev
Hi Even Many thanks for your response and its great to get confirmation that I wasn't doing something wrong or missing something in the docs. I can definitely run multiple processes that write an index on different tables in a single FileGDB at the same time and it seems "ok" - ie I haven't see

Re: [gdal-dev] Writing concurrent indexes to a FileGDB

2023-02-06 Thread Even Rouault
Tim, Currently there is no guarantee that concurrent updates to the same FileGDB database, either from the same process or from different process, are safe, as no locks are set, and the driver might cache in memory things assuming that nothing else changes them behind its back. That said, I

[gdal-dev] Writing concurrent indexes to a FileGDB

2023-02-06 Thread Tim Martin via gdal-dev
Hi GDAL Devs I posted this question on GIS Stack Exchange and someone recommended I contact this group (https://gis.stackexchange.com/questions/451331/adding-multiple-attribute-indexes-to-filegdb-using-ogrinfo/451336#451336) I have the unfortunate task of creating some very large FileGDB and ne