CoordRefSystems.jl
CoordRefSystems.jl copied to clipboard
EPSG CRS code 32662 is not included in the EPSG database any more
Heads up: the EPSG code 32662 is not included under artifacts/epsg-wkt2, it's not shipped as part of the EPSG database. Presumably this is the case because it was deprecated already in 2008. I see the code is still referenced in several places in the repo. Not sure if this is a real issue, but I wanted to point it out.
Perhaps it'd be possible to find an old WKT file in one of the old release archives on epsg.org, to aid in backwards compatibility, if necessary.
Thank you for reporting @nsajko. Is there a substitute code for the PlateCarree CRS?
I believe we only have the bandwidth to support WKT2 strings of non-deprecated codes. If a user attempts to load/save a deprecated code from/to a file, we can emit a clear error message suggesting a coordinate conversion, or a simple warning before attempting the conversion. We already do something like that in GeoIO.jl with the GeoJSON format:
https://github.com/JuliaEarth/GeoIO.jl/blob/720f8593a5770b8fa00370133f070a943b5cf594/src/save.jl#L167-L177
We handle this case with an informative error message:
https://github.com/JuliaEarth/CoordRefSystems.jl/blob/98e298e37016fef6df023b5d2d1f593d11de99f9/src/codes.jl#L38-L41