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

Paul Ramsey pramsey at opengeo.org
Thu May 26 09:26:15 PDT 2011


Erm, do old versions of IsValid still catch Inf geometries safely?

On Thu, May 26, 2011 at 9:05 AM, Sandro Santilli <strk at keybit.net> wrote:
> On Thu, May 26, 2011 at 08:12:19AM -0700, Paul Ramsey wrote:
>> OK then either
>> (a) we test for Inf boxes at the head of each GEOS function we care
>> about protecting (and not IsValid* functions)
>> (b) we put a pre-test in the IsValid* functions to check for Inf boxes
>> Preferences?
>
> I like (a) more, done by a function, and only if GEOS version is < 3.3.0.
>
> This is because we might one day have the current ST_MakeValid function
> move down to GEOS and also handle inf/nan somehow.
>
> --strk;
>
>  ()   Free GIS & Flash consultant/developer
>  /\   http://strk.keybit.net/services.html
> _______________________________________________
> 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