You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rya.apache.org by "Grady, Brendan J [US] (MS)" <Br...@ngc.com> on 2018/07/19 18:00:27 UTC

Turning on GeoIndexing/GeoFunctions -- Accumulo deployment

Hello,

I am trying to deploy the web.rya ReST endpt with Secondary Geo Indexing and the GeoFunctions turned on.  I am deploying on top of Accumulo.

What I've done so far:

1)      Ran the build with the "-P geoindexing" Profile

2)      Added the following values to environment.properties as:

*         sc.use_geo=true

*         sc.geo.table=knowledge_geo

*         sc.geo.geo_indexer_type=org.apache.rya.indexing.accumulo.geo.GeoWaveGeoIndexer

*         sc.geo.predicates=http://www.opengis.net/ont/geosparql#asWKT,http://www.opengis.net/ont/geosparql#asGML

This deploys fine and executes standard SPARQL as expected.   Where it falls down is when I try to filter using sfWithin,  I get a stack trace that is caused by "org.openrdf.query.QueryEvaluationException: Unknown function 'http://www.opengis.net/def/function/geosparql/sfWithin'  I've also noticed that a knowledge_geo table has not been created in Accumulo ( even after inserting new asWKT triples ) - leading me to think it's not turning on.

Does anyone have a how-to for how to enable geoindexing/geofunctions?  ( or an updated spring-root.xml, which based on older,outdated tickets points to why the geo capabilities aren't turning on )

Best Regards,
Brendan Grady