Merging different projection

Ed McNierney ed at TOPOZONE.COM
Fri Feb 18 08:50:33 EST 2005


Sten-Helge -

Could you post the map file you are using that does not work properly?
Are you describing a PROJECTION block for each layer, selecting an
output PROJECTION for the map image, and setting the output map EXTENT
to match the output projection?

        - Ed

Ed McNierney
TopoZone.com

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Sten-Helge Henriksen
Sent: Friday, February 18, 2005 6:53 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Merging different projection

Hi all!
I have two different types of shape files whice I would like to use in
the
same .map.
The projection from the first corresponding .prj file looks like this;

PROJCS["WGS_1984_UTM_Zone_33N",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984"
,SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0]
,UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],
PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],
PARAMETER["Central_Meridian",15.0],PARAMETER["Scale_Factor",0.9996],
PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]

while from the second, it looks like this;
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,2
98.257223563]
],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]

I have tried several ways, with differnt types of projection to get
those
two filetypes into the same map, without success.

Separately they turn up nicely with respectively extent;
EXTENT 404929.999959 7516685.438843 424106.999991 7544257.142516
and
EXTENT -4.792797 37.909400 51.301297 81.166931

Does anyone have a clue how to solve this?

Thanks in advance

stenhh



More information about the mapserver-users mailing list