UTM Projection

Dirk Jesko ml.dje at GEOCONTENT.DE
Fri Mar 31 00:39:46 PST 2006


Hi,

if you specify the projection within the map file explicitly (not by 
epsg code) as Transverse Mercator ("proj=tmerc") and set the false 
easting (x_0 parameter) to 32500000 (?) it should work. Something like 
this probably

    PROJECTION
        "proj=tmerc"
        "lon_0=9.0"
        "x_0=32500000" # maybe something else
        "lat_0=0"
        "y_0=0"
        "ellps=wgs84"
        "datum=wgs84"
        "units=m"
        "k_0=0.9996"
        "no_defs"
    END

Let me know, if works.

The other option would be to rewrite the GeoTIFF-Header using geotifcp.

Regards,
Dirk Jesko

wbr wrote:

>Hi All,
>
>i got raster maps in UTM32 where the geotiff info shows the extent like
>this:
>
>Geotiff_Information:
>   Version: 1
>   Key_Revision: 1.0
>   Tagged_Information:
>      ModelTiepointTag (2,3):
>         0                0                0
>         32637056.7       5656558.91       0
>      ModelPixelScaleTag (1,3):
>         2.5              2.5              0
>      End_Of_Tags.
>   Keyed_Information:
>      GTRasterTypeGeoKey (Short,1): RasterPixelIsPoint
>      End_Of_Keys.
>   End_Of_Geotiff.
>
>
>Corner Coordinates:
>Upper Left    (32637056.692, 5656558.906)
>Lower Left    (32637056.692, 5649358.906)
>Upper Right   (32649056.692, 5656558.906)
>Lower Right   (32649056.692, 5649358.906)
>Center        (32643056.692, 5652958.906)
>
>As you can see the easting value has a prefix 32 for the UTM Zone (The
>Source of information told me that this is common in Germany).
>
>Now my Question:
>I have converted a lot of Shapefiles in UTM32, but the easting values
>does not have this prefix, can i define a offset in the mapserver file
>to avoid this Problem ?
>
>Thanks,
>Wolfgang Brungert
>  
>



More information about the MapServer-users mailing list