[mapserver-users] DNC - msOGRFileOpen(): OGR error
Derek Bain
beartreeyoga at yahoo.co.uk
Thu Aug 14 06:19:53 PDT 2008
Hi
I am back to trying to fix my DNC problem. If I run the shp2img within FWTools, then the generated .png file contains my DNC image. However running the shp2img supplied with MapServer gives the following error
msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'. <br>
msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `hydarea_hyd_area'. File not found or unsupported format. <br>
If I understand what happens, MapServer uses shp2img to generate a temp image file which it then sends back to the WMS Client.
I have tried copying the shp2img (and all its dlls etc) from FWTools to MapServer but that did not work, so I assume it is a bit more complicated than that.
Could someone tell me what FWTools source files I would need to copy to the MapServer gdal folder so I can recompile MapServer and when compiled what files do I copy to ms4w and to which folders as there seems to be some duplication of files in ms4w.
many thanks
Derek
Send instant messages to your online friends http://uk.messenger.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080814/c49c6a59/attachment.htm>
More information about the MapServer-users
mailing list