[postgis-users] Infinite loop in st_intersects - because of incorrect data out of st_transform?

Sandro Santilli strk at keybit.net
Thu May 26 10:42:35 PDT 2011


On Thu, May 26, 2011 at 07:26:25PM +0200, Sandro Santilli wrote:
> On Thu, May 26, 2011 at 09:51:12AM -0700, Paul Ramsey wrote:
> > On Thu, May 26, 2011 at 9:44 AM, Sandro Santilli <strk at keybit.net> wrote:
> > > On Thu, May 26, 2011 at 09:26:15AM -0700, Paul Ramsey wrote:
> > > > Erm, do old versions of IsValid still catch Inf geometries safely?
> > >
> > > If you have an HEXWKB I can give it a quick try against 3.1.0
> >
> > 0103000020E61000000100000005000000737979F3DDCC2CC0F92154F9E7534540000000000000F07F000000000000F07F8F806E993F7E55C0304B29FFEA8554400634E8D1DD424540B5FEE6A37FCD4540737979F3DDCC2CC0F92154F9E7534540
> 
> 3.1.0 was unsupported.
> 3.1.2 entered the infinite loop on ST_IsValid.

3.2.3 is good:

POSTGIS="2.0.0SVN" GEOS="3.2.3-CAPI-1.6.3" PROJ="Rel. 4.7.1, 23 September 2009" LIBXML="2.7.6" USE_STATS
strk=# select st_isvalid('0103000020E61000000100000005000000737979F3DDCC2CC0F92154F9E7534540000000000000F07F000000000000F07F8F806E993F7E55C0304B29FFEA8554400634E8D1DD424540B5FEE6A37FCD4540737979F3DDCC2CC0F92154F9E7534540'::geometry);       NOTICE:  Invalid Coordinate at or near point inf inf
f

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list