Hello!!!
Can we make a GPS integration For Tracking Vehicles with Mapguide. If Yes, please provide with some samples..
Thank You..
The trick is to get the vehicle to pass the current GPS location to a database and point mapguide to that database using ODBC to draw the Lat and Long points on the map. You just refresh the map to see where the car is.
MapGuide just points to a database.
1. Use phone or iPad to collect GPS location
2. Post location to Web Server i.e. http://myserver.com/mylocation.php?ID=111&LAT=45.5&LON=-118.4
3. This page would load the values into a database (even Microsoft Access)
4. Using MapGuide, use ODBC dataconnector to draw the LAT and LONG on the map
5. Using basic web layout - set a javascript timer setTimeout(top.myMapGuideFrame.Refresh(),5000);
thats it.
gordon