help

Frank Warmerdam fwarmerdam at GMAIL.COM
Mon Sep 5 15:58:23 EDT 2005


On 9/5/05, Davi Duchovni <duchovni at gmail.com> wrote:
> 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>

Davi,

This looks fine to me assuming you have appropriate local 
information in your real SrcDataSource.  Does ogrinfo work on this
.ovf file?  Any error messages? 

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list