90 likes | 100 Views
PostTrajectory : Querying and Managing GPS and Trajectories on PostgreSQL/ PostGIS. KiHyun Yoo E-mail : khyoo1221@gmail.com. Introduction. In modern cities, many people drive the vehicles that equipped with the GPS devices It is easily being collected and stored the GPS data
E N D
PostTrajectory : Querying and Managing GPS and Trajectories on PostgreSQL/PostGIS KiHyunYoo E-mail: khyoo1221@gmail.com
Introduction • In modern cities, many people drive the vehicles that equipped with the GPS devices • It is easily being collected and stored the GPS data • Many applications for location-based services(LBS) and moving object have been studied using these GPS data • Moreover, we can use a large-scale GPS data • Because it is easily collected from the vehicles • Recently it is increasing studies for mining a meaningful and a valuable information from the large-scale data
Motive • The trajectory is the set of information of the location by the time • Unfortunately traditional spatial database systems do not support data types and functions for trajectory data • PostgreSQL is probably one of the best solutions for trajectory data • It is an open-source ORDBMS(Object-Relational Database Management System) • Supports objects, classes and inheritance in database schemas and query language • Large-scale trajectory data is useful • By analyzing and predicting the trajectory data, it provide a new opportunity to understand the city dynamics and economic phenomena
Framework PostTrajectory GeoContents Client(Phone) Data Types GeoContents Client(Tablet) GeoContents Client(Web) Function_1 Server PostGIS Function_2 Function_3 PostTrajectory …. Data Types Functions PostgreSQL DB
PostTrajectory (Cont.) Q1) What is the longest distance that was travelled by a vehicle during the periods? SELECTMax(TR_Length(TR_AtPeriods (traj.Trip, ‘PERIOD(5005, 5008)’))) AS Dist FROMTrajectory traj WHERETR_Present(traj.Trip, ‘PERIOD(5005, 5008)’); Q2) Which vehicles travelled within one of the regions from City's Table during the periods? SELECTc.Region AS Region, traj.car AS car FROM Trajectory traj, City c WHERE NOT (TR_IsEmpty(TR_At(TR_AtPeriods(traj.Trip, ‘PERIOD(5005, 5008)’), c.Region)));
Thank youAny Questions? khyoo1221@gmail.com