# geodocker-geomesa **Repository Path**: xiaoliuping/geodocker-geomesa ## Basic Information - **Project Name**: geodocker-geomesa - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-25 - **Last Updated**: 2024-07-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GeoDocker Geomesa Pre-built images are available on [quay.io](https://quay.io/organization/geomesa). 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](https://quay.io/organization/geomesa) 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.