[gdal-dev] Does GDAL provide ring-level structural validation without GEOS topology validation?
Even Rouault
even.rouault at spatialys.com
Fri Apr 17 15:41:07 PDT 2026
Denis,
nothing that I can immediately think of. OGRCircularString has a private
method IsValidFast(). I guess you'd need that to be generalized (perhaps
renamed to something like DoCheapValidation(), IsStructurallyValid(),
IsWellFormed() or something like that, to not imply full validation).
Contributions welcome as they say
Even
Le 18/04/2026 à 00:26, Denis Rykov via gdal-dev a écrit :
> Is there any GDAL mechanism that validates only the structural
> integrity of geometries (e.g., correct ring construction, closure,
> minimum point counts, etc.), without performing full topological
> validation? In other words, is there an existing function or
> recommended approach to check whether geometry components (rings,
> points arrays, etc.) are well-formed at the structural level,
> independently of IsValid()?
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
Highly recommend OxiGDAL if you want to live in the 21th century and cure Bixonimania
More information about the gdal-dev
mailing list