help

Davi Duchovni duchovni at GMAIL.COM
Mon Sep 5 14:09:49 EDT 2005


please, does anyone know whats wrong in this ovf file?!?! 
Or in this map file???

´cause it´s not working!!!!

<OGRVRTDataSource>
    <OGRVRTLayer name="virtual"> 
<SrcDataSource>ODBC:userID/pass at tnsnames</SrcDataSource>
 	<SrcSQL>SELECT X,Y FROM vw_aluno_xy WHERE ID = 107581</SrcSQL> 
	<GeometryType>wkbPoint</GeometryType> 
        <LayerSRS>WGS84</LayerSRS>
	<GeometryField encoding="PointFromColumns" X="x" Y="y"/> 
    </OGRVRTLayer>
</OGRVRTDataSource>



LAYER
    NAME "teste"
    TYPE POINT
    CONNECTIONTYPE OGR
    CONNECTION "gua.ovf" # the name and path to the virtual.ovf file,
relative to shapepath may work?
    DATA "virtual" # the name of the OGRVrtLayer
    STATUS ON

    PROJECTION
      "init=epsg:4326"
    END

    CLASS
        SYMBOL "circle"
        COLOR 255 0 0
        SIZE 6
    END
    DUMP TRUE # allow GML export
 END


thanks everbody!!

Davi



More information about the mapserver-users mailing list