Re: [gdal-dev] Esri REST PBF support

2025-07-22 Thread Nyall Dawson via gdal-dev
On Wed, 23 Jul 2025 at 08:04, Craig de Stigter via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > > Hi folks > > OGR has support for ESRI FeatureService endpoints via the ESRI JSON driver. > I am wondering if there would be interest in adding PBF support to that driver, so that we could ingest the m

[gdal-dev] Esri REST PBF support

2025-07-22 Thread Craig de Stigter via gdal-dev
Hi folks OGR has support for ESRI FeatureService endpoints via the ESRI JSON driver. I am wondering if there would be interest in adding PBF support to that driver, so that we could ingest the more efficient PBF versions of those endpoints.

[gdal-dev] Assertion json_type_object failed on gdb

2025-07-22 Thread Emanuel Jaimes via gdal-dev
Hi there, I was hoping to get some guidance on where I need to look/read or what other options I could use to extract a JSON from a GDB. Here's the issue:  For some reason, when I unzip an archive that has a GDB, `ogrinfo` doesn't produce the JSON with metadata (what columns, types, layers

Re: [gdal-dev] [External] : Re: Error on building from master branch on linux

2025-07-22 Thread Fengting Chen via gdal-dev
It doesn’t work for me. I got error in gdal_rat.h for looking for type defined in gdal_priv.h. [ 0%] Building CXX object frmts/pdf/CMakeFiles/gdal_PDF_core.dir/ pdfdrivercore.cpp.o In file included from /scratch/gdal/gdal/gcore/gdal_priv.h:47, from /scratch/gdal/g

Re: [gdal-dev] Error on building from master branch on linux

2025-07-22 Thread Even Rouault via gdal-dev
Fengting, I guess you can workaround the issue by adding a #include "gdal_rat.h" at top of gdal_priv.h (shouldn't be required as GDALExtendedDataType declares a destructor, so I guess your compiler is more demanding than strictly needed) Even Le 22/07/2025 à 20:15, Fengting Chen via gdal-de

[gdal-dev] Error on building from master branch on linux

2025-07-22 Thread Fengting Chen via gdal-dev
Hi, I got the following error while trying to build gdal using “gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-26.0.1)”: [ 0%] Building CXX object frmts/pdf/CMakeFiles/gdal_PDF_core.dir/ pdfdrivercore.cpp.o In file included from /usr/include/c++/8/memory:80, from /scrat

Re: [gdal-dev] dataset with no driver?

2025-07-22 Thread Even Rouault via gdal-dev
Mike, there are a number of situations where you can get a Dataset not linked to a driver. Code expecting a Dataset as input should be robust to it having a null driver. In your situation, given that small_world.tif is a multiband dataset, but AsMDArray().AsClassicDataset() returning a singl