Hi Frans, The "st_within" geometry function checks whether a haystack_shape contains the needle_shape. If proximity is specified, it is treated as an extra wide border around haystack_shape. In currnet version, only a combination of bounding box and a point is supported, this functionality will be extended in the next release.
I hope this answers your question. Genarally, if you can provide some sample data and the queries being run it would help in understanding of the issue being reported ... Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 20 Mar 2014, at 13:12, Frans Knibbe | Geodan <frans.kni...@geodan.nl> wrote: > Hello, > > I have loaded some spatial data in Virtuoso Open Source 7.1. The geometries > are polygons and multipolygons. The geometries are adjacent to each other, > they do not overlap. However, when I tried a SPARQL query with a FILTER > bif:st_within, to get the polygon that contains a certain point that I > specify in the query, the first test I performed returned two geometries. I > do not use the tolerance parameter of st_within, so that should be 0. > > The geometries are exported from PostGIS and I can draw the original > geometries in a map. Doing that gives me a visual confirmation that the query > should only return one geometry. > > Based on my simple test, I get the impression that st_within works with the > bounding box of a geometry, not the geometry itself. Can this be confirmed or > denied? > > Regards, > Frans > > > Frans Knibbe > Geodan > President Kennedylaan 1 > 1079 MB Amsterdam (NL) > > T +31 (0)20 - 5711 347 > E frans.kni...@geodan.nl > www.geodan.nl | disclaimer > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech_______________________________________________ > Virtuoso-users mailing list > Virtuoso-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/virtuoso-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Virtuoso-users mailing list Virtuoso-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtuoso-users