<div dir="ltr">My CPU also hangs at 100% on:<br>POSTGIS="2.5.0dev r16327" [EXTENSION] PGSQL="100" GEOS="3.6.2-CAPI-1.10.2 4d2925d6" SFCGAL="1.3.1" PROJ="Rel. 4.9.3, 15 August 2016" GDAL="GDAL 2.2.3, released 2017/11/20" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.2.1" RASTER │<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 17, 2018 at 9:42 PM, Regina Obe <span dir="ltr"><<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Well it certainly takes longer than I care to wait and not cancellable.  But CPU on my end is not spiking.<br>
<br>
But I'm running a 1.3 branch (dated in September 7, 2017), but unfortunately.<br>
<br>
I know the 1.2.2 version had tons of issues with things including ST_StraightSkeleton, so I suspect ST_StraightSkeleton is pretty unusable in the 1.2 versions.<br>
<br>
The rest of issues I see are with the output<br>
<br>
<a href="https://github.com/Oslandia/SFCGAL/issues" rel="noreferrer" target="_blank">https://github.com/Oslandia/<wbr>SFCGAL/issues</a><br>
<br>
I'm going to try to build against latests head (my last head build seems to have failed).<br>
<br>
I thought Stephen Mathers had written one that doesn't require SFCGAL, though I could be mistaken.<br>
<br>
Steve - if you are on list can you respond?<br>
<br>
Thanks,<br>
Regina<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: postgis-devel [mailto:<a href="mailto:postgis-devel-bounces@lists.osgeo.org">postgis-devel-bounces@<wbr>lists.osgeo.org</a>] On Behalf Of Stephen Woodbridge<br>
Sent: Wednesday, January 17, 2018 2:47 PM<br>
To: PostGIS Development Discussion <<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><wbr>><br>
Subject: [postgis-devel] Problem in st_StriaghtSkeleton - Hangs!<br>
<br>
Hi all,<br>
<br>
I have run into a problem using st_StraightSkelton() where it appears to hang at 100 cpu. Maybe an endless loop?<br>
<br>
select st_straightskeleton('POLYGON((<wbr>256 760,518 760,518 630,674 630,674<br>
239,673 239,127 239,127 240,126 240,126 513,127 513,127 514,126 514,126<br>
630,255 630,256 630,256 760),(128 629,128 423,270 423,270 422,271<br>
422,271 240,672 240,672 629,128 629),(258 759,258 631,516 631,516<br>
759,258 759),(128 421,128 240,269 240,269 421,128 421))'::geometry);<br>
<br>
POSTGIS="2.3.3 r15473" GEOS="3.5.1-CAPI-1.9.1 r4246" SFCGAL="1.2.2"<br>
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<br>
<br>
Can anyone reproduce this?<br>
Any idea how to work around it?<br>
<br>
Is there a non-CGAL version of skeleton?<br>
<br>
Thanks,<br>
   -Steve<br>
<br>
---<br>
This email has been checked for viruses by Avast antivirus software.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/<wbr>antivirus</a><br>
<br>
______________________________<wbr>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a><br>
<br>
______________________________<wbr>_________________<br>
postgis-devel mailing list<br>
<a href="mailto:postgis-devel@lists.osgeo.org">postgis-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/postgis-devel</a></blockquote></div><br></div>