[gdal-dev] OAPIF and apikey

Even Rouault even.rouault at spatialys.com
Tue May 12 14:50:57 PDT 2020


On mardi 12 mai 2020 21:21:30 CEST Rahkonen Jukka (MML) wrote:
> Hi,
> 
> I wonder how I could deal with an OGC API Features service that requires to
> use apikey as an extra parameter in each request. First step is easy
> because I can just add the apikey parameter to the URL of the landing page
> (?api-key=xxxyyyzzzkkk) but the link to collections in the document that is
> returned comes without the apikey and ogrinfo and og2ogr are using the link
> as is. Result is a "HTTP 401 not authorized".

Hum, normally there's code to handle that in the driver. And even a test (against a 
stub server).
Are you using GDAL 3.1 / master ? If so, how can I replicate that ?

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200512/cc9a8e3d/attachment-0001.html>


More information about the gdal-dev mailing list