A Framework of Online Spatial-temporal Data Visualization based on HTML5
Internet has become one of the main information resources of people?s daily lives. Meanwhile, a large proportion of information is spatial-temporal related, for example public transportation inquiry, travel route plan, event recommendation and Internet of things. It is necessary to create a standard framework to visualize spatial-temporal data through Internet, so people can easily have access to the data. Many methods are proposed for online geo-spatial data visualization. However, these methods do not take time into consideration, which is essential in some applications. To implement online spatial-temporal data visualization, new features of the Internet should be applied.
Internet is evolving especially its core technology HTML (HyperText Markup Language, a language for structuring and presenting content for the World Wide Web). After the first version of HTML proposed by Tim Berners-Lee in 1989, it has developed for more than 20 years and now the Internet is entering a era of the new version of the core technology?HTML5. This paper applies the latest technologies in the HTML5 into the spatial-temporal data visualization and creates a prototype framework for further extension.
In the proposed visualization framework, spatial-temporal data is stored in the data server and is send to the user browsers with WebStocket technology. Also the open information such as Internet digital maps is mashed up into the browser. The animation in the browser is implemented and visualized by the canvas object defined in the HTML5 specification.
To stimulate the real time spatial data source, we collected the daily location of 15 users with GPS tracker. The current positions of the users are collected every minute and are recorded in a file. Based on this file, we generate a real time spatial data source of the current location of the users. The data source sends out the current user location every second, which enlarges the real time scales by 60 times so we can observer the movement clearly. The data transmitted with WebStocket is the coordinates of the users? current position, and will be demonstrated in the client browsers.