I would like to test GEO map gadget using WSO2 DAS. I have a stream with geo coordinates (e.g.: latitude=51.509865, longitude=-0.118092). My goal is to show points on the map in real time (real time datasource) using Geo Map chart type. I set only Id, latitude and longitude properties (default for others). In the result I see the map without points any points. I cannot find detailed information and examples in documentation. Is it possible or I have to use GPL - Siddhi Geo Extension?
Asked
Active
Viewed 168 times
1 Answers
0
As per the documentation
- Download GPL feature as mentioned in the Prerequisites section.
- As per the steps in the GPL feature installing documentation,
- Start WSO2 DAS
- Log into the DAS Management Console.
- Click Configure in the side toolbar, and then click Features.
- Click Repository Management, and then click Add Repository.
- Enter the details as shown below to add the created P2 repository.
- Click the Available Features tab.
- In the Repository parameter, select the WSO2 GPL Feature Repository repository you previously added.
- Remove the tick for "Group features by category" Click Find Features. Once all the features are listed, select the "GPL - Siddhi Geo Extension" feature and install.
- Copy the two extension JAR files in the / samples/cep/utils/geo-dashboard-extensions/ directory to the /repository/components/lib/ directory.
- Navigate to the /repository/resources/geo-dashboard directory and copy all the folders into the /repository/deployment/server directory.
- Download GeoTools GIS toolkit
- Copy the following client JAR files from downloaded directory to /repository/components/lib/
- 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
- Copy the following client JAR files from downloaded directory to /repository/components/lib/
- Download JTS Topology Suite.
- Copy jts-1.8.jar from /lib directory to both /repository/components/lib directory
- Copy /samples/capp/org_wso2_carbon_geo_dashboard-1.0.0.car to /repository/deployment/server/carbonapps
- Add <\Role>GeoDashboard</Role> to /repository/conf/carbon.xml under <\ServerRoles> parent tag
- Add the Geo_DB datasource as mentioned in the 3rd step of prerequisites.
- Restart the DAS server and you can access the dashboard via this url
- You can then simulate some events through the simulator and see.
Best Regards, Ramindu.

Ramindu De Silva
- 194
- 4
- 13
-
Thanks! It works and I understand that I can use this option. But I can't use this map with other gadgets on a dashboard. Is it possible to use a live map using ui publisher? – Alex Jun 09 '17 at 08:37
-
I reproduce the same steps and I cannot see the send information using ant in wso2das-3.1.0\samples\cep\producers\tfl-feed\ any idea? – Jorge Infante Osorio Sep 17 '18 at 15:32