Opened 10 years ago

Closed 10 years ago

Last modified 9 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:


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);
(1 row)

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

Change History (4)

comment:1 by robe, 10 years ago


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 by pramsey, 10 years ago

Milestone: PostGIS 2.1.2PostGIS 2.1.3

comment:3 by pramsey, 10 years ago

Resolution: worksforme
Status: newclosed

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

comment:4 by mwanner, 9 years ago

Confirming this is closed, as 2.1.4 built just fine for armel on Debian (see

Note: See TracTickets for help on using tickets.