[Mapserver-users] virtual spatial data
Jenu Abraham
jenu_ab at hotmail.com
Thu May 27 14:55:35 PDT 2004
Van,
my testing2.ovf file is
--------------------------------------------------------
<OGRVRTDataSource>
<OGRVRTLayer name="mylayer">
<SrcDataSource>ODBC:DSN</SrcDataSource>
<SrcLayer>table</SrcLayer>
<GeometryType>wkbPoint</GeometryType>
<LayerSRS>WGS84</LayerSRS>
<GeometryField encoding="PointFromColumns" x="x" y="y"/>
</OGRVRTLayer>
</OGRVRTDataSource>
------------------
the Layer object is
---------------------
LAYER # start of truck position from database
NAME trucks
TYPE POINT
CONNECTIONTYPE OGR
CONNECTION "C:\cgi-bin\testing2.ovf"
DATA "mylayer"
STATUS DEFAULT
PROJECTION
"init=epsg:4326"
END
CLASS
SYMBOL 1
SIZE 6
COLOR 255 0 0
END
END # end of connection layer
-------------------------
appretiate the help
jenu
_________________________________________________________________
Learn to simplify your finances and your life in Streamline Your Life from
MSN Money. http://special.msn.com/money/0405streamline.armx
More information about the MapServer-users
mailing list