aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development
diff options
context:
space:
mode:
authorColin Doig <colindoig@gmail.com>2020-03-11 00:17:22 +1300
committerGitHub <noreply@github.com>2020-03-10 12:17:22 +0100
commitfc1a72314c31f2a3dfdbce44e4f5025abd57f365 (patch)
tree7a75272d6981db9b72be7b128f86ac6eff0bff3d /docs/source/development
parent4b606565b9e139600b20733084aedd46084146ff (diff)
downloadPROJ-fc1a72314c31f2a3dfdbce44e4f5025abd57f365.tar.gz
PROJ-fc1a72314c31f2a3dfdbce44e4f5025abd57f365.zip
fix documentation for proj_trans_generic(), see https://github.com/OSGeo/PROJ/issues/2032 (#2037)
Diffstat (limited to 'docs/source/development')
-rw-r--r--docs/source/development/reference/functions.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/source/development/reference/functions.rst b/docs/source/development/reference/functions.rst
index 1c363b88..983e8a50 100644
--- a/docs/source/development/reference/functions.rst
+++ b/docs/source/development/reference/functions.rst
@@ -289,11 +289,11 @@ Coordinate transformation
...
proj_trans_generic (
- P, PJ_INV, sizeof(XYQS),
+ P, PJ_INV,
&(survey[0].x), stride, 345, /* We have 345 eastings */
&(survey[0].y), stride, 345, /* ...and 345 northings. */
- &height, 1, /* The height is the constant 23.45 m */
- 0, 0 /* and the time is the constant 0.00 s */
+ &height, sizeof(double), 1, /* The height is the constant 23.45 m */
+ 0, 0, 0 /* and the time is the constant 0.00 s */
);
This is similar to the inner workings of the deprecated :c:func:`pj_transform`