Re: [gdal-dev] Esri REST PBF support

2025-07-23 Thread Craig de Stigter via gdal-dev
Thanks Even I've spent this morning looking at the source code - you're definitely right that even though the PBF format is a similar *structure* to the JSON format, the code won't be easily adapted to support both without becoming extremely messy. So a separate driver is likely better. The defin

Re: [gdal-dev] Esri REST PBF support

2025-07-23 Thread Even Rouault via gdal-dev
Craig, What would you be your idea: decode the PBF into JSON ? otherwise re-using the existing code of the ESRI JSON driver is going to be difficult as it assumes JSON everywhere. For PBF reading, we have ogr/ogrsf_frmts/gpb.h used both by the OSM PBF driver and the MVT driver. This is proba

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.