diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-03-28 15:26:00 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-03-29 00:47:41 +0100 |
| commit | 6a7e24dce79f93b73f4919f267df2fdf3ee95713 (patch) | |
| tree | 5f770f21274e82d5b09cbb4cfe299f41e3fb6585 /include/proj/coordinateoperation.hpp | |
| parent | f4baf035dac9e8f1dd37d2121ffc3d1b3f440073 (diff) | |
| download | PROJ-6a7e24dce79f93b73f4919f267df2fdf3ee95713.tar.gz PROJ-6a7e24dce79f93b73f4919f267df2fdf3ee95713.zip | |
Add proj_normalize_for_visualization()
Fixes #1301
This function takes the output PJ from proj_create_crs_to_crs(),
and add (or undo) the needed axis swap operations so that the
object returned by proj_normalize_for_visualization() has the usual
GIS axis order.
In this implementation, this does something only if the coordinate
system of the source or target CRS, geographic or projected, has
NORTH, EAST ordering.
CompoundCRS wrapping those objects are also handled.
Diffstat (limited to 'include/proj/coordinateoperation.hpp')
| -rw-r--r-- | include/proj/coordinateoperation.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proj/coordinateoperation.hpp b/include/proj/coordinateoperation.hpp index 4397ed60..9e7812c7 100644 --- a/include/proj/coordinateoperation.hpp +++ b/include/proj/coordinateoperation.hpp @@ -152,6 +152,8 @@ class PROJ_GCC_DLL CoordinateOperation : public common::ObjectUsage, PROJ_DLL static const std::string OPERATION_VERSION_KEY; + PROJ_DLL CoordinateOperationNNPtr normalizeForVisualization() const; + protected: PROJ_INTERNAL CoordinateOperation(); PROJ_INTERNAL CoordinateOperation(const CoordinateOperation &other); |
