0

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?

Community
  • 1
  • 1
Alex
  • 55
  • 3

1 Answers1

0

As per the documentation

  1. Download GPL feature as mentioned in the Prerequisites section.
  2. 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 image description here
    • Enter the details as shown below to add the created P2 repository. enter image description here
    • 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.
  3. Copy the two extension JAR files in the / samples/cep/utils/geo-dashboard-extensions/ directory to the /repository/components/lib/ directory.
  4. Navigate to the /repository/resources/geo-dashboard directory and copy all the folders into the /repository/deployment/server directory.
  5. 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
  6. Download JTS Topology Suite.
    • Copy jts-1.8.jar from /lib directory to both /repository/components/lib directory
  7. Copy /samples/capp/org_wso2_carbon_geo_dashboard-1.0.0.car to /repository/deployment/server/carbonapps
  8. Add <\Role>GeoDashboard</Role> to /repository/conf/carbon.xml under <\ServerRoles> parent tag
  9. Add the Geo_DB datasource as mentioned in the 3rd step of prerequisites.
  10. Restart the DAS server and you can access the dashboard via this url
  11. You can then simulate some events through the simulator and see.
    • Click Tools in the side toolbar, and then click Simulator.
    • Add the following and send the event. enter image description here
    • You will be able to see the sent information (Zoom out the map) enter image description here

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