[Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed
Phil Shevlin
pshevlin at cityftmyers.com
Fri Nov 21 12:15:12 PST 2003
Thanks for the reply. We use MapInfo here. And it is:
US State Plane Coord System (1983, Feet)
-- Florida 0902, Western Zone (1983, US Survey Feet)
I'm just learning MS. And this is my first foray into projections...
Right now I have the MAP projection at (for NAD83):
PROJECTION
"init=epsg:4269"
END
What would I set the project at for the raster? And wouldn't I need to
convert the degrees to feet?
TIA
-Phil
-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: Thursday, November 20, 2003 10:05 AM
To: Phil Shevlin
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance
needed
Phil Shevlin wrote:
> I have a map with a number of layers working. I am trying to include a
> raster layer (.tif). When I include the layer:
>
> LAYER
> NAME "Test"
> STATUS ON
> DATA "E:/Inetpub/wwwroot/mapserver/raster/4424.tif"
> TYPE RASTER
> TEMPLATE "template_hi.html"
> END
>
> The map shows but the layer does not appear. I am assuming that it is a
> projection problem. My extent is in degrees:
>
> EXTENT -81.917574 26.569844 -81.755026 26.691756
>
> But the .tfw file appears otherwise:
>
> 4.00000000000000
> 0.00000000000000
> 0.00000000000000
> -4.00000000000000
> 669000.00000000000000
> 855000.00000000000000
>
> How do I go about including this layer? Or, can someone point me to some
> tutorials (I have found one that helps me).
>
Phil,
The raster is clearly in a different projection. You will need to establish
what coordinate system it is, and properly describe it with a PROJECTION
block
in the layer. You will also need an appropriate lat/long projectio block
for
the map level if your generated map is currently in lat/long.
To know the coordinate system you will have to look at your dataset and
talk to whoever you got it from.
Good luck,
--
---------------------------------------+------------------------------------
--
I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list