<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hi <br><br>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<br><br>msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'. &lt;br&gt;<br>msOGRFileOpen(): OGR error. Open failed for OGR connection in layer `hydarea_hyd_area'.&nbsp; File not found or unsupported format. &lt;br&gt;<br><br>If I understand what happens, MapServer uses shp2img to generate a temp image file which it then sends back to the WMS Client.<br><br>I have tried copying the shp2img (and all its dlls etc)&nbsp; from FWTools to MapServer but that did not work, so I assume it is a bit more complicated than that. <br><br>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. <br><br>many thanks<br><br>Derek<br></div></div><br>Send instant messages to your online friends http://uk.messenger.yahoo.com </body></html>