diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-08-22 22:52:48 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-08-23 21:49:40 +0200 |
| commit | 11869e2c4d29f0e607a0f78fb289d253fccd9a16 (patch) | |
| tree | 5b8be1637f9272b8b3ddb4a6280b6207389fbf4f /docs/source/development/reference | |
| parent | b7f829ce8f7c9fce2934b3981493a5d3338143b9 (diff) | |
| download | PROJ-11869e2c4d29f0e607a0f78fb289d253fccd9a16.tar.gz PROJ-11869e2c4d29f0e607a0f78fb289d253fccd9a16.zip | |
Add proj_create_crs_to_crs_from_pj()
I've been frustrated a number of times with proj_create_crs_to_crs()
not accepting a PJ* object for the source and target CRS.
And thus constraining to go back to WKT2 in a artificial way.
Diffstat (limited to 'docs/source/development/reference')
| -rw-r--r-- | docs/source/development/reference/functions.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/source/development/reference/functions.rst b/docs/source/development/reference/functions.rst index 64a4e8ca..e5f48439 100644 --- a/docs/source/development/reference/functions.rst +++ b/docs/source/development/reference/functions.rst @@ -153,6 +153,18 @@ paragraph for more details. :type `area`: PJ_AREA :returns: :c:type:`PJ*` +.. c:function:: PJ* proj_create_crs_to_crs_from_pj(PJ_CONTEXT *ctx, PJ *source_crs, PJ *target_crs, PJ_AREA *area, const char* const *options) + + .. versionadded:: 6.2.0 + + Create a transformation object that is a pipeline between two known + coordinate reference systems. + + This is the same as :c:func:`proj_create_crs_to_crs` except that the source and + target CRS are passed as PJ* objects which must of the CRS variety. + + :param `options`: should be set to NULL currently. + .. c:function:: PJ *proj_normalize_for_visualization(PJ_CONTEXT *ctx, const PJ* obj) .. versionadded:: 6.1.0 |
