Dynamic lat long data not showing
Ray Berkelmans
2023년 5월 16일
최근 활동 Ray Berkelmans
의 답글: 2023년 5월 17일
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
시간 내림차순Are 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...
참여하려면 로그인하세요