Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

GEOJSON string from Granite6 not formatted correctly


miq Jan 14, 2024 04:02 AM

This is sample GEOJSON formatted string from MQTTPublishTable instruction I use in my Granite6:

{"type":"Feature","geometry":{"type":"Point","coordinates":[117.001618,-0.444393,1.000000]},"properties":{"loggerID":"Kukar-DYNAMIC","observationNames":["LVDT_mm_Avg(1)","LVDT_mm_Avg(2)","LVDT_mm_Avg(3)","LVDT_mm_Avg(4)"],"observations":{"time": "2024-01-14T11:54:26",:[113.1806,113.2423,113.8168,112.7985],"time": "2024-01-14T11:54:27",:[113.2208,113.3211,113.85,112.9551],"time": "2024-01-14T11:54:28",:[113.1581,113.2214,113.8228,112.9307],"time": "2024-01-14T11:54:29",:[113.228,113.2105,113.9076,112.7981],"time": "2024-01-14T11:54:30",:[113.2276,113.195,113.77,112.9464]}}}

 

I tested string above using online parser and found errors. http://json.parser.online.fr/

screenshot of the errors: https://ibb.co/sKprdfT

Bug maybe?

Log in or register to post/reply in the forum.