From: Loren C. <lor...@gm...> - 2011-04-05 16:48:28
|
I am going to be making use of the spatial index. I have turned on the spatial index and have run the unit tests. I will be fixing these tests, but would like to get direction from the community before attempting it. Here are the test results: Unit Test Results. Designed for use with JUnit and Ant. Class org.exist.indexing.spatial.AllSpatialTests Name Tests Errors Failures Time(s) Time Stamp Host AllSpatialTests 8 0 5 11.987 2011-04-05T16:18:45 henry3.zhcomputer.local Tests Name Status Type Time(s) testIndexDocument Success 10.666 testCheckIndex Success 0.000 testScanIndex Failure Unknown index: spatial-index [at line 1, column 306, source: String] junit.framework.AssertionFailedError: Unknown index: spatial-index [at line 1, column 306, source: String] at org.exist.indexing.spatial.GMLIndexTest.testScanIndex(GMLIndexTest.java:218) 1.143 testLowLevelSearch Success 0.012 testHighLevelSearch Failure err:XPST0017 Call to undeclared function: spatial:equals [at line 1, column 192, source: String] junit.framework.AssertionFailedError: err:XPST0017 Call to undeclared function: spatial:equals [at line 1, column 192, source: String] at org.exist.indexing.spatial.GMLIndexTest.testHighLevelSearch(GMLIndexTest.java:374) 0.018 testGeometricProperties Failure err:XPST0017 Call to undeclared function: spatial:getWKT [at line 1, column 192, source: String] junit.framework.AssertionFailedError: err:XPST0017 Call to undeclared function: spatial:getWKT [at line 1, column 192, source: String] at org.exist.indexing.spatial.GMLIndexTest.testGeometricProperties(GMLIndexTest.java:731) 0.005 testGMLProducers Failure err:XPST0017 Call to undeclared function: spatial:transform [at line 1, column 192, source: String] junit.framework.AssertionFailedError: err:XPST0017 Call to undeclared function: spatial:transform [at line 1, column 192, source: String] at org.exist.indexing.spatial.GMLIndexTest.testGMLProducers(GMLIndexTest.java:999) 0.004 testUpdate Failure err:XPST0017 Call to undeclared function: spatial:getArea [at line 1, column 222, source: String] junit.framework.AssertionFailedError: err:XPST0017 Call to undeclared function: spatial:getArea [at line 1, column 222, source: String] at org.exist.indexing.spatial.GMLIndexTest.testUpdate(GMLIndexTest.java:1047) 0.005 |