[geos-devel] [GEOS] #580: Contains(Polygon, Point) return False instead of True
GEOS
geos-trac at osgeo.org
Sun Sep 16 13:38:31 PDT 2012
#580: Contains(Polygon, Point) return False instead of True
------------------------+---------------------------------------------------
Reporter: skurlat | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.3.6
Component: Default | Version: 3.3.4
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
Comment(by darkblueb):
this rev works for me:
{{{
select postgis_full_version();
"POSTGIS="2.0.1 r9979" GEOS="3.3.3-CAPI-1.7.4" PROJ="Rel. 4.8.0, 6 March
2012" GDAL="GDAL 2.0dev, released 2011/12/29" LIBXML="2.7.8"
LIBJSON="UNKNOWN" RASTER"
select st_contains(
'POLYGON ((-1.183864 52.951915, -1.183862 52.951903, -1.183890
52.951900, -1.183924 52.951897, -1.183958 52.951894, -1.183954
52.951880, -1.183954 52.951878, -1.183932 52.951841, -1.183904
52.951844, -1.183870 52.951847, -1.183832 52.951852, -1.183824
52.951838, -1.183820 52.951830, -1.183870 52.951819, -1.183886
52.951815, -1.183890 52.951819, -1.183929 52.951810, -1.183909
52.951776, -1.183861 52.951787, -1.183853 52.951788, -1.183842
52.951770, -1.183970 52.951742, -1.183983 52.951763, -1.183963
52.951768, -1.183975 52.951788, -1.183994 52.951785, -1.184009
52.951807, -1.184002 52.951808, -1.184009 52.951835, -1.183990
52.951836, -1.183990 52.951836, -1.183990 52.951838, -1.184001
52.951880, -1.184018 52.951954, -1.184020 52.951956, -1.183998
52.951957, -1.183998 52.951956, -1.183996 52.951948, -1.183970
52.951906, -1.183936 52.951909, -1.183864 52.951915))'::geometry,
'POINT (-1.183972 52.951871)'::geometry );
st_contains
boolean
---------------
t
}}}
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/580#comment:4>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list