[mapserver-users] Re: ODBC OGR MS SQL CONNECTION

ibrahimsaricicek ibrahimsaricicek at gmail.com
Wed Mar 31 02:37:30 EDT 2010


I've changed like this  

CONNECTION "
  <OGRVRTDataSource>
    <OGRVRTLayer name='Araclar'>
        <SrcDataSource>ODBC:webuser/webuser at 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.


More information about the mapserver-users mailing list