<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
I'm using the VirtualData function (You can find it on the <a
 href="http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?VirtualSpatialData">Mapserver
Wiki</a> pages) for a .dbf file i have to use. I've used this function
for several times now, but this is the first time that it doesn't work.
What am i doing wrong? I've tested my virtual.ovf file with the OGRinfo
tool, and no problems were reported, i could see all of my data.<br>
<br>
Many thanks<br>
<br>
Wouter Schaubroeck<br>
<br>
This is my .ovf file: (virtual.ovf)<br>
<br>
&lt;OGRVRTDataSource&gt;<br>
<br>
&nbsp;&nbsp;&nbsp; &lt;OGRVRTLayer name="GSM00837"&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;SrcDataSource&gt;C:/program files/apache
group/apache2/htdocs/herten/GSM00837.dbf&lt;/SrcDataSource&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;SrcLayer&gt;Gsm00837&lt;/SrcLayer&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;GeometryType&gt;wkbPoint&lt;/GeometryType&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;GeometryField encoding="PointFromColumns" x="Latitude"
y="Longitude"/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/OGRVRTLayer&gt;<br>
&nbsp;&nbsp;&nbsp; <br>
&lt;/OGRVRTDataSource&gt;<br>
<br>
This is my map file:<br>
<br>
MAP<br>
&nbsp;&nbsp;&nbsp; IMAGETYPE PNG24<br>
&nbsp;&nbsp;&nbsp; EXTENT 165450 227900 166300 230060<br>
&nbsp;&nbsp;&nbsp; SIZE 600 450<br>
&nbsp;&nbsp;&nbsp; SHAPEPATH "Data"<br>
&nbsp;&nbsp;&nbsp; SYMBOLSET "symbols.sym"<br>
&nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "init=epsg:4313"<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; LAYER<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "Herten"<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE POINT<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CONNECTION "virtual.ovf"<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DATA "GSM00837"<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STATUS ON<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LABELITEM GSM00837<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "init=epsg:4313"<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SYMBOL "cir"<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE 6<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SIZE MEDIUM<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE BITMAP<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; END<br>
END<br>
<br>
<br>
And this is how i call my mapserver<br>
<br>
/cgi-bin/mapserv.exe?map=C:/Program Files/Apache
Group/Apache2/htdocs/herten/herten.map&amp;amp;mode=map<br>
<br>
<br>
</body>
</html>