[geos-commits] [SCM] GEOS branch main updated. 4dc426119d3fbbc85f42c2cf0613d1a7d001190d

git at osgeo.org git at osgeo.org
Mon Apr 17 14:48:34 PDT 2023


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 "GEOS".

The branch, main has been updated
       via  4dc426119d3fbbc85f42c2cf0613d1a7d001190d (commit)
      from  261ec0fd7eba41d675bbf37b597d4f1e5fba4104 (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 4dc426119d3fbbc85f42c2cf0613d1a7d001190d
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Mon Apr 17 14:48:13 2023 -0700

    C APi doc improvments

diff --git a/capi/geos_c.h.in b/capi/geos_c.h.in
index 7e0d75fc3..53ff9bc70 100644
--- a/capi/geos_c.h.in
+++ b/capi/geos_c.h.in
@@ -3251,8 +3251,8 @@ extern int GEOS_DLL GEOSFrechetDistance(
 * Calculate the
 * [Frechet distance](https://en.wikipedia.org/wiki/Fr%C3%A9chet_distance)
 * between two geometries,
-* a similarity measure for linear features. For more precision, first
-* densify the inputs.
+* a similarity measure for linear features.
+* The inputs can be densified to provide a more accurate result.
 * \param[in] g1 Input geometry
 * \param[in] g2 Input geometry
 * \param[in] densifyFrac The largest % of the overall line length that
@@ -5642,9 +5642,9 @@ extern GEOSGeoJSONReader GEOS_DLL *GEOSGeoJSONReader_create(void);
 extern void GEOS_DLL GEOSGeoJSONReader_destroy(GEOSGeoJSONReader* reader);
 
 /**
-* Use a reader to parse a GeoJSON. A single geometry or feature is
-* converted into a geometry. A featurecollection is converted into a
-* geometrycollection. Feature properties are not read.
+* Use a reader to parse a GeoJSON string. A single geometry or `Feature` is
+* parsed as a geometry. A  `FeatureCollection` is parsed as a
+* `GeometryCollection`. Feature properties are not read.
 * \param reader A GeoJSON reader object, caller retains ownership
 * \param geojson The json string to parse, caller retains ownership
 * \return A \ref GEOSGeometry, caller to free with GEOSGeom_destroy())

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

Summary of changes:
 capi/geos_c.h.in | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list