[mapserver-users] ogrinfo : couldn't fetch requested layer

Travis Kirstine tkirstine at firstbasesolutions.com
Tue Jul 19 07:48:55 PDT 2016


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-bounces at lists.osgeo.org] On Behalf Of mathias cunault
Sent: July-19-16 7:19 AM
To: mapserver-users at 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



--

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160719/b2ea6680/attachment.htm>


More information about the MapServer-users mailing list