I have been provided a DJI hyperlapse JSON file and the corresponding DJI flight log file. I am trying to interpret the longitude and latitude values stored in the JSON file. For each waypoint in the hyperlapse JSON file there is this data:
{
"index": 1747007499241,
"px": 25.863846,
"py": -82.58746,
"pz": -162.21922,
"height": 16.660797,
"gimbal_pitch": -3.4,
"gimbal_roll": 0,
"gimbal_yaw": -63.008133,
"longitude": -1.3876699869292957,
"latitude": 0.7782552034686965,
"altitude": 231.22551,
"traj_id": 0
},
Notice that the longtude/latitude values are not in the typical DMS (degree, minutes, seconds) or DD (decimal degrees) format. Does anyone recognize this format? I would like to convert these into DMS format. From the flight log I know that the above values correspond to (roughly) lat,long: 44.590766,-79.507704 .
{
"index": 1747007499241,
"px": 25.863846,
"py": -82.58746,
"pz": -162.21922,
"height": 16.660797,
"gimbal_pitch": -3.4,
"gimbal_roll": 0,
"gimbal_yaw": -63.008133,
"longitude": -1.3876699869292957,
"latitude": 0.7782552034686965,
"altitude": 231.22551,
"traj_id": 0
},
Notice that the longtude/latitude values are not in the typical DMS (degree, minutes, seconds) or DD (decimal degrees) format. Does anyone recognize this format? I would like to convert these into DMS format. From the flight log I know that the above values correspond to (roughly) lat,long: 44.590766,-79.507704 .
Last edited: