From fc1a72314c31f2a3dfdbce44e4f5025abd57f365 Mon Sep 17 00:00:00 2001 From: Colin Doig Date: Wed, 11 Mar 2020 00:17:22 +1300 Subject: fix documentation for proj_trans_generic(), see https://github.com/OSGeo/PROJ/issues/2032 (#2037) --- docs/source/development/reference/functions.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/source/development') 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