diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-02-22 16:37:26 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-02-22 16:37:26 +0100 |
| commit | 6ef286ec69e7f6e3b1fba55e14aed209fbf705c0 (patch) | |
| tree | 7c05597bfcd196a2220fa91526cad95dd8883218 /src/iso19111/metadata.cpp | |
| parent | 4dcce2a8578131c1d7bb9d505cadc169f677cc3e (diff) | |
| download | PROJ-6ef286ec69e7f6e3b1fba55e14aed209fbf705c0.tar.gz PROJ-6ef286ec69e7f6e3b1fba55e14aed209fbf705c0.zip | |
isEquivalentName(): fix for GDAL test failure
https://github.com/OSGeo/PROJ/pull/2536 changed the name of the
ellps=intl to "International 1924 (Hayford 1909, 1910)"
When writing a GeoTIFF file from GDAL using a SRS built from a
PROJ string, GDAL massages the datum name to
"Unknown_based_on_International_1924_Hayford_1909_1910_ellipsoid"
Before this fix, this wasn't considered as equivaleent to the non-massaged
datum name "Unknown based on International 1924 (Hayford 1909, 1910) ellipsoid"
Diffstat (limited to 'src/iso19111/metadata.cpp')
| -rw-r--r-- | src/iso19111/metadata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/metadata.cpp b/src/iso19111/metadata.cpp index fc788a30..e8ce37c6 100644 --- a/src/iso19111/metadata.cpp +++ b/src/iso19111/metadata.cpp @@ -1124,7 +1124,7 @@ void Identifier::_exportToJSON(JSONFormatter *formatter) const { //! @cond Doxygen_Suppress static bool isIgnoredChar(char ch) { return ch == ' ' || ch == '_' || ch == '-' || ch == '/' || ch == '(' || - ch == ')' || ch == '.' || ch == '&'; + ch == ')' || ch == '.' || ch == '&' || ch == ','; } //! @endcond |
