I am trying to use the extended spatial feature with Stardog. What I have done so far is make sure to turn on spatial indexing for the database. I next download the jts-core-1.14.0.jar, put this in the %STARDOG_HOME%/server/ext directory and set the spatial.use.jts to true in the stardog.properties file.
My first question is how can one be sure that the properties were loaded?
Next to test, I try to import a trig data.trig (1.0 KB) that has a geometry with a Point, and another with a Polygon. I get this exception when I try to import the file:
WARN 2018-12-04 11:58:39,709 [stardog-user-15] com.complexible.stardog.spatial.io.StatementSourceGeospatialSource:parse(95): Failed to parse unknown/malformed shape Polygon((-103.970560 37.494700, -103.970591 37.492456, -103.967732 37.494675, -103.967763 37.492422, -103.970560 37.494700)). Skipping this record
This would hint to me that the properties file was not read and the spatial.use.jts prop was not set. But I do not know a way to see the servers properties when it is started.