[gdal-dev] Authentication bearer token for WFS driver

2022-07-08 Thread Francesco Bartoli
Hi devs, is that authentication mechanism supported to consume a GeoServer layer protected by an OpenID Connect provider? I’m trying to implement a pygeoapi collection protected by the same OIDC provider via the OGR plugin but I need to figure out how the GDAL command line request would look

Re: [gdal-dev] Failure to fetch covid-19 data from JHU ArcGIS instance

2020-04-07 Thread Francesco Bartoli
Thanks Even, I’ll skip them as well in the OGR provider for pygeoapi. Thanks, Francesco Il 7 apr 2020, 12:29 +0200, Even Rouault , ha scritto: > On mardi 7 avril 2020 11:19:56 CEST Francesco Bartoli wrote: > > Hello devs, > > > > while the command line is working properly

[gdal-dev] Failure to fetch covid-19 data from JHU ArcGIS instance

2020-04-07 Thread Francesco Bartoli
Hello devs, while the command line is working properly: ogrinfo -ro -al "ESRIJSON:https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/ncov_cases/FeatureServer/2/query?where=objectid+%3D+objectid=json=*; this python script below unexpectedly fails: from osgeo import ogr driver =

Re: [gdal-dev] Loading GeoJSON to ES 7

2020-03-18 Thread Francesco Bartoli
Does it mean that can be done only programmatically? How would it be translated into a -lco of ogr2ogr? Il 18 mar 2020, 10:36 +0100, Even Rouault , ha scritto: > On mercredi 18 mars 2020 09:05:39 CET Francesco Bartoli wrote: > > Thanks Even, I was misleading the behavior. However, is th

Re: [gdal-dev] Loading GeoJSON to ES 7

2020-03-18 Thread Francesco Bartoli
Thanks Even, I was misleading the behavior. However, is there a way to ingest and set the value of a unique identifier, for instance geonameid, in the key _id of each item of the index? Francesco Il 17 mar 2020, 22:13 +0100, Even Rouault , ha scritto: > Francesco, > > The behaviour in ES7 has

[gdal-dev] Loading GeoJSON to ES 7

2020-03-17 Thread Francesco Bartoli
Hi All, I'm trying to investigate this issue  https://github.com/geopython/pygeoapi/issues/379 in the pygeoapi project. I'm using an instance of ES7 and if I understand well the command below: docker run --rm --network=host -u $(id -u ${USER}):$(id -g ${USER}) \ -v $(pwd):/data \ -e

Re: [gdal-dev] Handle geojson bigger than 200MB

2020-03-02 Thread Francesco Bartoli
thanks Momtchil, it makes sense now Il 2 mar 2020, 10:12 +0100, Momtchil Momtchev , ha scritto: > > On 29/02/2020 20:34, Francesco Bartoli wrote: > > Thanks Even, it works but I have strange result with the size value. I > > wouldn’t have been expected the except

Re: [gdal-dev] Handle geojson bigger than 200MB

2020-02-29 Thread Francesco Bartoli
, *args) RuntimeError: GeoJSON object too complex, please see the OGR_GEOJSON_MAX_OBJ_SIZE environment option Is it a bug? Il 28 feb 2020, 17:29 +0100, Even Rouault , ha scritto: > On vendredi 28 février 2020 17:22:28 CET Francesco Bartoli wrote: > > However, we are using both mod

Re: [gdal-dev] Handle geojson bigger than 200MB

2020-02-29 Thread Francesco Bartoli
Il 28 feb 2020, 17:49 +0100, Just van den Broecke , ha scritto: > On 28-02-20 17:29, Even Rouault wrote: > > On vendredi 28 février 2020 17:22:28 CET Francesco Bartoli wrote: > > > However, we are using both modules so how can we handle exceptions > > > properly >

Re: [gdal-dev] Handle geojson bigger than 200MB

2020-02-28 Thread Francesco Bartoli
this time. Thanks, Francesco Il 28 feb 2020, 15:19 +0100, Even Rouault , ha scritto: > On vendredi 28 février 2020 15:10:46 CET Francesco Bartoli wrote: > > Dear devs, > > > > In the pygeoapi project we are experiencing this > > issue https://github.com/geopython/pyg

Re: [gdal-dev] Handle geojson bigger than 200MB

2020-02-28 Thread Francesco Bartoli
Ahh I didn’t know, thanks Even Francesco Il 28 feb 2020, 15:19 +0100, Even Rouault , ha scritto: > On vendredi 28 février 2020 15:10:46 CET Francesco Bartoli wrote: > > Dear devs, > > > > In the pygeoapi project we are experiencing this > > issue https://github.com/ge

[gdal-dev] Handle geojson bigger than 200MB

2020-02-28 Thread Francesco Bartoli
Dear devs, In the pygeoapi project we are experiencing this issue  https://github.com/geopython/pygeoapi/issues/371. I've just started a PR  https://github.com/geopython/pygeoapi/pull/372 hich basically tries to catch if all properties of the feature have null values and raise an exception