diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-09-23 13:26:02 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-09-23 13:26:02 +0200 |
| commit | da802e250b2487d41013829437740628b2ede667 (patch) | |
| tree | 4b3bcb89b8b94d9718f4cbf73db70f548ce798c0 /src/iso19111/coordinateoperation.cpp | |
| parent | 91d3d51a5abafb773fca3e4aae3223cdedfc51af (diff) | |
| download | PROJ-da802e250b2487d41013829437740628b2ede667.tar.gz PROJ-da802e250b2487d41013829437740628b2ede667.zip | |
Document the autopromotion to 3D when mix of 2D/3D CRS in createOperations(), and test it (fixes #1623)
Diffstat (limited to 'src/iso19111/coordinateoperation.cpp')
| -rw-r--r-- | src/iso19111/coordinateoperation.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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 */ |
