[postgis-tickets] [PostGIS] #3708: within function gives wrong results
PostGIS
trac at osgeo.org
Mon Feb 13 06:41:56 PST 2017
#3708: within function gives wrong results
-------------------------+--------------------------------
Reporter: gisdev1982 | Owner: pramsey
Type: defect | Status: closed
Priority: high | Milestone: PostGIS PostgreSQL
Component: postgis | Version: 1.5.X
Resolution: wontfix | Keywords:
-------------------------+--------------------------------
Changes (by robe):
* status: new => closed
* resolution: => wontfix
Comment:
I tested this on PostGIS 2.3 running GEOS 3.6.1 and it works fine.
{{{
POSTGIS="2.3.2 r15302" GEOS="3.6.1-CAPI-1.10.1 r4317" PROJ="Rel. 4.9.1, 04
March 2015" GDAL="GDAL 2.1.3, released 2017/20/01" LIBXML="2.7.8"
LIBJSON="0.12" RASTER
}}}
{{{
SELECT ST_Within(st_geomfromtext('POLYGON((61 34,66 34,66 31,61 31,61
34))',101), st_geomfromtext('POLYGON((62 48,83 48,83 29,55 29,55 33,62
48))',101));
}}}
st_within
-----------
t
(1 row)
Which version of GEOS are you running? I suspect upgrading your GEOS
might do the trick.
Two reasons why we won't fix this:
1) It's likely this is a GEOS bug, not a PostGIS bug
2) PostGIS 1.5, we at best make only security patches on a version that
old.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3708#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list