diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-09-13 02:28:24 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-09-13 02:28:24 +0200 |
| commit | e1fabf92fca6af58b2716f97c2ebe884000c07f5 (patch) | |
| tree | 79df11379a2d4279d5fe67ff3cc957691d991e0f /src | |
| parent | 1d1c7443fdd5425c878ccc75452561da73a8688a (diff) | |
| download | PROJ-e1fabf92fca6af58b2716f97c2ebe884000c07f5.tar.gz PROJ-e1fabf92fca6af58b2716f97c2ebe884000c07f5.zip | |
Fix support for +proj=ob_tran +o_proj=lonlat/latlong/latlon (only +o_proj=longlat worked) (fixes #1601)
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/io.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp index a86982d4..7194a838 100644 --- a/src/iso19111/io.cpp +++ b/src/iso19111/io.cpp @@ -8577,7 +8577,10 @@ CRSNNPtr PROJStringParser::Private::buildProjectedCRS( parameters, values) .as_nullable(); - if (methodName == "PROJ ob_tran o_proj=longlat") { + if (methodName == "PROJ ob_tran o_proj=longlat" || + methodName == "PROJ ob_tran o_proj=lonlat" || + methodName == "PROJ ob_tran o_proj=latlon" || + methodName == "PROJ ob_tran o_proj=latlong") { return DerivedGeographicCRS::create( PropertyMap().set(IdentifiedObject::NAME_KEY, "unnamed"), geogCRS, NN_NO_CHECK(conv), |
