Giter Club home page Giter Club logo

cache-aware-field-calculator-for-geoevent's Introduction

cache-aware-field-calculator-for-geoevent

ArcGIS GeoEvent Extension Cache Aware Field Calculator Processor

This custom processor is similar to the GeoEvent Field Calculator and can access an in-memory cache that stores previous GeoEvents for each track. For example, given the "Speed" field on the input GeoEvent Definition, one can compute the value of "IsMoving" field by comparing the current "Speed" value with the previous one using the syntax below:

Expression: previousGeoEvent('Speed') != Speed

The new field "IsMoving" with the type of boolean can be added to the incoming GeoEvent (for the output one) or replacing the existing field if it is available.

The maximum number of tracks in the cache (default to 1000 tracks) is configurable by changing the file <geoevent_install_dir>\com.esri.ges.manager.servicemanager.cfg

com.esri.ges.manager.servicemanager.maxCacheSize=1000

App

Changes

This fork contains the following function:

  • parseDate('<date_string>') - Converts a 'String' in the format yyyy-MM-dd into a Date object.
  • parseDate('<date_string>', <dateFormat>') - Converts a 'String' input to a 'Date' based on a custom date format string.

Features

  • Cache Aware Field Calculator Processor

Instructions

Building the source code:

  1. Make sure Maven and ArcGIS GeoEvent Extension SDK are installed on your machine.
  2. Run 'mvn install -Dcontact.address=[YourContactEmailAddress]'

Installing the built jar files:

  1. Copy the *.jar files under the 'target' sub-folder(s) into the [ArcGIS-GeoEvent-Extension-Install-Directory]/deploy folder.

Requirements

  • ArcGIS GeoEvent Extension for Server.
  • ArcGIS GeoEvent Extension SDK.
  • Java JDK 1.8 or greater.
  • Maven.

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2017 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

cache-aware-field-calculator-for-geoevent's People

Contributors

gtieman avatar hanoch avatar mpesri avatar mshareghi avatar rtrujill007 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.