On 2/1/2012 9:53 PM, Vivaldi Al Barado wrote:
Very thanks for your fast answer, Mr. Brent Fraser.

I want to create a points using openlayers to describes realtime GPS tracking. But i want to insert the openlayers script into web tempate of the mapfile, can i do that?
Yes, but in most (all?) implementations OpenLayers is loaded only once into your browser. It then makes requests to mapserver for data (i.e an image on every pan and zoom). In the "old" way (without OpenLayers or some similar JavaScript/Java package) of configuring mapserver, mapserver would deliver HTML, images, etc to render the entire interface on every pan and zoom. I don't think many people use it this way anymore since browsers are a lot more capable, but you can configure it this way if you really want to.

Have a look at the OpenLayers examples. Use your browser's debugging tool to see the conversation between OpenLayers and mapserver.

Note to Mapserver documenters: we need to update the Mapserver Introduction (especially the "Anatomy...") to show the more modern AJAX style implementation.


If it were possible, what the effect when I zoom the map?

Thanks for attention & your kindness

Best regards
Gozali

------------------------------------------------------------------------
*From:* Brent Fraser <[email protected]>
*To:* Vivaldi Al Barado <[email protected]>
*Cc:* "[email protected]" <[email protected]>
*Sent:* Tuesday, January 31, 2012 11:34 PM
*Subject:* Re: [mapserver-users] Want to create a dynamic GPS Tracking using MapServer

Gozali,

Due to the dynamic nature of the data, a spatial relational database such as PostGIS would be a good choice for the data storage. The tables would depend on which features are important to you (positions, tracks, etc).

Populating the tables from GPS data would likely require some custom coding.

There were a couple of sessions at FOSS4G 2007:

http://www.foss4g2007.org/presentations/view.php?abstract_id=83
http://www.foss4g2007.org/presentations/view.php?abstract_id=253
Best Regards,
Brent Fraser

On 1/31/2012 1:37 AM, Vivaldi Al Barado wrote:

Hi friends. I plan to create a map that can display the GPS tracking dynamically. For the best choice, what is needed to make GPS tracking dynamically using MapServer? Please guide.
Thank you so much for your explanations and your kindness.

Best Regards
Gozali


_______________________________________________
mapserver-users mailing list
[email protected]  <mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users




_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to