aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development/reference
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-05-01 18:36:52 +0200
committerGitHub <noreply@github.com>2019-05-01 18:36:52 +0200
commitf6a9bbbc584c6a3633bde04f151be930957c384f (patch)
treee97c8635987f44f5553426973fb1859ca50889f9 /docs/source/development/reference
parent1a8068bf8398833933a0da3323ba960eabdc74a6 (diff)
parentc7417323daf1323e6ecad6cc1ba9c116397d8b00 (diff)
downloadPROJ-f6a9bbbc584c6a3633bde04f151be930957c384f.tar.gz
PROJ-f6a9bbbc584c6a3633bde04f151be930957c384f.zip
Merge pull request #1433 from rouault/update_quickstart
Doc: update quickstart with PROJ 6 API + add PROJ 4->6 migration guide (fixes #1403)
Diffstat (limited to 'docs/source/development/reference')
-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 aa177b31..64a4e8ca 100644
--- a/docs/source/development/reference/functions.rst
+++ b/docs/source/development/reference/functions.rst
@@ -153,6 +153,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.