I've changed like this  

CONNECTION "
  <OGRVRTDataSource>
    <OGRVRTLayer name='Araclar'>
        <SrcDataSource>ODBC:webuser/webu...@mssql,AracView</SrcDataSource>
        <SrcSQL>SELECT * FROM AracView</SrcSQL>
        <GeometryType>wkbPoint</GeometryType>
        <GeometryField encoding='PointFromColumns' x='LONGITUDE'
y='LATITUDE'></GeometryField>
    </OGRVRTLayer>
</OGRVRTDataSource>"

And result;

msDrawMap(): Image handling error. Failed to draw layer named 'Araclar'.
msOGRFileOpen(): OGR error. Open failed for OGR connection in layer
`Araclar'. Parse error at EOF, not all elements have been closed, starting
with SrcDataSource 

Is there a problem while using comma?
-- 
View this message in context: 
http://n2.nabble.com/ODBC-OGR-MS-SQL-CONNECTION-tp4824960p4829293.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to