<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 now get this from shp2img, any ideas. I know on the command line for ogrinfo, the parameter hydarea@hyd(*)_area must be in double quotes or it does not work. For some reason, single quotes suppresses the output. Any ideas on how to further debug this.<br><br>Note: I am running on Windows XP. My map file is below.<br><br>Thanks<br>Derek<br><br>shp2img output ------------------&gt;&gt;<br><br>C:\ms4w\Apache\cgi-bin&gt;shp2img.exe -m C:\ms4w\apps\SeeTrack_Missions\dnc2.map -o&nbsp; C:\ms4w\apps\SeeTrack_Missions\test.png<br><br>msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'<br>. &lt;br&gt;<br>msOGRFileOpen(): OGR error. Open failed for OGR connection `gltp:/vrf/C:/ms4w/apps/SeeTrack_Missions/data/DNC13/H1316030'.&nbsp; File not found or unsupported format<br>.
 &lt;br&gt;<br><br>MAPFILE -----------------------&gt;&gt;<br><br>NAME "Test"<br>&nbsp;&nbsp;&nbsp; SIZE 600 400<br>&nbsp;&nbsp;&nbsp; UNITS DD<br><br>&nbsp;&nbsp;&nbsp; # force PROJ.4 to use this value<br>&nbsp;&nbsp;&nbsp; CONFIG "PROJ_LIB" "C:/ms4w/proj/nad/"<br><br>&nbsp;&nbsp;&nbsp; # [minx_left] [miny_bottom] [maxx_right] [maxy_top]<br>&nbsp;&nbsp;&nbsp; EXTENT -180 -90 180 90&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # whole world<br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "init=epsg:4326"<br>&nbsp;&nbsp;&nbsp; END<br><br>&nbsp;&nbsp;&nbsp; # Set Debug file<br>&nbsp;&nbsp;&nbsp; CONFIG "MS_ERRORFILE" "c:/ms4w/tmp/ms_error.txt"<br>&nbsp;&nbsp;&nbsp; # set recommended level for debugging mapfiles<br>&nbsp;&nbsp;&nbsp; DEBUG 3<br><br>&nbsp;&nbsp;&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "hydarea_hyd_area"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GROUP "DNC13"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE
 POLYGON<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CONNECTION "gltp:/vrf/C:/ms4w/apps/SeeTrack_Missions/data/DNC13/H1316030"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DATA '"hydarea@hyd(*)_area"'<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "init=epsg:4326"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp; # End Projection<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "wms_title"&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "hydarea@hyd(*)_area"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "wms_abstract"&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "hydarea@hyd(*)_area abstract goes here
 ...."<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "wms_srs" &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "epsg:4326"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "wms_name"&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "hydarea"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # [minx_left] [miny_bottom] [maxx_right] [maxy_top]<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "wms_extent"&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "-118.646797 32.933327&nbsp; -118.475853 33.066673" <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "wms_onlineresource"&nbsp;&nbsp;&nbsp; "http://localhost:8082/cgi-bin/mapserv.exe?map=C:/ms4w/apps/SeeTrack_Missions/dnc2.map"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 END&nbsp;&nbsp;&nbsp; # End Metadata<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "hydarea"<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp; # End Class<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp; # End Layer<br>&nbsp;&nbsp;&nbsp; <br>END<br><br></div></div><br>



      <hr size=1> 
Not happy with your email address?
<br> <a href="http://uk.docs.yahoo.com/ymail/new.html"> Get the one you 

really want</a> - millions of new email addresses available now at <a 

href="http://uk.docs.yahoo.com/ymail/new.html"> Yahoo!</a></body></html>