javageomodel


Geospatial queries in Google App Engine

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:
    • If you use maven, install svn wagon and then in your pom.xml declare a repository:

      `

<repository>

<id>

javageomodel-repo

</id>

<name>

GeocellJava Repository

</name>

<url>

http://javageomodel.googlecode.com/svn/repository

</url>

</repository>

` 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 1. Use method GeocellManager.bestBboxSearchCells to get optimized geocell list to be used in bounding box query. 1. 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.

Project Information

Labels:
geocell geospatial