Skip to content

Commit

Permalink
Merge branch 'main' into 2.12-2
Browse files Browse the repository at this point in the history
  • Loading branch information
elahrvivaz committed Jan 13, 2021
2 parents d65ee3f + 9f8e833 commit c10a701
Show file tree
Hide file tree
Showing 1,602 changed files with 2,332 additions and 1,720 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
6 changes: 0 additions & 6 deletions build/copyright/ccri-dstl-2016.txt

This file was deleted.

6 changes: 0 additions & 6 deletions build/copyright/ccri-dstl-2020.txt

This file was deleted.

2 changes: 1 addition & 1 deletion build/copyright/ccri-dstl.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright (c) ${project.inceptionYear}-${year} ${owner}
Portions Crown Copyright (c) 2017-${year} Dstl
Portions Crown Copyright (c) 2016-${year} Dstl
All rights reserved. This program and the accompanying materials
are made available under the terms of the Apache License, Version 2.0
which accompanies this distribution and is available at
Expand Down
2 changes: 1 addition & 1 deletion build/copyright/dstl.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Crown Copyright (c) 2017-${year} Dstl
Crown Copyright (c) 2016-${year} Dstl
All rights reserved. This program and the accompanying materials
are made available under the terms of the Apache License, Version 2.0
which accompanies this distribution and is available at
Expand Down
2 changes: 1 addition & 1 deletion docs/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# General information about the project.
project = u'GeoMesa'
# note: shown in our custom footer
copyright = u'2013-2020'
copyright = u'2013-2021'
author = u''

# The version info for the project you're documenting, acts as replacement for
Expand Down
2 changes: 2 additions & 0 deletions docs/user/datastores/index_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ The following versions are available:
4 1.3.1 Support for table sharing
5 2.0.0 Uses fixed Z-curve implementation
6 2.3.0 Configurable attributes
7 3.2.0 Fixes yearly epoch indexing
============= =============== =================================================================

.. tab:: Z2
Expand All @@ -161,6 +162,7 @@ The following versions are available:
============= =============== =================================================================
1 1.2.5 Initial implementation
2 2.3.0 Configurable attributes
3 3.2.0 Fixes yearly epoch indexing
============= =============== =================================================================

.. tab:: XZ2
Expand Down
32 changes: 32 additions & 0 deletions docs/user/datastores/query_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,38 @@ QueryHints.EXACT_COUNT ``Boolean`` ``true`` or ``false``

...&viewparams=EXACT_COUNT:true

Filter Compatibility
--------------------

GeoMesa provides a limited compatibility mode, which allows for using a newer client version with
an older distributed-runtime version, for back-ends that have a distributed installation. Currently
only GeoMesa 1.3.7 on Accumulo is supported, with the compatibility flag ``1.3``. Only basic
spatio-temporal queries are supported, without transforms or advanced options.

======================== ======================= ===========================
Key Type GeoServer Conversion
======================== ======================= ===========================
QueryHints.FILTER_COMPAT String distributed install version
======================== ======================= ===========================

.. tabs::

.. code-tab:: java

import org.locationtech.geomesa.index.conf.QueryHints;

query.getHints().put(QueryHints.FILTER_COMPAT(), "1.3");

.. code-tab:: scala

import org.locationtech.geomesa.index.conf.QueryHints

query.getHints.put(QueryHints.FILTER_COMPAT, "1.3")

.. code-tab:: none GeoServer

...&viewparams=FILTER_COMPAT:1.3

.. _query_index_hint:

Query Index
Expand Down
14 changes: 11 additions & 3 deletions docs/user/geoserver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,21 @@ version to install. It is recommended to use the latest GeoServer bug-fix releas
+-------------------+-------------------+
| GeoMesa Version | GeoServer Version |
+===================+===================+
| 2.1.x and earlier | 2.12.x |
| 3.2.x | 2.17.3 |
+-------------------+-------------------+
| 3.1.1 | 2.17.3 |
+-------------------+-------------------+
| 3.1.0 | 2.17.0 |
+-------------------+-------------------+
| 2.2.x and 2.3.x | 2.14.x |
| 3.0.x | 2.17.0 |
+-------------------+-------------------+
| 2.4.x | 2.15.x |
+-------------------+-------------------+
| 3.0.x and 3.1.x | 2.17.x |
| 2.3.x | 2.14.x |
+-------------------+-------------------+
| 2.2.x | 2.14.x |
+-------------------+-------------------+
| 2.1.x and earlier | 2.12.x |
+-------------------+-------------------+

.. warning::
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Portions Crown Copyright (c) 2016-2020 Dstl
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* Portions Crown Copyright (c) 2016-2021 Dstl
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down Expand Up @@ -228,7 +228,8 @@ class AccumuloIndexAdapter(ds: AccumuloDataStore) extends IndexAdapter[AccumuloD
// TODO pull this out to be SPI loaded so that new indices can be added seamlessly
val indexIter = if (index.name == Z3Index.name) {
strategy.values.toSeq.map { case v: Z3IndexValues =>
Z3Iterator.configure(v, index.keySpace.sharding.length + index.keySpace.sharing.length, ZIterPriority)
val offset = index.keySpace.sharding.length + index.keySpace.sharing.length
Z3Iterator.configure(v, offset, hints.getFilterCompatibility, ZIterPriority)
}
} else if (index.name == Z2Index.name) {
strategy.values.toSeq.map { case v: Z2IndexValues =>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***********************************************************************
* Copyright (c) 2013-2020 Commonwealth Computer Research, Inc.
* Copyright (c) 2013-2021 Commonwealth Computer Research, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0
* which accompanies this distribution and is available at
Expand Down
Loading

0 comments on commit c10a701

Please sign in to comment.