<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 used the command <br><br>ogrinfo -ro -summary gltp:/vrf/c:/ms4w/apps/some_folder/data/DNC13/H1316030<br><br>on a folder containing digital nautical charts to get the listing below. I then created the map file using the info for layer 14 ( hydarea@hyd(*)_area (Polygon) ) and using the extents from orginfo with hydarea@hyd(*)_area as its parameter. I tried testing the map file using shp2img but keep getting the error "Projection library error. No such file or directory" From what I can find from web searching etc, this error description covers a lot of different errors.<br><br>From what i can see from hydarea@hyd, hyd is a subfolder of H1316030 i.e C:\ms4w\apps\some_folder\data\DNC13\H1316030\HYD and hydarea is file inside that folder with the extension .AFT<br><br>Can anyone offer any
 help<br><br>Thanks<br>Derek<br><br>Map File----&gt;<br><br>#<br># Digital Nautical Maps for H1316030<br># (14: hydarea@hyd(*)_area (Polygon))<br>#<br><br>&nbsp;&nbsp;&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "hydarea_hyd_area"<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; # MapServer Layer = ogrinfo layer - 1 i.e. 14-1 = 13<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CONNECTION "C:/ms4w/Apps/some_folder/data/DNC13/H1316030,13"&nbsp;&nbsp;&nbsp; # 14: hydarea@hyd(*)_area (Polygon)<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STATUS ON<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/some_folder/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><br><br>ORGINFO output-----------&gt;<br><br>Layer name: hydarea@hyd(*)_area<br>Geometry: Polygon<br>Feature Count: 63<br>Extent: (-118.646797, 32.933327) - (-118.475853, 33.066673)<br>Layer SRS WKT:<br>GEOGCS["NAD83",<br>&nbsp;&nbsp;&nbsp;
 DATUM["North_American_Datum_1983",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SPHEROID["GRS 1980",6378137,298.257222101,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY["EPSG","7019"]],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TOWGS84[0,0,0,0,0,0,0],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY["EPSG","6269"]],<br>&nbsp;&nbsp;&nbsp; PRIMEM["Greenwich",0,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY["EPSG","8901"]],<br>&nbsp;&nbsp;&nbsp; UNIT["degree",0.0174532925199433,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHORITY["EPSG","9108"]],<br>&nbsp;&nbsp;&nbsp; AXIS["Lat",NORTH],<br>&nbsp;&nbsp;&nbsp; AXIS["Long",EAST],<br>&nbsp;&nbsp;&nbsp; AUTHORITY["EPSG","4269"]]<br>id: Integer (10.0)<br>f_code: String (5.0)<br>acc: Integer (5.0)<br>cvh: Real (15..6)<br>cvl: Real (15.6)<br>tile_id: Integer (5.0)<br>fac_id: Integer (10.0)<br><br><br>1: buildnga@cul(*)_area (Polygon)<br>2:
 transl@cul(*)_line (Line String)<br>3: buildngp@cul(*)_point (Point)<br>4: commp@cul(*)_point (Point)<br>5: industp@cul(*)_point (Point)<br>6: ecrarea@ecr(*)_area (Polygon)<br>7: foreshoa@ecr(*)_area (Polygon)<br>8: coastl@ecr(*)_line (Line String)<br>9: foreshol@ecr(*)_line (Line String)<br>10: islandp@ecr(*)_point (Point)<br>11: ecrtext@ecr(*)_text (Point)<br>12: envarea@env(*)_area (Polygon)<br>13: tidep@env(*)_point (Point)<br>14: hydarea@hyd(*)_area (Polygon)<br>15: hydline@hyd(*)_line (Line String)<br>16: botcharp@hyd(*)_point (Point)<br>17: soundp@hyd(*)_point (Point)<br>18: embanka@lcr(*)_area (Polygon)<br>19: lcrline@lcr(*)_line (Line String)<br>20: limbndya@lim(*)_area (Polygon)<br>21: limbndya@lim(*)_area (Polygon)<br>22: distl@lim(*)_line (Line String)<br>23: distl@lim(*)_line (Line String)<br>24: limbndyl@lim(*)_line (Line String)<br>25: limbndyl@lim(*)_line (Line String)<br>26: routel@lim(*)_line (Line String)<br>27: routel@lim(*)_line
 (Line String)<br>28: limbndyp@lim(*)_point (Point)<br>29: leadingl@nav(*)_line (Line String)<br>30: buoybcnp@nav(*)_point (Point)<br>31: lightsp@nav(*)_point (Point)<br>32: dangera@obs(*)_area (Polygon)<br>33: hazarda@obs(*)_area (Polygon)<br>34: obstruca@obs(*)_area (Polygon)<br>35: reefa@obs(*)_area (Polygon)<br>36: hazardl@obs(*)_line (Line String)<br>37: dangerp@obs(*)_point (Point)<br>38: hazardp@obs(*)_point (Point)<br>39: obstrucp@obs(*)_point (Point)<br>40: ruinsp@obs(*)_point (Point)<br>41: piera@por(*)_area (Polygon)<br>42: structra@por(*)_area (Polygon)<br>43: pierl@por(*)_line (Line String)<br>44: structrl@por(*)_line (Line String)<br>45: relline@rel(*)_line (Line String)<br>46: relpoint@rel(*)_point (Point)<br>47: dqyarea@dqy(*)_area (Polygon)<br>48: tileref@tileref(*)_area (Polygon)<br>49: libref@libref(*)_line (Line String)<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>