[postgis-users] TopologyException

strk at refractions.net strk at refractions.net
Thu Mar 2 08:56:27 PST 2006


Thank you !
I confirm the input is valid and the exception is thrown.
Reducing precision to FLOATING_SINGLE fixes this specific case.
As a quick fix for yourself try using SnapToGrid with a very
small grid size.

--strk;

On Thu, Mar 02, 2006 at 05:36:49PM +0100, Arnaud Lesauvage wrote:
> strk at refractions.net a écrit :
> >GEOS is still not fully robust.
> >I'm seeking for examples of such exceptions,
> >if you can produce the smallest possible dataset raising
> >the exception that'll help.
> >
> >I'm working on this right now, and I have a single
> >real test (valid geoms raising an exception on overlay op)
> 
> 
> Sure, here you are !
> I paste the WKT here in case attachments don't work on this list :
> 
> cell_geometry
> "POLYGON((742605.987032656 5087763.72510381,742599.903121688 
> 5087760.56016809,742598.666141033 
> 5087762.50894352,742591.100910753 
> 5087758.50480931,742586.861672536 
> 5087766.63211263,742591.417801844 
> 5087769.04526206,742592.428792606 
> 5087767.35034731,742601.541294342 
> 5087772.18101105,742605.987032656 5087763.72510381))"
> "POLYGON((742601.541294537 5087772.18101068,742592.428792606 
> 5087767.35034731,742589.944404072 
> 5087771.51539701,742583.880455986 5087782.54873438,742582.81550675 
> 5087784.27809355,742583.216887765 5087784.43459684,742582.99081514 
> 5087785.0349637,742592.341351823 5087789.67654,742593.375823205 
> 5087787.7060691,742599.28794443 5087776.4640487,742601.541294537 
> 5087772.18101068))"
> 
> Regards
> --
> Arnaud

> cell_geometry
> "POLYGON((742605.987032656 5087763.72510381,742599.903121688 5087760.56016809,742598.666141033 5087762.50894352,742591.100910753 5087758.50480931,742586.861672536 5087766.63211263,742591.417801844 5087769.04526206,742592.428792606 5087767.35034731,742601.541294342 5087772.18101105,742605.987032656 5087763.72510381))"
> "POLYGON((742601.541294537 5087772.18101068,742592.428792606 5087767.35034731,742589.944404072 5087771.51539701,742583.880455986 5087782.54873438,742582.81550675 5087784.27809355,742583.216887765 5087784.43459684,742582.99081514 5087785.0349637,742592.341351823 5087789.67654,742593.375823205 5087787.7060691,742599.28794443 5087776.4640487,742601.541294537 5087772.18101068))"

> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users


-- 
----------------------------------------------------------------------
State-collected Geographic Data is public property !
Reject the INSPIRE directive.
Sign the petition: http://petition.publicgeodata.org



More information about the postgis-users mailing list