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 <http://www.geodan.nl> | disclaimer <http://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

Reply via email to