diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-09-26 11:57:37 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-09-26 14:18:21 +0200 |
| commit | 862f04e7d9114cfbb1502ce257de0966aa5c362a (patch) | |
| tree | 4097387cecc2f4718862e7689b1ec72bcaa62a5a /include/proj/crs.hpp | |
| parent | c1efe4ae328593c29c6d9b6be3566fc9545e70cc (diff) | |
| download | PROJ-862f04e7d9114cfbb1502ce257de0966aa5c362a.tar.gz PROJ-862f04e7d9114cfbb1502ce257de0966aa5c362a.zip | |
Improve vertical transformation support
When we had a transformation between a compoundCRS and a target geographicCRS,
we did not take into account that in the vertical->other_geog_CRS transformation
we used, the other_geog_CRS was an implicit interpolation CRS. Thus before
doing vertical adjustment, we must go to this interpolation CRS.
The workflow is thus:
source CRS -> interpolation CRS + vertical adjustment + interplation CRS -> target CRS
Diffstat (limited to 'include/proj/crs.hpp')
| -rw-r--r-- | include/proj/crs.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/proj/crs.hpp b/include/proj/crs.hpp index 65459058..c07904c8 100644 --- a/include/proj/crs.hpp +++ b/include/proj/crs.hpp @@ -345,6 +345,10 @@ class PROJ_GCC_DLL GeographicCRS : public GeodeticCRS { const datum::DatumEnsemblePtr &datumEnsemble, const cs::EllipsoidalCSNNPtr &cs); + PROJ_DLL GeographicCRSNNPtr + demoteTo2D(const std::string &newName, + const io::DatabaseContextPtr &dbContext) const; + PROJ_DLL static const GeographicCRSNNPtr EPSG_4267; // NAD27 PROJ_DLL static const GeographicCRSNNPtr EPSG_4269; // NAD83 PROJ_DLL static const GeographicCRSNNPtr EPSG_4326; // WGS 84 2D |
