[postgis-tickets] [SCM] PostGIS branch master updated. d6ac9a570dddbb51b804b49435a0a132670f689b

git at osgeo.org git at osgeo.org
Sat Nov 23 06:18:36 PST 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  d6ac9a570dddbb51b804b49435a0a132670f689b (commit)
      from  2839c9415a6ffa9ca4cd850e2119f1b9b877fef0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d6ac9a570dddbb51b804b49435a0a132670f689b
Author: Raúl Marín <git at rmr.ninja>
Date:   Sat Nov 23 15:18:23 2019 +0100

    liblwgeom.h: Fix some documentation issues

diff --git a/liblwgeom/liblwgeom.h.in b/liblwgeom/liblwgeom.h.in
index 3e01ee1..516cfaa 100644
--- a/liblwgeom/liblwgeom.h.in
+++ b/liblwgeom/liblwgeom.h.in
@@ -1034,7 +1034,7 @@ extern POINTARRAY *ptarray_addPoint(const POINTARRAY *pa, uint8_t *p, size_t pdi
 
 /**
  * @brief Remove a point from a pointarray.
- *  @param which -  is the offset (starting at 0)
+ * @param where -  is the offset (starting at 0)
  * @return #POINTARRAY is newly allocated
  */
 extern POINTARRAY *ptarray_removePoint(POINTARRAY *pa, uint32_t where);
@@ -2141,22 +2141,25 @@ LWGEOM_UNPARSER_RESULT;
 */
 
 /**
-* @param lwgeom geometry to convert to WKT
+* @param geom geometry to convert to WKT
 * @param variant output format to use (WKT_ISO, WKT_SFSQL, WKT_EXTENDED)
+* @param size_out (Out parameter) size of the buffer
 */
 extern char*   lwgeom_to_wkt(const LWGEOM *geom, uint8_t variant, int precision, size_t *size_out);
 
 /**
-* @param lwgeom geometry to convert to WKT
+* @param geom geometry to convert to WKT
 * @param variant output format to use
 *                (WKB_ISO, WKB_SFSQL, WKB_EXTENDED, WKB_NDR, WKB_XDR)
+* @param size_out (Out parameter) size of the buffer
 */
 extern uint8_t*  lwgeom_to_wkb(const LWGEOM *geom, uint8_t variant, size_t *size_out);
 
 /**
-* @param lwgeom geometry to convert to HEXWKB
+* @param geom geometry to convert to HEXWKB
 * @param variant output format to use
 *                (WKB_ISO, WKB_SFSQL, WKB_EXTENDED, WKB_NDR, WKB_XDR)
+* @param size_out (Out parameter) size of the buffer
 */
 extern char*   lwgeom_to_hexwkb(const LWGEOM *geom, uint8_t variant, size_t *size_out);
 
@@ -2166,9 +2169,9 @@ extern char*   lwgeom_to_hexwkb(const LWGEOM *geom, uint8_t variant, size_t *siz
 extern char *lwgeom_to_ewkt(const LWGEOM *lwgeom);
 
 /**
- * @param check parser check flags, see LW_PARSER_CHECK_* macros
- * @param size length of WKB byte buffer
+ * @param wkb_size length of WKB byte buffer
  * @param wkb WKB byte buffer
+ * @param check parser check flags, see LW_PARSER_CHECK_* macros
  */
 extern LWGEOM* lwgeom_from_wkb(const uint8_t *wkb, const size_t wkb_size, const char check);
 
@@ -2208,8 +2211,9 @@ extern char *lwmessage_truncate(char *str, int startpos, int endpos, int maxleng
 */
 
 /**
+ * @param twkb Input twkb buffer
+ * @param twkb_size parser check flags, see LW_PARSER_CHECK_* macros
  * @param check parser check flags, see LW_PARSER_CHECK_* macros
- * @param size parser check flags, see LW_PARSER_CHECK_* macros
  */
 extern LWGEOM* lwgeom_from_twkb(const uint8_t *twkb, size_t twkb_size, char check);
 
@@ -2304,7 +2308,7 @@ typedef enum {
 /**
  * @param geom input geometry
  * @param tol tolerance, semantic driven by tolerance_type
- * @param tolerance_type see LW_LINEARIZE_TOLERANCE_TYPE
+ * @param type see LW_LINEARIZE_TOLERANCE_TYPE
  * @param flags bitwise OR of operational flags, see LW_LINEARIZE_FLAGS
  *
  * @return a newly allocated LWGEOM
@@ -2391,7 +2395,7 @@ projPJ projpj_from_string(const char* txt);
 /**
  * Transform (reproject) a geometry in-place.
  * @param geom the geometry to transform
- * @param PJ the input and output
+ * @param pj the input and output
  */
 int lwgeom_transform(LWGEOM *geom, LWPROJ* pj);
 int ptarray_transform(POINTARRAY *pa, LWPROJ* pj);

-----------------------------------------------------------------------

Summary of changes:
 liblwgeom/liblwgeom.h.in | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list