My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

This project is a java portage of geomodel python project. Have a look at it to get more information about geocells algorithm.

How to use java geomodel

  1. Get the jar:

and add the dependency:

`
<dependency>
<groupid>
com.beoui
</groupid>
<artifactid>
geocell
</artifactid>
<version>
0.0.4 check the last version available on the repository
</version>
</dependency>
`
  • If you don't use maven, download the latest jar: maven repo
The download of geomodel.jar is DEPRECATED.
  1. Use method GeocellManager.generateGeoCell to get geocell list and save them in your entity
  2. Use method GeocellManager.bestBboxSearchCells to get optimized geocell list to be used in bounding box query.
  3. Use method GeocellManager.proximityFetch to search for entities following proximity fetch algorithm.

More information and example in the test class HowToUseGeocell and in javadoc.

Check the pom.xml for all jar dependencies.

JDO/JPA compatibility

Thanks to the awesome work of Ricardo Gladwell, the library is now compatible with JPA (and library is more tested and cleaner too thanks to him =) )...

Any Questions?

Please ask question on the google group javageomodel-discuss.

Powered by Google Project Hosting