Latitude / Longitude for use as sample data

I am writing a demo web application that tracks multiple devices through my companies platform. My application works, but you need a csv file that will simulate devices moving around the map, as if they were a tracker attached to the machine. The simulator works by reading 1 line of data every second (1 lat / lng point). Here is an example of the first few lines of a file that will work if points were not scattered across the United States (SclId is the name of the device).

SclId Latitude Longitude HAT-0 44.968046 -94.420307 HAT-1 44.33328 -89.132008 HAT-2 33.755787 -116.359998 HAT-3 33.844843 -116.54911 HAT-4 44.92057 -93.44786 HAT-5 44.240309 -91.493619 HAT-0 44.968041 -94.419696 HAT-1 44.333304 -89.132027 HAT-2 33.755783 -116.360066 HAT-3 33.844847 -116.549069 HAT-4 44.920474 -93.447851 HAT-5 44.240304 -91.493768 

If I had something that could create the simulation data with the clicks of the mouse, it will save me a lot of time by creating another program that requires me to drive with the device and write the data to CSV. Any help / recommendations would be greatly appreciated. If you do not understand the question, ask for clarification!

+4
source share

Source: https://habr.com/ru/post/1496858/


All Articles