Open rezendel opened 3 years ago
This is perfectly possible in NGSI-LD - The provisioned Animal collars in the NGSI-LD subscriptions tutorial provide an example of a GPS unit set up as a Geoproperty
. There is an outstanding PR #854 needs to be merge to simplify this on NGSI-v2 using geo:json
or geo:point
. GPS coordinates maybe possible to create using the JEXL parser as well. You can look at the PR to see how I envisage lat/lng pairs to be provisioned.
There is no problem with creating static attributes of a GeoJSON type of course.
Thanks Jason.
If I understood correctly, I should not be getting this issue since the PR #854 fixes this.
I will check my application settings
@rezendel - PR #854 is currently open and not merged. You won't be getting this issue with NGSI-LD, but the back-port to NGSI-v2 is awaiting review.
PR https://github.com/telefonicaid/iotagent-node-lib/pull/854 has been just merged.
@rezendel could you test again and tell us how it goes, please? Not sure how do you have installed the IOTA, but maybe you need to rebuild your docker container to get the new version of the iotagent-node-lib from master...
Hello,
I am trying to integrate a device with the maps widget on wirecloud.(mashups). I want to make sure that the data format is right
Is this the right syntax when provisioning a device?
I get this result:
I have also tried the following:
then the result is:
the geolocation attribute structure is different from the example the fiware documentation.
Should the data be like this so I can integrate with the application map mashups? If so, how should I defined the attributes?
Note: I am not a JSON expert :D
thank you