This plug-in introduces a vector layer based on the GeoTools DataStore. What this means, is that any type of datastore supported by GeoTools, can be accessed using this layer.
Geotools is an open source (LGPL) Java code library which provides standards compliant methods for the manipulation of geospatial data, for example to implement Geographic Information Systems (GIS). The GeoTools library implements Open Geospatial Consortium (OGC) specifications as they are developed, in close collaboration with the GeoAPI project.
Currently GeoTools 2.6.3is used, through which Geomajas supports for the following formats:
- Shape files
- Databases: DB2, PostGIS, Oracle, JDBC, ...
- ArcSDE
- WFS
Note that only vectorial formats are supported through the geotools layer model!
GeoTools is a well known Java library which is at the heart of many open source GIS packages (e.g. Geoserver). While GeoTools has done an excellent job in creating a generic datastore interface, we think there are some advantages in using a Hibernate Spatial model when complex domain modelling is involved. On the other hand, GeoTools currently offers support for data services like WFS or ArcSDE and complex feature modelling seems to be on their roadmap.
One thing to be aware of when using GeoTools is the fact that its features have to implement a common Feature interface, which means that general POJO objects are not allowed. This means that, unlike with the Hibernate model, one cannot use domain objects that were made in a different context. Geomajas transparently handles both types of features (GeoTools and Hbernate Spatial) by delegating feature access to a specific implementation of the FeatureModel interface for each case.