[postgis-users] st_offsetcurve

Sandro Santilli strk at keybit.net
Fri Oct 4 09:45:29 PDT 2013


On Fri, Oct 04, 2013 at 06:21:17PM +0200, franco base wrote:
> Hi Sandro,
> thank you for your answer,
> I'll upgrade my GEOS, but I work for a Public Administration and this
> process is slow.
> 
> So I have Isolated the geometry wher St_OffsetCurve crash.
> There are two type of geometries:
> 
> 1) Geometry with repeated points. I can solve the problem using:
>  St_OffsetCurve (ST_RemoveRepeatedPoints(geom), 10)
> 
> 
> 2) Geomtery with repeated points but non consequential (see the .jpg)
> 
> The geometry is
> "0102000020BB0B000013000000F49BB3FCAA3037413033606B9C3253412FD60B7D61303741EDE29F4E9B3253416842DD0745303741DD30E3C89A3253417776B8621830374149B42AE399325341EDC13D130430374122AE490A983253415FAF500FFC2F37410A84A0DD943253415500A09BFE2F3741D62BEB178532534166ECD670FF2F3741F01372E67A3253417713ABF605303741CE2AF9FC77325341BBA13CB0283037415C422E6F713253410B10133F2E303741256D85F770325341A024E9F33330374115D50563713253414B75A9D4363037419868B9B8723253410DFDE549353037415AF87C3177325341CAF46320303037411170B9E88F325341536848BF2F30374135F86EA19532534180088DD2363037417D62C985983253416842DD0745303741DD30E3C89A3253412FD60B7D61303741EDE29F4E9B325341"

> You think that GEOS-3.3.9, or 3.4.2. solve this problem or this is a "bug"
> of the St_OffsetCurve.

I can tell you it's _not_ fixed in 3.4.2 :(
Could you file a ticket please ?
Add the RemoveRepeatedPoints trick, is useful!

--strk;


More information about the postgis-users mailing list