[mapserver-users] Re: ODBC OGR MS SQL CONNECTION
ibrahimsaricicek
ibrahimsaricicek at gmail.com
Tue Mar 30 23:37:30 PDT 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