OGR and XML

Davi Duchovni duchovni at GMAIL.COM
Fri Sep 2 13:27:12 EDT 2005


Please I am creating the Virtual Spatial Data but i don´t know how to
create the xml file and how to link the map file whith the xml file!!!

please, could any one help me?!?!?!

follow the file of what i´m doind!!!

thanks

<OGRVRTDataSource>

   <OGRVRTLayer name="teste">
       <SrcDataSource>ODBC:user/pass at DNS</SrcDataSource>
       <SrcLayer>teste</SrcLayer>
       <GeometryType>wkbPoint</GeometryType>
       <LayerSRS>WGS84</LayerSRS>
       <GeometryField encoding="PointFromColumns" x="x" y="y"/>
   </OGRVRTLayer>

</OGRVRTDataSource>


LAYER
   NAME teste
   CONNECTIONTYPE OGR
   CONNECTION "ODBC:user/pass at DNS"
   DATA "select X,Y from vw_aluno_xy where ID = 107581"
   STATUS ON
   TYPE POINT


thanks a lot

Davi



More information about the mapserver-users mailing list