<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
On 2/1/2012 9:53 PM, Vivaldi Al Barado wrote:
<blockquote
cite="mid:1328158410.69066.YahooMailNeo@web190101.mail.sg3.yahoo.com"
type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255,
255); font-family: arial,helvetica,sans-serif; font-size: 10pt;">
<div><span>Very thanks for your fast answer, Mr. Brent Fraser.</span></div>
<div><span><br>
</span></div>
<div><span>I want to create a points using openlayers to
describes realtime GPS tracking. <br>
</span></div>
<div><span>But i want to insert the openlayers script into web
tempate of the mapfile, can i do that?<br>
</span></div>
</div>
</blockquote>
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. <br>
<br>
Have a look at the OpenLayers examples. Use your browser's
debugging tool to see the conversation between OpenLayers and
mapserver.<br>
<br>
Note to Mapserver documenters: we need to update the Mapserver
Introduction (especially the "Anatomy...") to show the more modern
AJAX style implementation.<br>
<br>
<blockquote
cite="mid:1328158410.69066.YahooMailNeo@web190101.mail.sg3.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:10pt">
<div><span><br>
If it were possible, what the effect when I zoom the map?<br>
<br>
Thanks for attention & your kindness<br>
<br>
Best regards<br>
Gozali</span></div>
<div><br>
</div>
<div style="font-family: arial, helvetica, sans-serif;
font-size: 10pt;">
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;">
<div dir="ltr"> <font face="Arial" size="2">
<hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
Brent Fraser <a class="moz-txt-link-rfc2396E" href="mailto:bfraser@geoanalytic.com"><bfraser@geoanalytic.com></a><br>
<b><span style="font-weight: bold;">To:</span></b>
Vivaldi Al Barado <a class="moz-txt-link-rfc2396E" href="mailto:vivaldi_albarado@yahoo.com"><vivaldi_albarado@yahoo.com></a> <br>
<b><span style="font-weight: bold;">Cc:</span></b>
<a class="moz-txt-link-rfc2396E" href="mailto:mapserver-users@lists.osgeo.org">"mapserver-users@lists.osgeo.org"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:mapserver-users@lists.osgeo.org"><mapserver-users@lists.osgeo.org></a> <br>
<b><span style="font-weight: bold;">Sent:</span></b>
Tuesday, January 31, 2012 11:34 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
Re: [mapserver-users] Want to create a dynamic GPS
Tracking using MapServer<br>
</font> </div>
<br>
<div id="yiv227813398">
<div> Gozali,<br>
<br>
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).<br>
<br>
Populating the tables from GPS data would likely
require some custom coding.<br>
<br>
There were a couple of sessions at FOSS4G 2007:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.foss4g2007.org/presentations/view.php?abstract_id=83">http://www.foss4g2007.org/presentations/view.php?abstract_id=83</a><br>
<a class="moz-txt-link-freetext" href="http://www.foss4g2007.org/presentations/view.php?abstract_id=253">http://www.foss4g2007.org/presentations/view.php?abstract_id=253</a>
<pre class="yiv227813398moz-signature">Best Regards,
Brent Fraser</pre>
<br>
On 1/31/2012 1:37 AM, Vivaldi Al Barado wrote:
<blockquote type="cite">
<div
style="color:#000;background-color:#fff;font-family:arial,
helvetica, sans-serif;font-size:10pt;"><br>
<div style="font-family:arial, helvetica,
sans-serif;font-size:10pt;"><span
id="yiv227813398result_box" class="yiv227813398"
lang="en"><span class="yiv227813398hps">Hi</span>
<span class="yiv227813398hps">friends.</span> <span
class="yiv227813398hps">I plan</span> <span
class="yiv227813398hps">to</span> <span
class="yiv227813398hps">create a</span> <span
class="yiv227813398hps">map that</span> <span
class="yiv227813398hps">can display</span> <span
class="yiv227813398hps">the GPS</span> <span
class="yiv227813398hps">tracking</span> <span
class="yiv227813398hps">dynamically</span><span>.</span>
<br>
<span class="yiv227813398hps">For</span> <span
class="yiv227813398hps">the</span> <span
class="yiv227813398hps">best</span> <span
class="yiv227813398hps">choice</span><span>,</span>
<span class="yiv227813398hps">what is needed to</span>
<span class="yiv227813398hps">make GPS</span> <span
class="yiv227813398hps">tracking</span> <span
class="yiv227813398hps">dynamically</span> <span
class="yiv227813398hps">using</span> <span
class="yiv227813398hps">MapServer</span><span>?</span>
<span class="yiv227813398hps">Please</span> <span
class="yiv227813398hps">guide</span><span>.</span>
<br>
<span class="yiv227813398hps">Thank you</span> <span
class="yiv227813398hps">so much for your</span>
<span class="yiv227813398hps">explanations</span>
<span class="yiv227813398hps">and</span> <span
class="yiv227813398hps">your</span> <span
class="yiv227813398hps">kindness</span><span>.<br>
<br>
Best Regards<br>
Gozali<br>
</span></span> </div>
</div>
<br>
<fieldset class="yiv227813398mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
mapserver-users mailing list
<a moz-do-not-send="true" rel="nofollow" class="yiv227813398moz-txt-link-abbreviated" ymailto="mailto:mapserver-users@lists.osgeo.org" target="_blank" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</div>
</div>
<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</body>
</html>