Skip site navigation (1) Skip section navigation (2)

BUG #2533: PostGIS- envelope function returns wrong results

From: "Vania Bogorny" <vbogorny(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2533: PostGIS- envelope function returns wrong results
Date: 2006-07-16 13:11:53
Message-ID: 200607161311.k6GDBrIS099455@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      2533
Logged by:          Vania Bogorny
Email address:      vbogorny(at)gmail(dot)com
PostgreSQL version: 7.4
Operating system:   Windows XP
Description:        PostGIS- envelope function returns wrong results
Details: 

I would like to report an error with the evelope function in PostGIS (Geos
library).

According to the OGC, two geometries may only overlap if they are both of
the same type. I performed a query in PostGIS with 2 objects one polygon and
on multi-line. using the overlaps operation with the envelope function this
query returned 71 rows. It should return zero, since polygons and lines may
cross, an not overlap. Indeed, the crosses operations returns zero rows
among this objects using the evelope function. 

Have you already presented a solution for the envelope operation or has this
problem not been reported previously.

Regards,
Vania

Responses

pgsql-bugs by date

Next:From: Theodore PetroskyDate: 2006-07-16 13:32:42
Subject: Re: postgresql bug on macosx
Previous:From: Konstantin PavlovskyDate: 2006-07-16 11:03:32
Subject: postgresql bug on macosx

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group