[gdal-dev] GMLAS tries to read spatialreference.org through http

Even Rouault even.rouault at spatialys.com
Tue Jun 4 01:02:54 PDT 2019


On mardi 4 juin 2019 06:15:54 CEST Rahkonen Jukka (MML) wrote:
> I am getting lots of warning like this from the GMLAS driver:

> HTTP: Fetch(http://spatialreference.org/ref/epsg/28992/)
> HTTP: These HTTP headers were set: Accept: application/x-ogcwkt
> ERROR 1: Connection timed out after 10563 milliseconds
> Warning 1: Reprojection fom http://spatialreference.org/ref/epsg/28992/ to > 
> urn:x-ogc:def:crs:EPSG:28992 failed

> I guess that the code should be changed to try https instead.

Doesn't look like it is needed. The following works:

gdalsrsinfo http://spatialreference.org/ref/epsg/28992/

and does the redirection to https

Maybe you hit a temporary issue with the server ?

> The typo "fom" comes also from the driver.

Fixed

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list