From 95340fb1d1011d6864d82b60194eb77df9e9e38f Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 14 Dec 2020 21:12:43 +0100 Subject: createOperations(): fix inconsistent chaining exception when transforming from BoundCRS of projected CRS based on NTF Paris to BoundCRS of geog CRS NTF Paris. Fixes https://github.com/OSGeo/gdal/issues/3273 --- src/iso19111/io.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/iso19111/io.cpp') diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp index 86ece49d..dc51c5d9 100644 --- a/src/iso19111/io.cpp +++ b/src/iso19111/io.cpp @@ -4238,7 +4238,8 @@ createBoundCRSSourceTransformationCRS(const crs::CRSPtr &sourceCRS, sourceGeographicCRS->datum()->ellipsoid(), util::optional(), datum::PrimeMeridian::GREENWICH), - sourceGeographicCRS->coordinateSystem()) + cs::EllipsoidalCS::createLatitudeLongitude( + common::UnitOfMeasure::DEGREE)) .as_nullable(); } } else { -- cgit v1.2.3