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/c_api.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/c_api.cpp')
| -rw-r--r-- | src/iso19111/c_api.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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. |
