The Geo Dashboard of WSO2 CEP is a Jaggery application that provides realtime information about geo spatial objects. It processes spatial data from an external source of events and analyzes/manipulates this data to produce meaningful information to end users using the geo dashboard. You can interact with it to generate a variety of alerts and warnings as follows.
...
- Install the GPL - Siddhi Geo Extension feature. For detailed instructions to install GPL features, see Installing WSO2 GPL Features.
- Copy the two extension JAR files in the
<
CEP_HOME>/
samples/cep/utils/geo-dashboard-extensions/
directory to the<
CEP_HOME>
/repository/components/lib/
directory.
...
- Navigate to the
<CEP_HOME>/samples/cep/utils/
output-websocket-local-adapter/
directory directory using the CLI. - Execute the following command, to run the Geo Dashboard application:
ant -Dsn 1001
...
- Download GeoTools GIS toolkit
- Copy the following client JAR files from downloaded
<GeoTools_HOME>
directory to both<CEP_HOME>/repository/components/lib/
directory and<CEP_HOME>/samples/cep/lib/
directory directory.gt-geojson-13.1.jar
gt-main-13.1.jar
gt-metadata-13.1.jar
jai_core-1.1.3.jar
jai_imageio-1.1.jar
- Download JTS Topology Suite.
- Copy jts-1.8.jar from
<JTS_HOME>/lib
directory to both<CEP_HOME>/repository/components/lib
directory and<CEP_HOME>/samples/cep/lib
directory. - Navigate to
<CEP_HOME>/samples/cep/producers/tfl-feed/
directory, and execute theant
command in a new tab of your CEP console, to execute the producer of the Geo Dashboard application.
...
- Start the WSO2 CEP server with the sample configuration numbered 1001. For instructions, see Starting sample CEP configurations.
- Access the Geo Dashboard application in your Web browser using the following URL: http://localhost:9763/geo_dashboard/
- Log in to the Geo Dashboard application using
admin
as both the username and the password. Alerts are displayed as shown in the screenshot below.
This dashboard can be used to define alerts, define geo fences, click on spatial objects to view information relating to them etc.