Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#2606 closed defect (worksforme)

armel: _st_intersects returns true for point outside of a polygon

Reported by: mwanner Owned by: pramsey
Priority: medium Milestone: PostGIS 2.1.4
Component: postgis Version: 2.1.x
Keywords: Cc:

Description

Not sure if this is related to #2605 or not, but _st_intersects() also returns a bogus result:

SELECT _st_intersects('POINT(0.5 9)'::geometry,
                      'POLYGON((0 0, 10 10, 1 0, 0 0))'::geometry);
 _st_intersects 
----------------
 t
(1 row)

This is the reason for test tickets, #852 failing on arm.

Change History (4)

comment:1 Changed 8 years ago by robe

Marc,

Can you spit out the:

SELECT postgis_full_version(),
 ST_Distance('POINT(0.5 9)'::geometry,'POLYGON((0 0, 10 10, 1 0, 0 0))'::geometry);

I think our _ST_Intersects checks for polygon/point are all internal PostGIS (don't rely on GEOS, but I forget).

FWIW: for distance on 2.1.2dev I get: 6.01040764008565

comment:2 Changed 8 years ago by pramsey

Milestone: PostGIS 2.1.2PostGIS 2.1.3

comment:3 Changed 7 years ago by pramsey

Resolution: worksforme
Status: newclosed

I'm going to hope this is closed out by #2605, since I have no way to replicate.

comment:4 Changed 7 years ago by mwanner

Confirming this is closed, as 2.1.4 built just fine for armel on Debian (see https://buildd.debian.org/status/package.php?p=postgis).

Note: See TracTickets for help on using tickets.