├── geomesa-quickstart-python
├── tools
│ ├── __init__.py
│ ├── dbModify
│ │ ├── __init__.py
│ │ └── insert.py
│ └── ECQL
│ │ ├── __init__.py
│ │ ├── filter.py
│ │ └── queryFormatters.py
├── pyJavaClasses
│ ├── __init__.py
│ ├── javaDateTime.py
│ ├── SimpleFeatureType.py
│ ├── customJavaClasses.py
│ ├── FeatureTypes.py
│ └── datastore.py
├── utils
│ ├── __init__.py
│ ├── quickstart_command_line_parser.py
│ ├── geomesa_command_line_parser.py
│ ├── geomesa_plotting.py
│ └── geomesa_jnius_setup.py
├── __init__.py
└── PyMesa.e4p
├── README.md
├── geomesa-tutorials-accumulo
├── geomesa-tutorials-accumulo-authorizations
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── META-INF
│ │ │ │ └── services
│ │ │ │ │ └── org.locationtech.geomesa.security.AuthorizationsProvider
│ │ │ ├── log4j.properties
│ │ │ ├── geomesa-ldap.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── accumulo
│ │ │ └── auths
│ │ │ ├── EmptyAuthorizationsProvider.java
│ │ │ └── LdapAuthorizationsProviderTest.java
│ ├── README.md
│ └── pom.xml
├── README.md
├── geomesa-tutorials-accumulo-avro
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── accumulo
│ │ │ └── avro
│ │ │ └── AccumuloAvroTutorial.java
│ └── pom.xml
├── geomesa-tutorials-accumulo-lambda-quickstart
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ └── pom.xml
├── geomesa-tutorials-accumulo-quickstart
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── simplelogger.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── accumulo
│ │ │ └── AccumuloQuickStart.java
│ └── pom.xml
├── geomesa-tutorials-accumulo-transforms
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── accumulo
│ │ │ └── transformations
│ │ │ └── AccumuloQueryTutorial.java
│ └── pom.xml
└── geomesa-tutorials-accumulo-feature-level-vis
│ ├── README.md
│ ├── src
│ └── main
│ │ ├── resources
│ │ ├── log4j.properties
│ │ └── logback.xml
│ │ └── java
│ │ └── org
│ │ └── geomesa
│ │ └── example
│ │ └── accumulo
│ │ └── vis
│ │ └── FeatureLevelVisibilityTutorial.java
│ └── pom.xml
├── geomesa-tutorials-common
├── README.md
├── pom.xml
└── src
│ └── main
│ └── java
│ └── org
│ └── geomesa
│ └── example
│ ├── quickstart
│ └── CommandLineDataStore.java
│ ├── data
│ ├── TutorialData.java
│ └── CvilleRICData.java
│ └── avro
│ └── GeoMesaAvroTutorial.java
├── geomesa-tutorials-hbase
├── README.md
├── geomesa-tutorials-hbase-avro
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── hbase
│ │ │ └── avro
│ │ │ └── HBaseAvroTutorial.java
│ └── pom.xml
├── geomesa-tutorials-hbase-quickstart
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── hbase
│ │ │ └── HBaseQuickStart.java
│ └── pom.xml
└── geomesa-tutorials-hbase-transforms
│ ├── README.md
│ ├── src
│ └── main
│ │ ├── resources
│ │ ├── log4j.properties
│ │ └── logback.xml
│ │ └── java
│ │ └── org
│ │ └── geomesa
│ │ └── example
│ │ └── hbase
│ │ └── transformations
│ │ └── HBaseQueryTutorial.java
│ └── pom.xml
├── geomesa-tutorials-kafka
├── README.md
├── geomesa-tutorials-kafka-quickstart
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ └── pom.xml
├── geomesa-tutorials-kafka-streams-quickstart
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── logback.xml
│ │ │ └── log4j.properties
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── kafka
│ │ │ ├── GeoPartitioner.java
│ │ │ └── Proximity.java
│ └── pom.xml
└── pom.xml
├── geomesa-tutorials-redis
├── README.md
├── geomesa-tutorials-redis-avro
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── redis
│ │ │ └── avro
│ │ │ └── RedisAvroTutorial.java
│ └── pom.xml
├── geomesa-tutorials-redis-quickstart
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── redis
│ │ │ └── RedisQuickStart.java
│ └── pom.xml
├── geomesa-tutorials-redis-transforms
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── redis
│ │ │ └── transformations
│ │ │ └── RedisQueryTutorial.java
│ └── pom.xml
└── pom.xml
├── geomesa-tutorials-fsds
├── README.md
├── geomesa-tutorials-fsds-avro
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── fsds
│ │ │ └── avro
│ │ │ └── FileSystemAvroTutorial.java
│ └── pom.xml
├── geomesa-tutorials-fsds-quickstart
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── fsds
│ │ │ └── FileSystemQuickStart.java
│ └── pom.xml
├── geomesa-tutorials-fsds-transforms
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── fsds
│ │ │ └── transformations
│ │ │ └── FileSystemQueryTutorial.java
│ └── pom.xml
└── pom.xml
├── geomesa-tutorials-cassandra
├── README.md
├── geomesa-tutorials-cassandra-avro
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── cassandra
│ │ │ └── avro
│ │ │ └── CassandraAvroTutorial.java
│ └── pom.xml
├── geomesa-tutorials-cassandra-quickstart
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── cassandra
│ │ │ └── CassandraQuickStart.java
│ └── pom.xml
├── geomesa-tutorials-cassandra-transforms
│ ├── README.md
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ ├── log4j.properties
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── org
│ │ │ └── geomesa
│ │ │ └── example
│ │ │ └── cassandra
│ │ │ └── transformations
│ │ │ └── CassandraQueryTutorial.java
│ └── pom.xml
└── pom.xml
├── geomesa-quickstart-storm
├── README.md
├── src
│ └── main
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── geomesa
│ │ └── storm
│ │ ├── OSMKafkaSpout.java
│ │ ├── OSMIngestProducer.java
│ │ └── OSMKafkaBolt.java
└── pom.xml
├── geomesa-examples-spark
├── README.md
├── src
│ └── main
│ │ └── scala
│ │ └── com
│ │ └── example
│ │ └── geomesa
│ │ └── spark
│ │ └── CountByDay.scala
└── pom.xml
├── .gitignore
└── .github
└── workflows
└── build-and-test.yml
/geomesa-quickstart-python/tools/__init__.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | #coding:utf-8
3 | __all__ = ["dbModify", "ECQL"]
4 | #from . import *
5 |
--------------------------------------------------------------------------------
/geomesa-quickstart-python/tools/dbModify/__init__.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | #coding:utf-8
3 | __all__ = ["insert"]
4 | from . import *
5 |
--------------------------------------------------------------------------------
/geomesa-quickstart-python/tools/ECQL/__init__.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | #coding:utf-8
3 | __all__ = ["filter", "queryFormatters"]
4 | from . import *
5 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Tutorials and Examples
2 | ==============================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/index.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-quickstart-python/pyJavaClasses/__init__.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | #coding:utf-8
3 | __all__ = ["customJavaClasses", "datastore", "FeatureTypes", "javaDateTime", "SimpleFeatureType"]
4 | from . import *
5 |
--------------------------------------------------------------------------------
/geomesa-quickstart-python/utils/__init__.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | #coding:utf-8
3 | __all__ = ["geomesa_command_line_parser", "geomesa_jnius_setup", "geomesa_plotting", "quickstart_command_line_parser"]
4 | #from . import *
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-authorizations/src/main/resources/META-INF/services/org.locationtech.geomesa.security.AuthorizationsProvider:
--------------------------------------------------------------------------------
1 | org.geomesa.example.accumulo.auths.EmptyAuthorizationsProvider
2 |
--------------------------------------------------------------------------------
/geomesa-tutorials-common/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Tutorials and Examples
2 | ==============================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/index.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa HBase Tutorials and Examples
2 | ====================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/index.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-kafka/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Kafka Tutorials and Examples
2 | ====================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/index.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Redis Tutorials and Examples
2 | ====================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/index.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Accumulo Tutorials and Examples
2 | =======================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/index.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa FileSystem Tutorials and Examples
2 | =========================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/index.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Cassandra Tutorials and Examples
2 | ========================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/index.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-avro/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa HBase Avro Tutorial
2 | ===========================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-avro.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-avro/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Redis Avro Tutorial
2 | ===========================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-avro.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-avro/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa FileSystem Avro Tutorial
2 | ================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-avro.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-avro/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Accumulo Avro Tutorial
2 | ==============================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-avro.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-avro/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Cassandra Avro Tutorial
2 | ===============================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-avro.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-quickstart/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa HBase Quick-Start Tutorial
2 | ==================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-quickstart-hbase.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-kafka/geomesa-tutorials-kafka-quickstart/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Kafka Quick-Start Tutorial
2 | ==================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-quickstart-kafka.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-quickstart/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Redis Quick-Start Tutorial
2 | ==================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-quickstart-redis.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-transforms/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa HBase Transforms Tutorial
2 | =================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-transformations.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-transforms/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Redis Transforms Tutorial
2 | =================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-transformations.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-quickstart/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa FileSystem Quick-Start Tutorial
2 | =======================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-quickstart-fsds.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-lambda-quickstart/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Lambda Quick-Start Tutorial
2 | ===================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-quickstart-lambda.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-quickstart/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Accumulo Quick-Start Tutorial
2 | =====================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-quickstart-accumulo.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-transforms/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa FileSystem Transforms Tutorial
2 | ======================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-transformations.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-transforms/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Accumulo Transforms Tutorial
2 | ====================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-transformations.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-quickstart/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Cassandra Quick-Start Tutorial
2 | ======================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-quickstart-cassandra.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-transforms/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Cassandra Transforms Tutorial
2 | =====================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-transformations.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-kafka/geomesa-tutorials-kafka-streams-quickstart/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Kafka Streams Quick-Start Tutorial
2 | ==================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-quickstart-kafka-streams.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-authorizations/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Accumulo Authorizations Tutorial
2 | ========================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-authorizations.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-quickstart-storm/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Storm Quick Start
2 | ============================
3 |
4 | See the official GeoMesa [documentation](http://geomesa.org/documentation/tutorials) for instructions.
5 |
6 | * [GeoMesa Storm Quick Start](https://www.geomesa.org/documentation/stable/tutorials/geomesa-quickstart-storm.html)
7 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-feature-level-vis/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Accumulo Feature-Level Visibility Tutorial
2 | ==================================================
3 |
4 | See the official GeoMesa [documentation](http://www.geomesa.org/documentation/tutorials/geomesa-examples-featurelevelvis.html) for instructions.
5 |
--------------------------------------------------------------------------------
/geomesa-examples-spark/README.md:
--------------------------------------------------------------------------------
1 | GeoMesa Spark Examples
2 | ======================
3 |
4 | See the official GeoMesa [documentation](http://geomesa.org/documentation/tutorials) for instructions.
5 |
6 | * [CountByDay](http://geomesa.org/documentation/tutorials/spark)
7 | * [ShallowJoin](http://www.geomesa.org/documentation/tutorials/shallow-join)
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | build/zinc*
2 | build/scala*
3 | build/*.jar
4 | build/build.out
5 | *.iws
6 | *.ipr
7 | *.iml
8 | *.idea/
9 | *.log
10 | .idea/**
11 | **/.classpath
12 | **/.project
13 | **/.settings
14 | target
15 | atlassian*
16 | geomesa-*.*.*-*
17 | **/src/main/resources/git.properties
18 | geomesa-quickstart-accumulo/src/main/java/com/example/geomesa/accumulo/AccumuloQuickStartRead.java
19 | *.pyc
20 | *.gz
21 | *.tar
22 | __pycache__
23 | Patricia*
24 | patricia*
25 | .eric*
26 |
--------------------------------------------------------------------------------
/geomesa-quickstart-python/__init__.py:
--------------------------------------------------------------------------------
1 | #/***********************************************************************
2 | #* Copyright (c) 2013-2017 Commonwealth Computer Research, Inc.
3 | #* All rights reserved. This program and the accompanying materials
4 | #* are made available under the terms of the Apache License, Version 2.0
5 | #* which accompanies this distribution and is available at
6 | #* http://www.opensource.org/licenses/apache2.0.php.
7 | #*************************************************************************/
8 | __all__ = ["pyJavaClasses", "tools", "utils"]
9 | from . import *
10 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-avro/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-avro/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-avro/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-quickstart/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-transforms/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-transforms/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-authorizations/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-quickstart/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=warn
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-transforms/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-feature-level-vis/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.hsqldb.db=warn
10 |
11 | # log to stderr by default instead of std out
12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
14 | log4j.appender.stdout.Target=System.out
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-avro/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.org.apache.redis=warn
10 | log4j.logger.hsqldb.db=warn
11 |
12 | # log to stderr by default instead of std out
13 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
14 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
15 | log4j.appender.stdout.Target=System.out
16 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-quickstart/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.org.apache.redis=warn
10 | log4j.logger.hsqldb.db=warn
11 |
12 | # log to stderr by default instead of std out
13 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
14 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
15 | log4j.appender.stdout.Target=System.out
16 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-transforms/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=info
6 | log4j.logger.org.apache.zookeeper=warn
7 | log4j.logger.org.apache.curator=warn
8 | log4j.logger.org.apache.hadoop=warn
9 | log4j.logger.org.apache.redis=warn
10 | log4j.logger.hsqldb.db=warn
11 |
12 | # log to stderr by default instead of std out
13 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
14 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
15 | log4j.appender.stdout.Target=System.out
16 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-avro/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=warn
6 | log4j.logger.org.apache.parquet=warn
7 | log4j.logger.org.apache.orc=warn
8 | log4j.logger.org.apache.zookeeper=warn
9 | log4j.logger.org.apache.curator=warn
10 | log4j.logger.org.apache.hadoop=warn
11 | log4j.logger.hsqldb.db=warn
12 |
13 | # log to stderr by default instead of std out
14 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
15 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
16 | log4j.appender.stdout.Target=System.out
17 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-quickstart/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=warn
6 | log4j.logger.org.apache.parquet=warn
7 | log4j.logger.org.apache.orc=warn
8 | log4j.logger.org.apache.zookeeper=warn
9 | log4j.logger.org.apache.curator=warn
10 | log4j.logger.org.apache.hadoop=warn
11 | log4j.logger.hsqldb.db=warn
12 |
13 | # log to stderr by default instead of std out
14 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
15 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
16 | log4j.appender.stdout.Target=System.out
17 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-transforms/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.org.locationtech.geomesa=warn
6 | log4j.logger.org.apache.parquet=warn
7 | log4j.logger.org.apache.orc=warn
8 | log4j.logger.org.apache.zookeeper=warn
9 | log4j.logger.org.apache.curator=warn
10 | log4j.logger.org.apache.hadoop=warn
11 | log4j.logger.hsqldb.db=warn
12 |
13 | # log to stderr by default instead of std out
14 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
15 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
16 | log4j.appender.stdout.Target=System.out
17 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-quickstart/src/main/resources/simplelogger.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | org.slf4j.simpleLogger.logFile=System.out
3 | org.slf4j.simpleLogger.showDateTime=true
4 | org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
5 |
6 | org.slf4j.simpleLogger.log.org.locationtech.geomesa=info
7 |
8 | # various libraries we want to lower the volume on
9 | org.slf4j.simpleLogger.log.org.apache.zookeeper=warn
10 | org.slf4j.simpleLogger.log.hsqldb.db=warn
11 | org.slf4j.simpleLogger.log.org.apache.curator=warn
12 | org.slf4j.simpleLogger.log.org.apache.hadoop=warn
13 | org.slf4j.simpleLogger.log.org.apache.parquet=warn
14 | org.slf4j.simpleLogger.log.org.apache.orc=warn
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-kafka/geomesa-tutorials-kafka-quickstart/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.geomesa=info
6 | log4j.logger.org.locationtech.geomesa=info
7 | log4j.logger.org.apache.zookeeper=warn
8 | log4j.logger.org.apache.curator=warn
9 | log4j.logger.org.I0Itec.zkclient=warn
10 | log4j.logger.org.apache.kafka=warn
11 | log4j.logger.kafka=warn
12 | log4j.logger.org.apache.hadoop=warn
13 | log4j.logger.hsqldb.db=warn
14 |
15 | # log to stderr by default instead of std out
16 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
17 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
18 | log4j.appender.stdout.layout.ConversionPattern=%-5p %c: %m%n
19 | log4j.appender.stdout.Target=System.out
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-lambda-quickstart/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 |
6 | #log4j.logger.org.locationtech.geomesa.lambda=trace
7 | log4j.logger.geomesa=info
8 | log4j.logger.org.locationtech.geomesa=info
9 | log4j.logger.kafka=warn
10 | log4j.logger.org.apache.kafka=warn
11 | log4j.logger.org.I0Itec.zkclient=warn
12 | log4j.logger.org.apache.zookeeper=warn
13 | log4j.logger.org.apache.curator=warn
14 | log4j.logger.hsqldb.db=warn
15 | log4j.logger.org.apache.hadoop=warn
16 |
17 | # log to stderr by default instead of std out
18 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
19 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
20 | log4j.appender.stdout.Target=System.out
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-authorizations/src/main/resources/geomesa-ldap.properties:
--------------------------------------------------------------------------------
1 | # ldap connection properties
2 | java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
3 | java.naming.provider.url=ldap://localhost:10389
4 | java.naming.security.authentication=simple
5 | java.naming.security.principal=uid=admin,ou=system
6 | java.naming.security.credentials=secret
7 |
8 | # the ldap node to start the query from
9 | geomesa.ldap.search.root=o=Spring Framework
10 | # the query that will be applied to find the user's record
11 | # the '{}' will be replaced with the common name from the certificate the user has logged into geoserver with
12 | geomesa.ldap.search.filter=(&(objectClass=person)(cn={}))
13 | # the ldap attribute that holds the comma-delimited authorizations for the user
14 | geomesa.ldap.auths.attribute=employeeType
15 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-avro/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-quickstart/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-transforms/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-avro/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-avro/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-avro/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-avro/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-quickstart/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-transforms/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-kafka/geomesa-tutorials-kafka-quickstart/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-quickstart/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-transforms/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-quickstart/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-transforms/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-quickstart/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-transforms/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-kafka/geomesa-tutorials-kafka-streams-quickstart/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-authorizations/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-feature-level-vis/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-lambda-quickstart/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | %-5level [%thread] %date{ISO8601} %F:%L - %msg%n
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/geomesa-tutorials-kafka/geomesa-tutorials-kafka-streams-quickstart/src/main/resources/log4j.properties:
--------------------------------------------------------------------------------
1 | # log to stdout by default
2 | log4j.rootLogger=info, stdout
3 |
4 | # set logging levels to appropriate values
5 | log4j.logger.geomesa=info
6 | log4j.logger.org.locationtech.geomesa=info
7 | log4j.logger.org.apache.zookeeper=warn
8 | log4j.logger.org.apache.curator=warn
9 | log4j.logger.org.I0Itec.zkclient=warn
10 | log4j.logger.org.apache.kafka=warn
11 | log4j.logger.org.apache.kafka.clients=error
12 | log4j.logger.org.apache.kafka.streams.processor.internals=error
13 | log4j.logger.kafka=warn
14 | log4j.logger.org.apache.hadoop=warn
15 | log4j.logger.hsqldb.db=warn
16 |
17 | # log to stderr by default instead of std out
18 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender
19 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
20 | log4j.appender.stdout.layout.ConversionPattern=%-5p %c: %m%n
21 | log4j.appender.stdout.Target=System.out
--------------------------------------------------------------------------------
/.github/workflows/build-and-test.yml:
--------------------------------------------------------------------------------
1 | name: build-and-test
2 |
3 | on:
4 | push:
5 | pull_request:
6 | # run nightly to pick up any errors caused by changes in main geomesa
7 | schedule:
8 | - cron: '30 2 * * *' # 0230 UTC, 2130 EST
9 |
10 | jobs:
11 | build-scala:
12 | runs-on: ubuntu-latest
13 | # avoid duplicate jobs on PRs from the main repo
14 | if: github.event_name == 'schedule' || github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
15 |
16 | steps:
17 | - uses: actions/checkout@v3
18 | - uses: actions/setup-java@v3
19 | with:
20 | distribution: 'temurin'
21 | java-version: '8'
22 | cache: 'maven'
23 | - name: Build with Maven
24 | run: mvn clean install -B -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
25 | - name: Remove GeoMesa artifacts
26 | run: |
27 | rm -rf ~/.m2/repository/org/geomesa/example
28 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-avro/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 |
6 | org.geomesa.example
7 | geomesa-tutorials-redis
8 | 5.5.0-SNAPSHOT
9 |
10 |
11 | geomesa-tutorials-redis-avro
12 | GeoMesa Tutorials - Redis - Avro
13 |
14 |
15 |
16 | org.geomesa.example
17 | geomesa-tutorials-common
18 |
19 |
20 |
21 |
22 |
23 |
24 | org.apache.maven.plugins
25 | maven-shade-plugin
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-quickstart/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 |
6 | org.geomesa.example
7 | geomesa-tutorials-fsds
8 | 5.5.0-SNAPSHOT
9 |
10 |
11 | geomesa-tutorials-fsds-quickstart
12 | GeoMesa Tutorials - FileSystem - Quick Start
13 |
14 |
15 |
16 | org.geomesa.example
17 | geomesa-tutorials-common
18 |
19 |
20 |
21 |
22 |
23 |
24 | org.apache.maven.plugins
25 | maven-shade-plugin
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-quickstart/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 |
6 | org.geomesa.example
7 | geomesa-tutorials-redis
8 | 5.5.0-SNAPSHOT
9 |
10 |
11 | geomesa-tutorials-redis-quickstart
12 | GeoMesa Tutorials - Redis - Quick Start
13 |
14 |
15 |
16 | org.geomesa.example
17 | geomesa-tutorials-common
18 |
19 |
20 |
21 |
22 |
23 |
24 | org.apache.maven.plugins
25 | maven-shade-plugin
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-transforms/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 4.0.0
4 |
5 |
6 | org.geomesa.example
7 | geomesa-tutorials-redis
8 | 5.5.0-SNAPSHOT
9 |
10 |
11 | geomesa-tutorials-redis-transforms
12 | GeoMesa Tutorials - Redis - Transforms
13 |
14 |
15 |
16 | org.geomesa.example
17 | geomesa-tutorials-common
18 |
19 |
20 |
21 |
22 |
23 |
24 | org.apache.maven.plugins
25 | maven-shade-plugin
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-authorizations/src/main/java/org/geomesa/example/accumulo/auths/EmptyAuthorizationsProvider.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.accumulo.auths;
10 |
11 | import org.apache.accumulo.core.security.Authorizations;
12 | import org.locationtech.geomesa.security.AuthorizationsProvider;
13 |
14 | import java.util.ArrayList;
15 | import java.util.List;
16 | import java.util.Map;
17 |
18 | /**
19 | * Implementation of auth provider that always returns empty auths
20 | */
21 | public class EmptyAuthorizationsProvider implements AuthorizationsProvider {
22 |
23 | public List getAuthorizations() {
24 | List authList = new ArrayList<>();
25 | authList.add(new Authorizations().toString());
26 | return authList;
27 | }
28 |
29 | public void configure(Map params) {
30 |
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-avro/src/main/java/org/geomesa/example/hbase/avro/HBaseAvroTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.hbase.avro;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.avro.GeoMesaAvroTutorial;
13 | import org.locationtech.geomesa.hbase.data.HBaseDataStoreFactory;
14 |
15 | public class HBaseAvroTutorial extends GeoMesaAvroTutorial {
16 |
17 | public HBaseAvroTutorial(String[] args) throws ParseException {
18 | super(args, new HBaseDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new HBaseAvroTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-avro/src/main/java/org/geomesa/example/redis/avro/RedisAvroTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.redis.avro;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.avro.GeoMesaAvroTutorial;
13 | import org.locationtech.geomesa.redis.data.RedisDataStoreFactory;
14 |
15 | public class RedisAvroTutorial extends GeoMesaAvroTutorial {
16 |
17 | public RedisAvroTutorial(String[] args) throws ParseException {
18 | super(args, new RedisDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new RedisAvroTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-avro/src/main/java/org/geomesa/example/fsds/avro/FileSystemAvroTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.fsds.avro;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.avro.GeoMesaAvroTutorial;
13 | import org.locationtech.geomesa.fs.data.FileSystemDataStoreFactory;
14 |
15 | public class FileSystemAvroTutorial extends GeoMesaAvroTutorial {
16 |
17 | public FileSystemAvroTutorial(String[] args) throws ParseException {
18 | super(args, new FileSystemDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new FileSystemAvroTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-avro/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 | 4.0.0
11 |
12 |
13 | org.geomesa.example
14 | geomesa-tutorials-accumulo
15 | 5.5.0-SNAPSHOT
16 |
17 |
18 | geomesa-tutorials-accumulo-avro
19 | GeoMesa Tutorials - Accumulo - Avro
20 |
21 |
22 |
23 |
24 | org.apache.maven.plugins
25 | maven-shade-plugin
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-avro/src/main/java/org/geomesa/example/accumulo/avro/AccumuloAvroTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.accumulo.avro;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.avro.GeoMesaAvroTutorial;
13 | import org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory;
14 |
15 | public class AccumuloAvroTutorial extends GeoMesaAvroTutorial {
16 |
17 | public AccumuloAvroTutorial(String[] args) throws ParseException {
18 | super(args, new AccumuloDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new AccumuloAvroTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-avro/src/main/java/org/geomesa/example/cassandra/avro/CassandraAvroTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.cassandra.avro;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.avro.GeoMesaAvroTutorial;
13 | import org.locationtech.geomesa.cassandra.data.CassandraDataStoreFactory;
14 |
15 | public class CassandraAvroTutorial extends GeoMesaAvroTutorial {
16 |
17 | public CassandraAvroTutorial(String[] args) throws ParseException {
18 | super(args, new CassandraDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new CassandraAvroTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-transforms/src/main/java/org/geomesa/example/hbase/transformations/HBaseQueryTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.hbase.transformations;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.transformations.GeoMesaQueryTutorial;
13 | import org.locationtech.geomesa.hbase.data.HBaseDataStoreFactory;
14 |
15 | public class HBaseQueryTutorial extends GeoMesaQueryTutorial {
16 |
17 | public HBaseQueryTutorial(String[] args) throws ParseException {
18 | super(args, new HBaseDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new HBaseQueryTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-transforms/src/main/java/org/geomesa/example/redis/transformations/RedisQueryTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.redis.transformations;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.transformations.GeoMesaQueryTutorial;
13 | import org.locationtech.geomesa.redis.data.RedisDataStoreFactory;
14 |
15 | public class RedisQueryTutorial extends GeoMesaQueryTutorial {
16 |
17 | public RedisQueryTutorial(String[] args) throws ParseException {
18 | super(args, new RedisDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new RedisQueryTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-transforms/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 | 4.0.0
11 |
12 |
13 | org.geomesa.example
14 | geomesa-tutorials-accumulo
15 | 5.5.0-SNAPSHOT
16 |
17 |
18 | geomesa-tutorials-accumulo-transforms
19 | GeoMesa Tutorials - Accumulo - Transforms
20 |
21 |
22 |
23 |
24 | org.apache.maven.plugins
25 | maven-shade-plugin
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/geomesa-tutorials-fsds/geomesa-tutorials-fsds-transforms/src/main/java/org/geomesa/example/fsds/transformations/FileSystemQueryTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.fsds.transformations;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.transformations.GeoMesaQueryTutorial;
13 | import org.locationtech.geomesa.fs.data.FileSystemDataStoreFactory;
14 |
15 | public class FileSystemQueryTutorial extends GeoMesaQueryTutorial {
16 |
17 | public FileSystemQueryTutorial(String[] args) throws ParseException {
18 | super(args, new FileSystemDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new FileSystemQueryTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-feature-level-vis/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 | 4.0.0
12 |
13 |
14 | org.geomesa.example
15 | geomesa-tutorials-accumulo
16 | 5.5.0-SNAPSHOT
17 |
18 |
19 | geomesa-tutorials-accumulo-feature-level-vis
20 | GeoMesa Tutorials - Accumulo - Feature-Level Vis
21 |
22 |
23 |
24 |
25 | org.apache.maven.plugins
26 | maven-shade-plugin
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-transforms/src/main/java/org/geomesa/example/accumulo/transformations/AccumuloQueryTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.accumulo.transformations;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.transformations.GeoMesaQueryTutorial;
13 | import org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory;
14 |
15 | public class AccumuloQueryTutorial extends GeoMesaQueryTutorial {
16 |
17 | public AccumuloQueryTutorial(String[] args) throws ParseException {
18 | super(args, new AccumuloDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new AccumuloQueryTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-hbase/geomesa-tutorials-hbase-quickstart/src/main/java/org/geomesa/example/hbase/HBaseQuickStart.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.hbase;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.data.GDELTData;
13 | import org.geomesa.example.quickstart.GeoMesaQuickStart;
14 | import org.locationtech.geomesa.hbase.data.HBaseDataStoreFactory;
15 |
16 | public class HBaseQuickStart extends GeoMesaQuickStart {
17 |
18 | // uses gdelt data
19 | public HBaseQuickStart(String[] args) throws ParseException {
20 | super(args, new HBaseDataStoreFactory().getParametersInfo(), new GDELTData());
21 | }
22 |
23 | public static void main(String[] args) {
24 | try {
25 | new HBaseQuickStart(args).run();
26 | } catch (ParseException e) {
27 | System.exit(1);
28 | } catch (Throwable e) {
29 | e.printStackTrace();
30 | System.exit(2);
31 | }
32 | System.exit(0);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/geomesa-tutorials-redis/geomesa-tutorials-redis-quickstart/src/main/java/org/geomesa/example/redis/RedisQuickStart.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.redis;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.data.GDELTData;
13 | import org.geomesa.example.quickstart.GeoMesaQuickStart;
14 | import org.locationtech.geomesa.redis.data.RedisDataStoreFactory;
15 |
16 | public class RedisQuickStart extends GeoMesaQuickStart {
17 |
18 | // uses gdelt data
19 | public RedisQuickStart(String[] args) throws ParseException {
20 | super(args, new RedisDataStoreFactory().getParametersInfo(), new GDELTData());
21 | }
22 |
23 | public static void main(String[] args) {
24 | try {
25 | new RedisQuickStart(args).run();
26 | } catch (ParseException e) {
27 | System.exit(1);
28 | } catch (Throwable e) {
29 | e.printStackTrace();
30 | System.exit(2);
31 | }
32 | System.exit(0);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-transforms/src/main/java/org/geomesa/example/cassandra/transformations/CassandraQueryTutorial.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.cassandra.transformations;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.transformations.GeoMesaQueryTutorial;
13 | import org.locationtech.geomesa.cassandra.data.CassandraDataStoreFactory;
14 |
15 | public class CassandraQueryTutorial extends GeoMesaQueryTutorial {
16 |
17 | public CassandraQueryTutorial(String[] args) throws ParseException {
18 | super(args, new CassandraDataStoreFactory().getParametersInfo());
19 | }
20 |
21 | public static void main(String[] args) {
22 | try {
23 | new CassandraQueryTutorial(args).run();
24 | } catch (ParseException e) {
25 | System.exit(1);
26 | } catch (Throwable e) {
27 | e.printStackTrace();
28 | System.exit(2);
29 | }
30 | System.exit(0);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/geomesa-tutorials-accumulo/geomesa-tutorials-accumulo-quickstart/src/main/java/org/geomesa/example/accumulo/AccumuloQuickStart.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.accumulo;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.data.GDELTData;
13 | import org.geomesa.example.quickstart.GeoMesaQuickStart;
14 | import org.locationtech.geomesa.accumulo.data.AccumuloDataStoreFactory;
15 |
16 | public class AccumuloQuickStart extends GeoMesaQuickStart {
17 |
18 | // uses gdelt data
19 | public AccumuloQuickStart(String[] args) throws ParseException {
20 | super(args, new AccumuloDataStoreFactory().getParametersInfo(), new GDELTData());
21 | }
22 |
23 | public static void main(String[] args) {
24 | try {
25 | new AccumuloQuickStart(args).run();
26 | } catch (ParseException e) {
27 | System.exit(1);
28 | } catch (Throwable e) {
29 | e.printStackTrace();
30 | System.exit(2);
31 | }
32 | System.exit(0);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/geomesa-tutorials-cassandra/geomesa-tutorials-cassandra-quickstart/src/main/java/org/geomesa/example/cassandra/CassandraQuickStart.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013-2018 Commonwealth Computer Research, Inc.
3 | * All rights reserved. This program and the accompanying materials
4 | * are made available under the terms of the Apache License, Version 2.0 which
5 | * accompanies this distribution and is available at
6 | * http://www.opensource.org/licenses/apache2.0.php.
7 | */
8 |
9 | package org.geomesa.example.cassandra;
10 |
11 | import org.apache.commons.cli.ParseException;
12 | import org.geomesa.example.data.GDELTData;
13 | import org.geomesa.example.quickstart.GeoMesaQuickStart;
14 | import org.locationtech.geomesa.cassandra.data.CassandraDataStoreFactory;
15 |
16 | public class CassandraQuickStart extends GeoMesaQuickStart {
17 |
18 | // uses gdelt data
19 | public CassandraQuickStart(String[] args) throws ParseException {
20 | super(args, new CassandraDataStoreFactory().getParametersInfo(), new GDELTData());
21 | }
22 |
23 | public static void main(String[] args) {
24 | try {
25 | new CassandraQuickStart(args).run();
26 | } catch (ParseException e) {
27 | System.exit(1);
28 | } catch (Throwable e) {
29 | e.printStackTrace();
30 | System.exit(2);
31 | }
32 | System.exit(0);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/geomesa-quickstart-python/pyJavaClasses/javaDateTime.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | #coding:utf-8
3 | """
4 | javaDateTime.py
5 |
6 | Description:
7 | This function takes a python datetime object with optional timezone information, translates
8 | it into a java datetime object (using jnius) and returns the java datetime object.
9 |
10 | Created by: Jordan Muss
11 |
12 | Creation Date: 4-6-2017
13 | Version: 1.0
14 |
15 | Dependencies:
16 | Public: datetime, jnius
17 | Private: SetupJnius
18 |
19 | Updates:
20 |
21 | To Do:
22 | """
23 | from datetime import datetime
24 |
25 | def pyDateTimeToJava(JNI, dateTime, tz=None):
26 | if not isinstance(dateTime, datetime):
27 | print("Error: dateTime ({}) must be a python datetime object, not {}".format(dateTime, type(dateTime)))
28 | return None
29 | jDate = JNI.autoclass('org.joda.time.DateTime')
30 | jDTZ = JNI.autoclass("org.joda.time.DateTimeZone")
31 |
32 | jTZ = None
33 | if tz is not None:
34 | try:
35 | jTZ = jDTZ.forID(tz.upper())
36 | except:
37 | print("Warning: error setting the time zone info for {}; timezone will be ignored".format(tz))
38 | if jTZ is not None:
39 | dtTm = jDate(dateTime.year, dateTime.month, dateTime.day, dateTime.hour, dateTime.minute, dateTime.second, jTZ)
40 | else:
41 | dtTm = jDate(dateTime.year, dateTime.month, dateTime.day, dateTime.hour, dateTime.minute, dateTime.second)
42 | return dtTm
43 |
--------------------------------------------------------------------------------
/geomesa-tutorials-kafka/geomesa-tutorials-kafka-streams-quickstart/src/main/java/org/geomesa/example/kafka/GeoPartitioner.java:
--------------------------------------------------------------------------------
1 | package org.geomesa.example.kafka;
2 |
3 | import org.apache.kafka.streams.kstream.KeyValueMapper;
4 | import org.locationtech.geomesa.curve.Z2SFC;
5 | import org.locationtech.geomesa.kafka.streams.GeoMesaMessage;
6 | import org.locationtech.geomesa.utils.geohash.GeohashUtils;
7 | import org.locationtech.jts.geom.Geometry;
8 | import org.locationtech.jts.geom.Point;
9 |
10 | import java.util.List;
11 |
12 | class GeoPartitioner implements KeyValueMapper {
13 |
14 | private final Short partitionNumBits;
15 | private final Integer defaultGeomIndex;
16 | private final Z2SFC z2;
17 |
18 | public GeoPartitioner(Short partitionNumBits, Integer defaultGeomIndex) {
19 | this.partitionNumBits = partitionNumBits;
20 | this.defaultGeomIndex = defaultGeomIndex;
21 | this.z2 = new Z2SFC(partitionNumBits / 2);
22 | }
23 |
24 | private String getZBin(Geometry geom) {
25 | Point safeGeom = GeohashUtils.getInternationalDateLineSafeGeometry(geom).get().getCentroid();
26 | Long index = z2.index(safeGeom.getX(), safeGeom.getY(), false);
27 | return String.format("%0" + partitionNumBits + "d", index);
28 | }
29 |
30 | @Override
31 | public String apply(String key, GeoMesaMessage value) {
32 | List