Hi <br><div class="gmail_quote">I am trying to display few points on the browser using Mapserver. I have created MySQL database and created connection with mapserver by the help of .ovf xml file.<br>-------------------------------------------------<br>




<p><span style="font-family: &quot;Courier New&quot;;">&lt;OGRVRTDataSource&gt;</span></p>

<p><span style="font-family: &quot;Courier New&quot;;"><span>&nbsp;&nbsp;&nbsp; </span>&lt;OGRVRTLayer name=&quot;nsdb&quot;&gt; </span></p>

<p><span style="font-family: &quot;Courier New&quot;;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>&lt;SrcDataSource&gt;MYSQL:dispro,user=uuuuuu,password=pppp,host=192.170.1.100,port=3306,tables=STATION&lt;/SrcDataSource&gt;
</span></p>

<p><span style="font-family: &quot;Courier New&quot;;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;SrcSQL&gt;SELECT absnum, stlat,
stlon, stflag FROM STATION&lt;/SrcSQL&gt; </span></p>

<p><span style="font-family: &quot;Courier New&quot;;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;</span></p>

<p><span style="font-family: &quot;Courier New&quot;;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;GeometryField
encoding=&quot;PointFromColumns&quot; x=&quot;stlon&quot;
y=&quot;stlat&quot;/&gt; </span></p>

<p><span style="font-family: &quot;Courier New&quot;;"><span>&nbsp;&nbsp;&nbsp; </span>&lt;/OGRVRTLayer&gt;</span></p>

<p><span style="font-family: &quot;Courier New&quot;;">&lt;/OGRVRTDataSource&gt;</span></p>

--------------------------------------------------<br><br><br><br><br>When I run the command :<br>ogrinfo&nbsp;
/mnt/fritjof/wms/nsdb/con.ovf <br><br>ogrinfo returns :<br>

<br><p style="border: medium none ; padding: 0cm;"><span style="font-family: &quot;Courier New&quot;;">ERROR 4: Update access not supported for VRT datasources.</span></p>

<p style="border: medium none ; padding: 0cm;"><span style="font-family: &quot;Courier New&quot;;">Had to open data source read-only.</span></p>

<p style="border: medium none ; padding: 0cm;"><span style="font-family: &quot;Courier New&quot;;">INFO: Open of `/mnt/fritjof/wms/nsdb/con.ovf&#39;</span></p>

<p style="border: medium none ; padding: 0cm;"><span style="font-family: &quot;Courier New&quot;;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>using driver `VRT&#39;
successful.</span></p>

<span style="font-family: &quot;Courier New&quot;;">1: nsdb (Point)</span><br>.....................................................................................................................................<br>Version details of mapserver and GDAL as follows: <br>
<pre><font size="4">$ ./mapserv -v<br>MapServer version 4.10.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP <br>OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER <br>SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT <br>
SUPPORTS=WCS_SERVER SUPPORTS=THREADS INPUT=EPPL7 INPUT=OGR INPUT=GDAL <br>INPUT=SHAPEFILE DEBUG=MSDEBUG<br><br><br>$ gdal-config --version<br>1.5.3</font></pre>
<br>I have a map file con.map as follows:<br>

-------------------------------------------------------------<br>MAP<br>&nbsp; NAME &quot;MYSQL-TEST&quot;<br>&nbsp; EXTENT&nbsp; -180 -90 180 90&nbsp; <br>&nbsp; UNITS dd<br>&nbsp; CONFIG &quot;CPL_DEBUG&quot; &quot;ON&quot;<br><br>&nbsp; PROJECTION<br>&nbsp; &quot;init=epsg:4326&quot;<br>


&nbsp; END<br><br>&nbsp; SHAPEPATH &quot;/mnt/fritjof/wms/nsdb&quot;<br><br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; DEBUG ON<br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_title&quot; &quot;nsdb&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_srs&quot; &quot;EPSG:4326&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_extent&quot; &quot;-57.768 64.1842 -51.6283 64.3645&quot;<br>


&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; NAME &quot;stations&quot; <br>&nbsp;&nbsp;&nbsp; STATUS DEFAULT <br>&nbsp;&nbsp;&nbsp; TYPE POINT<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<br>&nbsp;&nbsp;&nbsp; CONNECTION &quot;con.ovf&quot;<br>&nbsp;&nbsp;&nbsp; DATA &quot;nsdb&quot;<br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;<br>


&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; EXTENT -57.768 64.1842 -51.6283 64.3645<br>&nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;MyClass&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 15<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;END<br>

<br>
END<br>........................................<br>And I have another html form from where I am trying to display in browser the Latitude and longitude points which are stored in database.&nbsp; <br><br>========================================================<br>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cphapal%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C07%5Cclip_filelist.xml"><link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5Cphapal%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C07%5Cclip_editdata.mso"><style>
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:&quot;&quot;;
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:&quot;Times New Roman&quot;;
        mso-fareast-font-family:&quot;Times New Roman&quot;;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:36.0pt;
        mso-footer-margin:36.0pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
--&gt;
</style>

<div style="border: 1pt solid windowtext; padding: 1pt 4pt;">

<p class="MsoNormal" style="border: medium none ; padding: 0cm;">MAPFILE <span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="MAP" value="/mnt/fritjof/wms/nsdb/con2.map" type="text"><span style="">&nbsp;</span><br>
REQUEST<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="REQUEST" value="GetMap" type="text">
<br>
SERVICE<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="SERVICE" value="WMS" type="text">
<br>
VERSION<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="VERSION" value="1.1.1" type="text">
<br>
LAYERS<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="LAYERS" value="wind" type="text"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span> <br>
STYLES<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="STYLES" value="default" type="text">
<br>
SRS<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="SRS" value="EPSG:4326" type="text">
<br>
BBOX<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="bbox" value="-4,51,14,64" type="text">
<br>
WIDTH<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="WIDTH" value="800" type="text">
<br>
HEIGHT<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="HEIGHT" value="600" type="text">
<br>
FORMAT<span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><input size="40" name="FORMAT" value="image/png" type="text">
<br style="">
<br style="">
</p>

<p class="MsoNormal" style="border: medium none ; padding: 0cm;"><input action="http://mapserver.nersc.no/cgi-bin/mapserv?" method="get" type="submit"></p>

<p class="MsoNormal" style="border: medium none ; padding: 0cm;">&nbsp;</p>

</div>

</div><br><br>=================================<br>But Mapserver is displaying nothing and does not giving any error. Just it&#39;s showing a blank map. Could you tell me Why??<br>What&#39;s the problem may be happen??<br>
Thanking you.<br>Regards,<br>Phalguni <br><br><pre><br><br><br></pre>&nbsp; <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>