[Mapserver-users] units question

Dave Walton mapserver at digger.net
Thu Feb 5 02:52:12 PST 2004


I have a shapefile which ogrinfo describes as below.  It displays quite
nicely in MapServer.  However, I have to use meters for EXTENT, and when I
produce a GeoTIFF image, the coordinates are in meters.  I would very much
like to be able to specify EXTENT in decimal degrees, and have the
coordinates in the GeoTIFF in decimal degrees.  How can I set up MapServer
to do this?

Layer name: co100a
Geometry: Polygon
Feature Count: 102
Extent: (-373886.881105, -604696.000000) - (540099.435280, 449894.875000)
Layer SRS WKT:
PROJCS["Custom",
    GEOGCS["GCS_North_American_1927",
        DATUM["North_American_Datum_1927",
            SPHEROID["Clarke_1866",6378206.4,294.9786982]],
        PRIMEM["Greenwich",0],
        UNIT["Degree",0.0174532925199433]],
    PROJECTION["Albers_Conic_Equal_Area"],
    PARAMETER["False_Easting",0],
    PARAMETER["False_Northing",-4000000],
    PARAMETER["longitude_of_center",-120],
    PARAMETER["Standard_Parallel_1",34],
    PARAMETER["Standard_Parallel_2",40.5],
    UNIT["Meter",1]]
AREA: Real (18.5)
PERIMETER: Real (18.5)
CO100A_: Integer (11.0)
CO100A_ID: Integer (11.0)
NAME: String (20.0)
NUM: Integer (2.0)
BAY: Integer (1.0)
DISPLAY: Integer (2.0)
SYMBOL: Integer (16.0)



-- 
----------------------------------------------------------------------
Dave Walton                                            dwalton at acm.org
----------------------------------------------------------------------



More information about the MapServer-users mailing list