RE: How to enable GeoSPARQL support for endpoint on MongoDB?

2018-05-09 Thread White, Eric
Joost, You might want to confirm that non-geo data can be added and queried. If only geo data isn't working then try stopping Tomcat and modifying your "/webapps/web.rya/WEB-INF/spring/spring-mongodb-geo.xml" file (back it up first). Change the line: To: Save the file and then

RE: How to enable GeoSPARQL support for endpoint on MongoDB?

2018-05-09 Thread Meier, Caleb
Hey Joost, Have a look at the following IT to make sure that you are formatting your queries correctly: https://github.com/apache/incubator-rya/blob/master/extras/rya.geoindexing/geo.mongo/src/test/java/org/apache/rya/indexing/mongo/MongoGeoIndexerFilterIT.java Carefully compare your geo

Re: How to enable GeoSPARQL support for endpoint on MongoDB?

2018-05-09 Thread Joost Farla
Hi Eric, Thanks for replying! Indexing and querying non-geo data is working well. However, when filtering by a GeoSPARQL predicate, the query runs without errors, but the result set is empty (where I would expect 1 binding). Please see the exact data and query in my initial posting. Indexing

RE: How to enable GeoSPARQL support for endpoint on MongoDB?

2018-05-09 Thread White, Eric
Sounds like it's still not enabling geo entirely. "sc.use_geo" appears to never be set in the conf. Modify "spring-root-extensions.xml": Add in "sc.use_geo" to the "hadoopConf": ... ... sc.use_geo=${sc.use_geo} ... ... Thanks, -Eric White

RE: How to enable GeoSPARQL support for endpoint on MongoDB?

2018-05-09 Thread White, Eric
Nevermind. Make that change in "spring-mongodb-geo.xml" NOT "spring-root-extensions.xml". And add all the other geo related properties in there over too. sc.geo.table=${sc.geo.table} sc.geo.predicates=${sc.geo.predicates} sc.geo.numPartitions=${sc.geo.numPartitions}