[gdal-dev] GMLAS tries to read spatialreference.org through http
even.rouault at spatialys.com
Tue Jun 4 05:32:06 PDT 2019
> But now I don't understand why these two gdalsrsinfo request give different
> results if both http and https are pointing to the same resource:
The SRS import from URL is currently only enable for http:// URL, not https://
. So gdalsrsinfo tries after to open the URL as a GDAL/OGR dataset, and this
ends up in the GeoJSONSeq driver that manages to open the garbage it gets
(HTML content) due to its resilient parsing, and thus it reports WGS84 as SRS.
I've just modified it to error out when no features are detected.
Spatialys - Geospatial professional services
More information about the gdal-dev