Spatial Module

Version 3.3 by Sergiu Dumitriu on 2012/12/03 00:38
Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [dev:XWiki.DesignClassSheet]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Summary
The spatial module objective is to bring storage, indexing and querying facilities for geometry objects in XWiki.

Use cases

  • UC1: It should be possible to create XWiki applications that declare geometric objects fields in its XClass(es). Such geometric objects could be : coordinates (or point, or LatLon), shapes, polygons.
  • UC2: It should be possible to perform geometric operations and queries on those fields, such as computing distance, querying intersection, etc.

Implementation ideas

Storage

Hibernate spatial. See http://www.hibernatespatial.org/

Note: hibernate spatial is integrated in hibernate ORM starting in 4.x.

Search

The idea here is to use Solr Spatial Search module. See http://wiki.apache.org/solr/SpatialSearch

Related thread : http://xwiki.markmail.org/thread/gy6qtgtl2bfbosoa

Current status

Some work started at: https://github.com/jvelo/xwiki-platform/tree/feature-spatial

Get Connected