[postgis-devel] Problem in st_StriaghtSkeleton - Hangs!

Regina Obe lr at pcorp.us
Wed Jan 17 17:00:03 PST 2018


Well I built with the master and also the 1.3.x branch and hangs there too so I ticketed the issue.

https://github.com/Oslandia/SFCGAL/issues/153

BTW, I thinking about this more, I think ST_ApproximateMedialAxis is closer to what you are looking for, but that one since it wraps ST_StraightSkeleton suffers the same issue.

http://postgis.net/docs/manual-dev/ST_ApproximateMedialAxis.html



-----Original Message-----
From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Wednesday, January 17, 2018 2:47 PM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org>
Subject: [postgis-devel] Problem in st_StriaghtSkeleton - Hangs!

Hi all,

I have run into a problem using st_StraightSkelton() where it appears to hang at 100 cpu. Maybe an endless loop?

select st_straightskeleton('POLYGON((256 760,518 760,518 630,674 630,674
239,673 239,127 239,127 240,126 240,126 513,127 513,127 514,126 514,126
630,255 630,256 630,256 760),(128 629,128 423,270 423,270 422,271
422,271 240,672 240,672 629,128 629),(258 759,258 631,516 631,516
759,258 759),(128 421,128 240,269 240,269 421,128 421))'::geometry);

POSTGIS="2.3.3 r15473" GEOS="3.5.1-CAPI-1.9.1 r4246" SFCGAL="1.2.2" 
PROJ="Rel. 4.9.2, 08 September 2015" GDAL="GDAL 1.11.3, released 2015/09/16" LIBXML="2.9.3" LIBJSON="0.11.99" RASTER

Can anyone reproduce this?
Any idea how to work around it?

Is there a non-CGAL version of skeleton?

Thanks,
   -Steve

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-devel



More information about the postgis-devel mailing list