<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 ------------------>><br><br>C:\ms4w\Apache\cgi-bin>shp2img.exe -m C:\ms4w\apps\SeeTrack_Missions\dnc2.map -o C:\ms4w\apps\SeeTrack_Missions\test.png<br><br>msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'<br>. <br><br>msOGRFileOpen(): OGR error. Open failed for OGR connection `gltp:/vrf/C:/ms4w/apps/SeeTrack_Missions/data/DNC13/H1316030'. File not found or unsupported format<br>.
<br><br><br>MAPFILE ----------------------->><br><br>NAME "Test"<br> SIZE 600 400<br> UNITS DD<br><br> # force PROJ.4 to use this value<br> CONFIG "PROJ_LIB" "C:/ms4w/proj/nad/"<br><br> # [minx_left] [miny_bottom] [maxx_right] [maxy_top]<br> EXTENT -180 -90 180 90 # whole world<br> PROJECTION<br> "init=epsg:4326"<br> END<br><br> # Set Debug file<br> CONFIG "MS_ERRORFILE" "c:/ms4w/tmp/ms_error.txt"<br> # set recommended level for debugging mapfiles<br> DEBUG 3<br><br> LAYER<br> NAME "hydarea_hyd_area"<br> GROUP "DNC13"<br> TYPE
POLYGON<br> CONNECTIONTYPE OGR<br> CONNECTION "gltp:/vrf/C:/ms4w/apps/SeeTrack_Missions/data/DNC13/H1316030"<br> DATA '"hydarea@hyd(*)_area"'<br> STATUS ON<br> <br> PROJECTION<br> "init=epsg:4326"<br> END # End Projection<br><br> METADATA<br> "wms_title" "hydarea@hyd(*)_area"<br> "wms_abstract" "hydarea@hyd(*)_area abstract goes here
...."<br> "wms_srs" "epsg:4326"<br> "wms_name" "hydarea"<br> # [minx_left] [miny_bottom] [maxx_right] [maxy_top]<br> "wms_extent" "-118.646797 32.933327 -118.475853 33.066673" <br> "wms_onlineresource" "http://localhost:8082/cgi-bin/mapserv.exe?map=C:/ms4w/apps/SeeTrack_Missions/dnc2.map"<br>
END # End Metadata<br><br> CLASS<br> NAME "hydarea"<br> COLOR 255 0 0<br> END # End Class<br> <br> END # End Layer<br> <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>