[postgis-users] ERROR: pt_in_ring_2d: V[n] != V[0]
Stephen Woodbridge
woodbri at swoodbridge.com
Fri Dec 9 07:12:15 PST 2011
strk,
I have been able to jump through some hoops with the problematic records
and got them cleaned to the point that they are no longer generating errors.
For the worse of them, I was able to dump them astext() and then copy
the first point and add it to the ring at the end and this allow me to
work with them.
Thanks,
-Steve
On 12/9/2011 6:30 AM, Sandro Santilli wrote:
> On Thu, Dec 08, 2011 at 03:48:13PM -0500, Stephen Woodbridge wrote:
>> Upgraded to PostGIS 1.5.3 and get the same problem.
>>
>> select gid, st_isvalidreason(the_geom) from parcels where not
>> isvalid(the_geom);
> ...
>> ERROR: POSTGIS2GEOS conversion failed
>
> Sounds like a dejavu here. Maybe I fixed this in 2.0 only,
> where you also have tools to clean your geometry.
>
> For now I wouldn't consider it an urgent bug unless you're
> unable to dump your table for upgrading to 2.0.
>
> --strk;
>
> ,------o-.
> | __/ | Thank you for PostGIS-2.0 Topology !
> | / 2.0 | http://www.pledgebank.com/postgistopology
> `-o------'
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list