[PostGIS] #5872: CG_StraightSkeletonPartition should return a geometry collection instead of a multipolygon
PostGIS
trac at osgeo.org
Thu Apr 3 00:16:51 PDT 2025
#5872: CG_StraightSkeletonPartition should return a geometry collection instead of
a multipolygon
---------------------+---------------------------
Reporter: robe | Owner: lbartoletti
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.6.0
Component: sfcgal | Version: master
Resolution: | Keywords:
---------------------+---------------------------
Comment (by lbartoletti):
You're right, a MultiPolygon will always invalid.
I think that I used
[https://gitlab.com/sfcgal/SFCGAL/-/blob/master/src/algorithm/straightSkeleton.cpp?ref_type=heads#L492
MultiPolygon] type because it was simpler (and what we have done for
subdivde in QGIS).
But it's true that we have an SRF in PostGIS. In fact, we can also return
a SRF for CG_StraightSkeleton. However, in the case of SFCGAL, I think
it's probably more appropriate to do a PolyhedralSurface (moreover
PolyhedralSurface and TIN are well-supported in QGIS now). What do you
think?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5872#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