[Mapserver-users] Mixed Units (DD & Meters)

Michael Cortez mcortez at fullcoll.edu
Tue May 18 16:20:44 EDT 2004


I'm looking to mix data that is in Degrees Decimal and in Meters.  I
thought that I should be able to do this by specifying a PROJECTION for
each LAYER but can't seem to find any details on just doing unit
conversions.

I'd like to keep the output in DD, but have some select layers sources
be in Meters.  Is this possible?  Is there an example for setting up
this type of PROJECTION or doing this conversion on the fly?


Thanks,
--
Michael Cortez

Development Services
Academic Computing
Fullerton College
http://www.fullcoll.edu 


P.S. 
Here is the relevant projection info from two of my data sources:

DD data
=================
Ogrinfo displays "unknown" where the projection info is normally shown,
but this is an excerpt from the metadata file
(http://data.geocomm.com/readme/usgs/atlas/html/statesmt.html) for the
data:

>> Geodetic_Model: 
>>   Horizontal_Datum_Name: North American Datum 1983 
>>   Ellipsoid_Name: GRS1980 
>>   Semi-major_Axis: 6378137 
>>   Denominator_of_Flattening_Ratio: 298.257222 

=================

Meter data
=================
Extent: (-381980.468138, -608635.050165) - (564580.849511,
477826.380747)
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]]
=================




More information about the mapserver-users mailing list