CSUMB-SP17-CST499 / VTRMD

Visualization of Traceroute Results of Mobile Devices
1 stars 4 forks source link

JSON format sample for ISOM #6

Closed rciampa closed 7 years ago

rciampa commented 7 years ago

Here is the sample json for the getAllTestLocations call.

{"function":"getAllTestLocations","data":[{"Master_ID":"1657","LocationID":"1208","Geo_location":null,"Updated":"2017-04-06 16:25:46"},{"Master_ID":"1658","LocationID":"1208","Geo_location":null,"Updated":"2017-04-06 16:25:46"}]}

The Geo_Location:null is an issue due to me using a Geo Point instead of just two fields to store the lat & long.

I'm working to see how to extract the Geo Point information that I have inserted into the table

rciampa commented 7 years ago

Okay, here is the output you can expect for the getAllTestLocations call:

{"function":"getAllTestLocations","data":[{"Master_ID":"1657","LocationID":"1208","Latitiude":"36.80071098","Longitude":"-121.6647037","Updated":"2017-04-06 16:25:46"},{"Master_ID":"1658","LocationID":"1208","Latitiude":"36.80071098","Longitude":"-121.6647037","Updated":"2017-04-06 16:25:46"}]}