GeoWave provides geospatial and temporal indexing on top of Accumulo, HBase, BigTable, Cassandra, Kudu, Redis, RocksDB, and DynamoDB.
Continuous Integration | License | Chat |
---|---|---|
GeoWave is an open source set of software that:
Basically, GeoWave is working to bridge geospatial software with modern key/value stores and distributed compute systems.
You can use Maven to reference pre-built GeoWave artifacts with the following pom.xml snippet (replacing ${keyvalue-datastore}
with your data store of choice and ${geowave.version}
with the GeoWave version you’d like to use):
<dependencies>
<dependency>
<groupId>org.locationtech.geowave</groupId>
<artifactId>geowave-datastore-${keyvalue-datastore}</artifactId>
<version>${geowave.version}</version>
</dependency>
<dependency>
<groupId>org.locationtech.geowave</groupId>
<artifactId>geowave-adapter-vector</artifactId>
<version>${geowave.version}</version>
</dependency>
<dependency>
<groupId>org.locationtech.geowave</groupId>
<artifactId>geowave-adapter-raster</artifactId>
<version>${geowave.version}</version>
</dependency>
</dependencies>
Use the libraries available in the api
package to leverage GeoWave’s capabilities (where <data store options>
might be AccumuloRequiredOptions
or HBaseRequiredOptions
and simple examples of creating the data type and index can be found in SimpleIngest
within the examples
directory):
DataStore store = DataStoreFactory.createDataStore(<data store options>);
store.addType(<my data type>, <my index>);
try(Writer writer = store.createWriter()){
//write data
writer.writer(<data>);
}
//this just queries everything
try(CloseableIterator it = store.query(QueryBuilder.newBuilder().build())){
while(it.hasNext()){
//retrieve results matching query criteria and do something
it.next();
}
}
See the Developer Guide for more detailed programmatic API examples.
Alternatively, you can always use the GeoWave command-line to access the same capabilities:
# Add a new RocksDB data store called myStore in the current directory
geowave store add -t rocksdb myStore
# Add a spatial index called spatialIdx to myStore
geowave index add -t spatial myStore spatialIdx
# Ingest a shapefile with states into myStore in the spatialIdx index
geowave ingest localToGW -f geotools-vector states.shp myStore spatialIdx
# Query all the data in the states type from myStore
geowave vector query "SELECT * FROM myStore.states"
See the CLI documentation for a full list of commands and their options.
See Example Screenshots in the GeoWave Overview for more information.
We work to maintain a N and N-1 tested and supported version pace for the following core libraries.
GeoServer | GeoTools | Accumulo | HBase | Hadoop | Java |
---|---|---|---|---|---|
2.19.x | 25.x | [1.9.x,2.0.x] | 2.4.x | [2.10.x,3.1.x] | Java8 |
GeoWave was originally developed at the National Geospatial-Intelligence Agency (NGA) in collaboration with RadiantBlue Technologies (now Maxar Technologies) and Booz Allen Hamilton. The software use, modification, and distribution rights are stipulated within the Apache 2.0 license.
All pull request contributions to this project will be released under the Apache 2.0 or compatible license. Contributions are welcome and guidelines are provided here.
Did I mention our documentation!