Skip to content

Commit

Permalink
GEOMESA-2784 Remove deprecated raster and native-api modules (#2466)
Browse files Browse the repository at this point in the history
* GEOMESA-2784 Remove deprecated raster and native-api modules

Signed-off-by: Emilio Lahr-Vivaz <elahrvivaz@ccri.com>
  • Loading branch information
elahrvivaz committed Feb 27, 2020
1 parent 36a3c8e commit 2d22ddc
Show file tree
Hide file tree
Showing 83 changed files with 4 additions and 7,323 deletions.
32 changes: 0 additions & 32 deletions docs/bin/import-module-readme.sh

This file was deleted.

80 changes: 0 additions & 80 deletions docs/bin/import-nifi-readme.sh

This file was deleted.

1 change: 0 additions & 1 deletion docs/developer/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ GeoMesa Project Structure
* **geomesa-lambda**: ``DataStore`` implementation that seamlessly uses Kafka for frequent updates and Accumulo for long-term persistence
* **geomesa-memory**: In-memory indexing code
* **geomesa-metrics**: Extensions and configuration for DropWizard metrics integration
* **geomesa-native-api**: Non-GeoTools API for persisting and querying data in Accumulo
* **geomesa-process**: Analytic processes optimized for GeoMesa stores
* **geomesa-security**: API for managing security and authorization levels in GeoMesa
* **geomesa-spark**: Apache Spark integration
Expand Down
116 changes: 0 additions & 116 deletions docs/tutorials/geomesa-raster.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/tutorials/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ Data In/Out
geomesa-blobstore
geomesa-blobstore-exif
geomesa-quickstart-storm
geomesa-raster

.. _tutorials_analytics:

Expand Down
52 changes: 0 additions & 52 deletions docs/user/accumulo/commandline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,55 +259,3 @@ Argument Description
``-c, --catalog *`` The catalog table containing schema metadata
``-f, --feature-name *`` The name of the schema
======================== =========================================================

.. _accumulo_tools_raster:

``ingest-raster``
^^^^^^^^^^^^^^^^^

.. warning::

GeoMesa raster support is deprecated and will be removed in a future version.

Ingest one or more raster image files into Geomesa. Input files, GeoTIFF or DTED, should be located
on the local file system.

.. warning::

In order to ingest rasters, ensure that you install JAI and JLine as described under
:ref:`setting_up_accumulo_commandline`.

Input raster files are assumed to have CRS of ``EPSG:4326``. Non-``EPSG:4326`` files will need to be
converted into ``EPSG:4326`` raster files before ingestion. An example of doing conversion with GDAL is::

gdalwarp -t_srs EPSG:4326 input_file out_file

======================== =========================================================
Argument Description
======================== =========================================================
``-t, --raster-table *`` Accumulo table for storing raster data
``-f, --file *`` A single raster file or a directly containing raster files to ingest
``-F, --format`` The format of raster files, which must match the file extension
``-P, --parallel-level`` Maximum number of local threads for ingesting multiple raster files
``-T, --timestamp`` Ingestion time (defaults to current time)
``--write-memory`` Memory allocation for ingestion operation
``--write-threads`` Numer of threads used for writing raster data
``--query-threads`` Number of threads used for querying raster data
======================== =========================================================

.. warning::

When ingesting rasters from a directory, ensure that the ``--format`` argument matches the file extension of
the files. Otherwise, no files will be ingested.

``delete-raster``
^^^^^^^^^^^^^^^^^

Delete ingested rasters.

======================== =========================================================
Argument Description
======================== =========================================================
``-t, --raster-table *`` Accumulo table for storing raster data
``--force`` Delete without prompting for confirmation
======================== =========================================================
1 change: 0 additions & 1 deletion docs/user/accumulo/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,4 @@ To get started with the Accumulo Data Store, try the :doc:`/tutorials/geomesa-qu
visibilities
jobs
kerberos
raster
examples
14 changes: 3 additions & 11 deletions docs/user/accumulo/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ contain GeoMesa code and the Accumulo iterators required for querying GeoMesa da
GeoMesa requires commons-vfs2.jar 2.1 or later. This JAR ships with Accumulo 1.7.2+, but for older
installations the JAR needs to be updated in ``$ACCUMULO_HOME/lib`` on all Accumulo servers.

.. warning::

There are two runtime JARs available, with and without raster support. Only one is
needed and including both will cause classpath issues.

The version of the distributed runtime JAR must match the version of the GeoMesa
data store client JAR (usually installed in GeoServer; see below). If not,
queries might not work correctly or at all.
Expand All @@ -75,9 +70,6 @@ each tablet server.
# something like this for each tablet server
$ scp dist/accumulo/geomesa-accumulo-distributed-runtime_2.11-$VERSION.jar \
tserver1:$ACCUMULO_HOME/lib/ext
# or for raster support
$ scp dist/accumulo/geomesa-accumulo-raster-distributed-runtime_2.11-$VERSION.jar \
tserver1:$ACCUMULO_HOME/lib/ext
.. note::

Expand Down Expand Up @@ -105,7 +97,7 @@ The command line arguments the script accepts are:
* -n <Accumulo namespace>
* -p <Accumulo password>
* -t <Use a cached Kerberos TGT>
* -g <Path of GeoMesa distributed runtime JAR> (optional, will default to the distribution folder and without raster support)
* -g <Path of GeoMesa distributed runtime JAR> (optional, will default to the distribution folder)
* -h <HDFS URI e.g. hdfs://localhost:9000> (optional, will attempt to determine if not supplied)

Since ``accumulo shell`` does not directly support Kerberos keytabs, if using Kerberos (``-t``) then a cached Kerberos
Expand Down Expand Up @@ -200,8 +192,8 @@ Update and re-source your ``~/.bashrc`` file to include the ``$GEOMESA_ACCUMULO_

See :ref:`slf4j_configuration` for information about configuring the SLF4J implementation.

Due to licensing restrictions, dependencies for shape file support and raster
ingest must be separately installed. Do this with the following commands:
Due to licensing restrictions, dependencies for shape file support
must be separately installed. Do this with the following commands:

.. code-block:: bash
Expand Down

0 comments on commit 2d22ddc

Please sign in to comment.