From 29a50617a1e513feb711829128c109838b084b46 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 10 Mar 2020 11:17:47 +0000 Subject: fix documentation for proj_trans_generic() --- docs/source/development/reference/functions.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/source/development/reference') 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` -- cgit v1.2.3