[mapserver-users] Raster Image Projection Problems

Sean Gillies snchrstnglls at yahoo.com
Wed Sep 18 13:58:21 EDT 2002


Anwar,

I see that in your layer projection you are defining
'units=m' when you should be defining 'units=f' (feet)
You'll probably catch this error by the time you see
my mail :)

Sean

--- Shaik Anwar Hussain <shussain at atsincorp.com>
wrote:
> 
> 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 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=-77.750000000"
>                   "lat_0=39.333333333"
>                   "lon_0=40.800000000"
>                   "x_0=609601.219"
>                   "y_0=0.000"
>                   "ellps=clrk66"
>                  "datum=NAD27"
>                  "units=m"
>                  "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
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com



More information about the mapserver-users mailing list