From da802e250b2487d41013829437740628b2ede667 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 23 Sep 2019 13:26:02 +0200 Subject: Document the autopromotion to 3D when mix of 2D/3D CRS in createOperations(), and test it (fixes #1623) --- src/iso19111/coordinateoperation.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/iso19111/coordinateoperation.cpp') diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp index aea8400c..56a3b38c 100644 --- a/src/iso19111/coordinateoperation.cpp +++ b/src/iso19111/coordinateoperation.cpp @@ -13445,8 +13445,13 @@ getResolvedCRS(const crs::CRSNNPtr &crs, * by increasing accuracy. Operations with unknown accuracy are sorted last, * whatever their area. * + * When one of the source or target CRS has a vertical component but not the + * other one, the one that has no vertical component is automatically promoted + * to a 3D version, where its vertical axis is the ellipsoidal height in metres, + * using the ellipsoid of the base geodetic CRS. + * * @param sourceCRS source CRS. - * @param targetCRS source CRS. + * @param targetCRS target CRS. * @param context Search context. * @return a list */ -- cgit v1.2.3