[mapserver-users] Raster Projection Problem

Hankley, Chip Chip.Hankley at GASAI.Com
Wed Sep 18 09:11:34 PDT 2002


Well, for one thing, your Standard_Parallel_2 and lat_2 values don't match. 

Do you have other projected layers that _are_ showing up in the right place?
The problem could be the extent you are specifying in your mapfile... why
don't you provide that to the list.

Chip

-----Original Message-----
From: Shaik Anwar Hussain [mailto:shussain at atsincorp.com]
Sent: Wednesday, September 18, 2002 10:18 AM
To: Mapserver-Users (E-mail)
Cc: Ben Lewis
Subject: [mapserver-users] Raster Projection Problem


Hi List,

          I am having the problem with my raster image display. Does any one
can help me what is wrong in my projection definetion.  When i load this
raster image using ARCMAP its showing in the PA exact place.

These are the Data Frame Coordinate System Values in ARCMAP.

NAD_1927_StatePlane_Pennsylvania_South_FIPS_3702
Lambert_Conformal_Conic
False_Easting: 2000000.000000
False_Northing: 0.000000
Central_Meridian: -77.750000
Standard_Parallel_1: 39.933333
Standard_Parallel_2: 40.966667
Latitude_Of_Origin: 39.333333
GCS_North_American_1927

 These are my projection definitions.

 Map level projection definition

          PROJECTION
                    "proj=poly"
                    "ellps=GRS80"
                    "lon_0=77.75w"
                   "lat_0=40.925n"
                   "units=m"   
          END
          
Layer definition

	   LAYER
	   NAME "I99-07"   
	   TYPE raster
	   DATA "I99-07.tif" 
	   STATUS default
	   PROJECTION
                  "proj=lcc"
                  "lat_1=39.933333333"
                  "lat_2=40.800000000"
                  "lat_0=39.333333333"
                  "lon_0=-77.750000000"
                  "x_0=609601.219"
                   "y_0=0.000"
                   "ellps=clrk66"
                   "datum=NAD27"
                   "to_meter=0.3048006096"
                   "no_defs"
              END
	 END # LAYER
  
 The Projection definition for the raster layer is  Pennsylvania South
NAD27  Feet.    

I am using Apache web server, Windows 2000 and  

MapServer version 3.6.0 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

Thanks for your help.

Anwar
www.atsincorp.com




More information about the MapServer-users mailing list