<!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>
<OGRVRTDataSource><br>
<br>
<OGRVRTLayer name="GSM00837"><br>
<SrcDataSource>C:/program files/apache
group/apache2/htdocs/herten/GSM00837.dbf</SrcDataSource><br>
<SrcLayer>Gsm00837</SrcLayer><br>
<GeometryType>wkbPoint</GeometryType><br>
<GeometryField encoding="PointFromColumns" x="Latitude"
y="Longitude"/><br>
</OGRVRTLayer><br>
<br>
</OGRVRTDataSource><br>
<br>
This is my map file:<br>
<br>
MAP<br>
IMAGETYPE PNG24<br>
EXTENT 165450 227900 166300 230060<br>
SIZE 600 450<br>
SHAPEPATH "Data"<br>
SYMBOLSET "symbols.sym"<br>
PROJECTION<br>
"init=epsg:4313"<br>
END<br>
<br>
LAYER<br>
NAME "Herten"<br>
TYPE POINT<br>
CONNECTIONTYPE OGR<br>
CONNECTION "virtual.ovf"<br>
DATA "GSM00837"<br>
STATUS ON<br>
LABELITEM GSM00837<br>
PROJECTION<br>
"init=epsg:4313"<br>
END<br>
CLASS<br>
SYMBOL "cir"<br>
SIZE 6<br>
COLOR 255 0 0<br>
LABEL<br>
SIZE MEDIUM<br>
TYPE BITMAP<br>
COLOR 0 0 0<br>
END<br>
END<br>
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&mode=map<br>
<br>
<br>
</body>
</html>