[postgis-devel] [RASTER] rt_spatial_relationship failing with supercache

Sandro Santilli strk at keybit.net
Thu Jan 19 09:00:05 PST 2012


On Thu, Jan 19, 2012 at 04:50:24PM +0100, Sandro Santilli wrote:
> It seems that r8873, which dropped the use of a tolerance value to distinguish
> between boundary and interior intersection [1] broke a raster test:
> 
> Test is: rt_spatial_relationship:
> 
> -test 1.1|2|36|t
> +test 1.1|2|36|f

I took a look, they should NOT intersect indeed, their distance being
1.58882185807825e-14

> -test 1.3|2|36|t
> +test 1.3|2|36|f

Same thing as above

>  test 2.3|2|35|POINT(-75.5523150760919 49.2818643977074)|4
> +test 2.3|2|36|GEOMETRYCOLLECTION EMPTY|
>  test 2.3|2|41|GEOMETRYCOLLECTION EMPTY|

Again same thing. These are raster 2 and geometry 36.
Basically:

ConvexHull:
POLYGON((-75.5533328537098 49.2824585505576,-75.5517209232417 49.2828821753254,-75.551297298474 49.2812702448573,-75.5529092289421
              49.2808466200896,-75.5533328537098 49.2824585505576))

And:
POINT(-75.5516150170498 49.2824791927083)

So I'll update the expected results.

--strk; 

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



More information about the postgis-devel mailing list