Skip to content

FxKu/geodocker-geomesa

 
 

Repository files navigation

GeoDocker Geomesa

Pre-built images are available on quay.io.

To create a GeoMesa Accumulo instance, clone the repo and execute the following commands:

$ cd geodocker-accumulo-geomesa
$ docker-compose up

This will create a small cluster consisting of HDFS, Zookeeper, Accumulo and GeoServer. The GeoMesa distributed-runtime jar is installed in the Accumulo classpath. The GeoMesa command line tools are installed in the Accumulo master instance under /opt/geomesa/.

Accumulo is available on the standard ports, and GeoServer is available on port 9090.

Image Versions

The images used are specified in docker-compose.yml.

By default, images from quay.io are used, but you may modify the file to point to local images or another repository.

Quick Start

To connect to the Accumulo master instance, run:

$ docker exec -ti geodocker-accumulo-geomesa_accumulo-master_1 /usr/bin/bash

To ingest some sample data, use the GeoMesa command line tools:

$ cd /opt/geomesa/bin
$ ./geomesa-accumulo ingest -C example-csv -c example -u root -p GisPwd -s example-csv ../examples/ingest/csv/example.csv

To export data:

$ ./geomesa-accumulo export -c example -u root -p GisPwd -f example-csv

To view data in GeoServer, go to http://localhost:9090/geoserver/web, login with admin:geoserver, click 'Stores' in the left gutter, then 'Add new store', then Accumulo (GeoMesa). Use the following parameters:

  • accumulo.instance.id = accumulo
  • accumulo.zookeepers = zookeeper
  • accumulo.user = root
  • accumulo.password = GisPwd
  • accumulo.catalog = example (from the ingest command above)

Click 'save'. You should see the 'example-csv' layer available to publish.

About

Containers for GeoMesa enable Accumulo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.2%
  • Jupyter Notebook 4.2%
  • Shell 3.6%
  • CSS 3.1%
  • Makefile 1.6%
  • Python 0.3%