[mapserver-users] getting error

Frank Warmerdam warmerdam at pobox.com
Sat Dec 20 11:01:20 EST 2008


muzaffar hussain wrote:
> then i have execute this .ovf in command line as follows
> 
> *C:\ms4w\tools\gdal-ogr>ogrinfo aqidata.ovf
> ERROR 4: Update access not supported for VRT datasources.

> C:\ms4w\tools\mapserv>shp2img -m ogr.map -o test.png
> msDrawMap(): Image handling error. Failed to draw layer named 'MyAqi'. <br>
> msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `MyAqi'.  Fi
> 
> le not found or unsupported format. <br>**
> *
> 
> please help me out from this ,where i have done a mistake

Muzaffar,

It looks like you aqidata.ovf file is in C:\MS4W\tools\gdal-ogr but your
mapfile is in C:\MS4W\tools\mapserv.  I don't see anything in your mapfile
indicating how to find aqidata.ovf.  For simplicity I would suggest you use
a full path to the .ovf file in the .map file.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list