.. _writers.geowave:

writers.geowave
================================================================================

.. index:: GeoWave

The **GeoWave writer** uses `GeoWave`_ to write to Accumulo.  GeoWave entries
are stored using `EPSG:4326 <http://epsg.io/4326/>`_.

.. plugin::

Example
--------------------------------------------------------------------------------


.. code-block:: json

  [
      {
          "type":"readers.qfit",
          "filename":"inputfile.qi",
          "flip_coordinates":"false",
          "scale_z":"1.0"
      },
      {
          "type":"writers.geowave",
          "zookeeper_url":"zookeeper1:2181,zookeeper2:2181,zookeeper3:2181",
          "instance_name":"GeoWave",
          "username":"user",
          "password":"pass",
          "table_namespace":"PDAL_Table",
          "feature_type_name":"PDAL_Point",
          "data_adapter":"FeatureCollectionDataAdapter",
          "points_per_entry":"5000u"
      }
  ]

Options
-------

zookeeper_url
  The comma-delimited URLs for all zookeeper servers, this will be directly used to
  instantiate a ZookeeperInstance. [Required]

instance_name
  The zookeeper instance name, this will be directly used to instantiate a
  ZookeeperInstance. [Required]

username
  The username for the account to establish an Accumulo connector. [Required]

password
  The password for the account to establish an Accumulo connector. [Required]

table_namespace
  The table name to be used when interacting with GeoWave. [Required]

feature_type_name
  The feature type name to be used when ineracting GeoWave. [Default: PDAL_Point]

data_adapter
  FeatureCollectionDataAdapter stores multiple points per Accumulo entry. FeatureDataAdapter
  stores a single point per Accumulo entry. [Default: FeatureCollectionDataAdapter]

points_per_entry
  Sets the maximum number of points per Accumulo entry when using
  FeatureCollectionDataAdapter. [Default: 5000u]

.. include:: writer_opts.rst

.. _GeoWave: https://github.com/locationtech/geowave

