aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development/reference/functions.rst
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-05-01 20:51:07 +0200
committerGitHub <noreply@github.com>2019-05-01 20:51:07 +0200
commit7432e75e30d57c78e37563bf2d4d855be43cb82c (patch)
treeaf2c5a0477ba2d006c805586d423fac3ab4dc26f /docs/source/development/reference/functions.rst
parent798eaa9b0d359a460cc7c96dc453178e0f27dedb (diff)
parent8c149fa95905fe7e65cc5e8ed73a5dd899616cec (diff)
downloadPROJ-6.0.tar.gz
PROJ-6.0.zip
[Backport 6.0] Doc: update quickstart with PROJ 6 API + add PROJ 4->6 migration guide (fixes #1403) (#1450)6.0
[Backport 6.0] Doc: update quickstart with PROJ 6 API + add PROJ 4->6 migration guide (fixes #1403)
Diffstat (limited to 'docs/source/development/reference/functions.rst')
-rw-r--r--docs/source/development/reference/functions.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/source/development/reference/functions.rst b/docs/source/development/reference/functions.rst
index 00653ad9..319face3 100644
--- a/docs/source/development/reference/functions.rst
+++ b/docs/source/development/reference/functions.rst
@@ -144,6 +144,25 @@ paragraph for more details.
:type `area`: PJ_AREA
:returns: :c:type:`PJ*`
+.. c:function:: PJ *proj_normalize_for_visualization(PJ_CONTEXT *ctx, const PJ* obj)
+
+ .. versionadded:: 6.1.0
+
+ Returns a PJ* object whose axis order is the one expected for
+ visualization purposes.
+
+ The input object must be a coordinate operation, that has been created with
+ proj_create_crs_to_crs().
+ If the axis order of its source or target CRS is northing,easting, then an
+ axis swap operation will be inserted.
+
+ The returned :c:type:`PJ`-pointer should be deallocated with :c:func:`proj_destroy`.
+
+ :param PJ_CONTEXT* ctx: Threading context.
+ :param `obj`: Object of type CoordinateOperation
+ :returns: :c:type:`PJ*`
+
+
.. c:function:: PJ* proj_destroy(PJ *P)
Deallocate a :c:type:`PJ` transformation object.