LCC Projection Specification

Richard A. Milewski ram at RAMPAGE.NET
Thu Oct 6 21:12:03 PDT 2005


I'm trying to use some government map rasters (tifs) in Mapserver.  The 
specs that come with the tif's list the projection information as:

/Spatial_Reference_Information:/

    /Horizontal_Coordinate_System_Definition:/

        /Planar:/

            /Map_Projection:/

                /Map_Projection_Name:/ Lambert Conformal Conic
                /Lambert_Conformal_Conic:/

                    /Standard_Parallel:/ 38.666670
                    /Standard_Parallel:/ 33.333330
                    /Longitude_of_Central_Meridian:/ -121.466670
                    /Latitude_of_Projection_Origin:/ 38.333330
                    /False_Easting:/ 0.000000
                    /False_Northing:/ 0.000000

            /Planar_Coordinate_Information:/

                /Planar_Coordinate_Encoding_Method:/ row and column
                /Coordinate_Representation:/

                    /Abscissa_Resolution:/ 63.744612
                    /Ordinate_Resolution:/ 63.744612

                /Planar_Distance_Units:/ meters

        /Geodetic_Model:/

            /Horizontal_Datum_Name:/ North American Datum of 1983
            /Ellipsoid_Name:/ Geodetic Reference System 80
            /Semi-major_Axis:/ 6378137.000000
            /Denominator_of_Flattening_Ratio:/ 298.257222

I'm trying understand how to translate that into the PROJECTION clause 
in a Mapserver layer specification in a .MAP file.
My best guess (...and I am guessing...) is:

PROJECTION
    proj=lcc
    lat_1=38.666670
    lat_2=33.333330
    lat_0=38.333330
    lon_0=-121.466670
    x_0=0.000000
    y_0=0.000000
    ellps=GRS80
    units=m
    no_defs
 END

That doesn't seem to work.  Can anyone give me a clue as to what I did 
wrong?

-- Richard


/
/

            //


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051006/3db7b11f/attachment.htm>


More information about the MapServer-users mailing list