Hi !
When I add triples with a <http://www.opengis.net/ont/geosparql#geometry>
statement, they seem to be automatically spatially indexed. At least, I can
use this filter clause in my SPARQL queries (replacing {{...}} values by a
number) :
FILTER(
> bif:st_intersects ( ?geom, bif:st_geomfromtext("BOX({{xmin}} {{ymin}},
> {{xmax}} {{ymax}})") )
> )
This works pretty well !
However, if I change the <http://www.opengis.net/ont/geosparql#geometry>
property afterwards (by deleting the triple and adding another one), the
spatial index doesn't seem to update. The filter doesn't work anymore and
filters out the features (it seems).
I'm a bit lost, since I've no idea where the magic lies in the creation of
the spatial index. Is there a function to refresh the index for all <
http://www.opengis.net/ont/geosparql#geometry> properties ?
Thanks in advance !
Olivier Dalang
---
Digital Humanities Lab (DHLAB) - http://dhlab.epfl.ch
EPFL CDH DHLAB / CM 2 271
Station 10 / CH-1015 Lausanne
Tel. +41 21 693 02 46
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users