<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.emailstyle17
        {font-family:Arial;
        color:black;}
span.EmailStyle19
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

<style>
p.MsoNormal
        {margin-left:3.0pt;}
</style>
</head>

<body lang=EN-US link=blue vlink=purple style='margin-left:3.0pt;margin-top:
3.0pt;margin-right:3.0pt;margin-bottom:.75pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi bobb,</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks a lot. You got my point. I will be
adding the points to the postGIS database with the help of C#. Regarding mapserver
connectivity to the database &#8211; how can I connect to it without writing in
the mapfile?</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Again can you give me some reference as to
how it can be read as a display request by mapserver?</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Suman</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Bob Basques
[mailto:Bob.Basques@ci.stpaul.mn.us] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, June 30, 2009 10:03
AM<br>
<b><span style='font-weight:bold'>To:</span></b> Suman Chatterjee;
mapserver-users@lists.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [mapserver-users]
plotting points dynamically</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p style='margin-left:.5in'><font size=3 face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS"'>The best approach I can
think of, would be to figure out how to add the points to the database in a
dynamic method, and use MapServer as the Query/Render engine. &nbsp;This is how
we do GPS location points for example. &nbsp;The points are loaded into the
Database (POSTGIS) and simply (re)read as a display request by MapServer.</span></font>
</p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p style='margin-left:.5in'><font size=3 face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS"'>Just set up both sides,
the Database and the MapServer connectivity to the database as two separate
processes, and that should get you what you are after.</span></font> </p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p style='margin-left:.5in'><font size=3 face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS"'>bobb</span></font> </p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p style='margin-left:.5in'><font size=3 face="Comic Sans MS"><span
style='font-size:12.0pt;font-family:"Comic Sans MS"'>&nbsp;</span></font><br>
<br>
&gt;&gt;&gt; &quot;Suman Chatterjee&quot; &lt;schatterjee@addisontx.gov&gt;
wrote:</p>

<div style='border:none;border-left:solid #050505 1.0pt;padding:0in 0in 0in 5.0pt;
margin-left:11.25pt'>

<div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p style='margin-left:.5in;background:#F3F3F3'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi all, </span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p style='margin-left:.5in;background:#F3F3F3'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I am working on a project which
requires adding points to a basic map dynamically. That means&nbsp;&nbsp;the
basic map will be read from the map file. Then the points will be queried from
a database preferably PostGreSQL&nbsp;&nbsp;and then plotted on the map. I
cannot add the query to the map file because the points will be generated
dynamically at regular intervals. </span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p style='margin-left:.5in;background:#F3F3F3'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Is there any way I can do this in
mapserver? </span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p style='margin-left:.5in;background:#F3F3F3'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>&nbsp; </span></font></p>

</div>

</div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p style='margin-left:.5in;background:#F3F3F3'><font size=1 face=Arial><span
style='font-size:8.0pt;font-family:Arial'>*******************************************************************************************************************
</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p style='margin-left:.5in;background:#F3F3F3'><font size=1 face=Arial><span
style='font-size:8.0pt;font-family:Arial'>This e-mail and any files or
attachments transmitted with it contains Information that is confidential and
privileged. This document may contain Protected Health Information (PHI) or
other information that is intended only for the use of the individual(s) and
entity(ies) to whom it is addressed. If you are the intended recipient, further
disclosures are prohibited without proper authorization. If you are not the
intended recipient, any disclosure, copying, printing, or use of this
information is strictly prohibited and possibly a violation of federal or state
law and regulations. If you have received this information in error, please
delete it and notify Hamid Khaleghipour at 972-450-2868 immediately. Thank you.
</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=1
face=Arial><span style='font-size:8.0pt;font-family:Arial'>&nbsp;</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<div>

<p style='margin-left:.5in;background:#F3F3F3'><font size=1 face=Arial><span
style='font-size:8.0pt;font-family:Arial'>*******************************************************************************************************************
</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in;background:#F3F3F3'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

</div>

</div>

</body>

</html>