[Mapserver-users] Projection trouble

opengis_libero opengis at libero.it
Tue Jan 13 08:43:42 PST 2004


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",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",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




More information about the MapServer-users mailing list