<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----><br><br>#<br># Digital Nautical Maps for H1316030<br># (14: hydarea@hyd(*)_area (Polygon))<br>#<br><br> LAYER<br> NAME "hydarea_hyd_area"<br> TYPE POLYGON<br> CONNECTIONTYPE OGR<br> # MapServer Layer = ogrinfo layer - 1 i.e. 14-1 = 13<br> CONNECTION "C:/ms4w/Apps/some_folder/data/DNC13/H1316030,13" # 14: hydarea@hyd(*)_area (Polygon)<br><br> STATUS ON<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/some_folder/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><br>ORGINFO output-----------><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>
DATUM["North_American_Datum_1983",<br> SPHEROID["GRS 1980",6378137,298.257222101,<br> AUTHORITY["EPSG","7019"]],<br> TOWGS84[0,0,0,0,0,0,0],<br> AUTHORITY["EPSG","6269"]],<br> PRIMEM["Greenwich",0,<br> AUTHORITY["EPSG","8901"]],<br> UNIT["degree",0.0174532925199433,<br> AUTHORITY["EPSG","9108"]],<br> AXIS["Lat",NORTH],<br> AXIS["Long",EAST],<br> 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>