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/c_api.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/iso19111/c_api.cpp') diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp index fd4090b2..090d59a1 100644 --- a/src/iso19111/c_api.cpp +++ b/src/iso19111/c_api.cpp @@ -7080,6 +7080,11 @@ void PROJ_DLL proj_operation_factory_context_set_discard_superseded( * 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 ctx PROJ context, or NULL for default context * @param source_crs source CRS. Must not be NULL. * @param target_crs source CRS. Must not be NULL. -- cgit v1.2.3