[PostGIS] #6008: Add a Variant of ST_Polygon(raster) with Guaranteed Valid Geometry Output
PostGIS
trac at osgeo.org
Tue Oct 21 08:57:08 PDT 2025
#6008: Add a Variant of ST_Polygon(raster) with Guaranteed Valid Geometry Output
-------------------------+-------------------------------------------------
Reporter: | Owner: robe
GISuser5432 |
Type: task | Status: new
Priority: high | Milestone: PostGIS 3.6.1
Component: raster | Version: 3.6.x
Resolution: | Keywords: PostGIS_Raster; ST_Polygon(rast);
| Valid Geometry;
-------------------------+-------------------------------------------------
Comment (by pramsey):
Passing the output through `ST_MakeValid(geom, 'method=structure')` or
`ST_MakeValid(geom, 'method=linework')` is something you can do now. If
the actual `ST_Polygon` function is failing, that's a different problem
entirely, and looking at
[https://github.com/postgis/postgis/pull/674/files GH674] not a problem
that was introduced when the validity checks were removed. I'd rather you
just wrap your function in ST_MakeValid than add a flag that just does the
exact same thing.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6008#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list