diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-03-10 12:37:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-10 12:37:42 +0100 |
| commit | ad1732b5e4d3ba1652f8f8b154d62fa8bd7f28c1 (patch) | |
| tree | d52b1c200e7dca514cbdd7fdde6d0ac4cfc384e4 /docs/source/development/reference | |
| parent | 056e9b8051dd5b2eed58b4825b7e525076d33ecc (diff) | |
| parent | 29a50617a1e513feb711829128c109838b084b46 (diff) | |
| download | PROJ-ad1732b5e4d3ba1652f8f8b154d62fa8bd7f28c1.tar.gz PROJ-ad1732b5e4d3ba1652f8f8b154d62fa8bd7f28c1.zip | |
Merge pull request #2041 from PROJ-BOT/backport-2037-to-7.0
[Backport 7.0] fix documentation for proj_trans_generic()
Diffstat (limited to 'docs/source/development/reference')
| -rw-r--r-- | docs/source/development/reference/functions.rst | 6 |
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` |
