Dynamic lat long data not showing
Ray Berkelmans
on 16 May 2023
Latest activity Reply by Ray Berkelmans
on 17 May 2023
I can't get my dynamic position data to display.My JASON body looks like this:
{ "api_key": "XXXXXXXXXXXXXXX", "created_at": "2023-05-15T23:17:54.000Z", "field1": 50.71875, "field2": 20.375, "field3": 4.1132812, "field4": 91.625, "field5": 1523985, "lat": -25.8152875, "long": 152.58867187500002, "status": "Bauple" }
Fields 1-4 display fine, as does the Status field. However the position map always shows a balloon at (0,0). I've tried "lat" and "latitude", "long" and "longitude", but no luck. Any ideas?
3 Comments
Time DescendingAre you showing a position map of your channel? That location is set in the channel settings (see image). That's what shows the map when you click "show channel location" on the channel settings. The channel location can be different than the device location.
To display the device position (set in the channel feed data) I suggest creating a custom MATLAB visualization. See this post for some help.
You can read the feed location using the read data API with location=true, or in a similar way with thingSpeakRead.

I meant Fields 1-5 display fine...
Sign in to participate