Re: [gdal-dev] Filesystem & Network access in OGRSpatialReference.SetFromUserInput()

2022-09-27 Thread Even Rouault
Robert, Options 1, 2 and 3 sound reasonable to me. For 3, you'd probably want to emit a deprecation warning during the transition period if the user relies on the functionality without having explicitly enabled it For 4, the import from network exists as a separate function importFromUrl(),

[gdal-dev] Filesystem & Network access in OGRSpatialReference.SetFromUserInput()

2022-09-27 Thread Robert Coup
Hi all, Currently SetFromUserInput() accepts all sorts of things as input for a CRS definition — flavours of WKT, various EPSG/ESRI/etc identifiers & combinations, OGC URNs/UR:s, Proj4 definitions, a set of static names, and ProjJSON. As well, it accepts arbitrary http(s) urls & file paths (includ