The QuantumLeap to LineString operator is a WireCloud operator that receives a QuantumLeap history and, provided it does have location history in an attribute called location
, it generates a Point of Interest (PoI) with the form of a LineString
. It does also send, on a remove endpoint, the ID of the last line, in case the user wants to link it with a remove input endpoint of a map.
Be sure to have installed Node.js in your system. For example, you can install it on Ubuntu and Debian running the following commands:
sudo apt update; sudo apt install curl gnupg
curl -sL https://deb.nodesource.com/setup_8.x | sudo bash -
sudo apt install nodejs npm
You also have to install the Grunt's command line interface (CLI):
The remaining dependencies are installed using npm (you have to run this command inside the folder where you downloaded this repository):
npm install
Once installed all the build dependencies you can build this operator by using grunt:
grunt
If everything goes well, you will find a wgt file in the dist
folder.
Documentation about how to use this operator is available on the User Guide. Anyway, you can find general information about how to use operators on the WireCloud's User Guide available on Read the Docs.
Copyright (c) 2019 CoNWeT Licensed under the Apeche license 2.0.