[Mapserver-users] Projection trouble

Stephen Clark stephen.clark at focus.ca
Tue Jan 13 13:13:23 EST 2004


TRY

  METADATA
    WMS_TITLE "Your title "
    WMS_SRS "EPSG:26932"
  END


in your layer

Stephen

----- Original Message ----- 
From: "opengis_libero" <opengis at libero.it>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Tuesday, January 13, 2004 8:43 AM
Subject: [Mapserver-users] Projection trouble


> Howdy,
>
> I've problem on mapserver shape file projection (on Window2000, Apache).
> mapserv -v
> MapServer version 3.6.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> SUPPORTS=PROJ
>  SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7
> INPUT=POSTGIS
> INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> --Other project work fine--
>
> Shape file come with *.shp, *.shx, *.sbn, *.sbx, *.dbf and *.prj
> The last one is:
>
PROJCS["WGS_1984_UTM_Zone_32N",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHE
ROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degr
ee",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_
Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridi
an",9.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0
],UNIT["Meter",1.0]]
>
> mapfile without PROJECTION doesn't draw map
>
> In map file if I try:
> PROJECTION
>   geographic
> END
> In browser I've:
> msProcessProjection(): Projection library error. PROJECTION 'GEOGRAPHIC'
> no longer supported. Provide explicit definition. ie. proj=latlong
> ellps=clrk66
> --This error msg tell me proj4 work.
> I think that I must change epsg, but I'don't know how and how can use in
> map file.
>
> Thanks in advance
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>




More information about the mapserver-users mailing list