Are you trying to read a CSV file?  You shouldn’t need a odbc connection to do 
that.  What does your vrt file look like?

From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of mathias cunault
Sent: July-19-16 7:19 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] ogrinfo : couldn't fetch requested layer

Hello,

I have created an odbc connexion named basol to use csv and vrt files in 
Mapserver. Ogrinfo can open basol (using driver ODBC successfully)

    `ogrinfo ODBC:@basol test.csv

but says "FAILURE : Couldn't fetch requested layer test.csv"

Is it a problem with system environnment variables ? Does it mean that 
mapserver will not be able to draw the layer later ?

Thanks
Apache version 2.2.22
PHP version 5.4.3
MapServer 6.0.3 CGI and MapScript (CSharp, Java, PHP, Python)
GDAL 1.9.1
mapserver utilities
gdal/ogr utilities
windows



--

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to