tiff files not displaying

Ed McNierney ed at TOPOZONE.COM
Thu Sep 15 16:02:05 EDT 2005


Matt -

The EXTENT and UNITS you're requesting in your MAP file are evidently in
a completely different coordinate system than your TIFF file is (at
least, according to that world file).

And I just saw your second message, so you've figured that out <g>.

Yes, you can mix input data of different projections, and you can
produce an output image in yet another projection.  That's not too hard,
but it's not something you can do halfway - you need to be sure you
understand all your input data first.

And if you're intending to take perfectly good projected raster data and
use MapServer to rubber-sheet stretch it into some useless "geographic"
lat/lon output image, I'd be happy to help but you'll get a lecture
along with the help <g>!

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Matt Garrish
Sent: Thursday, September 15, 2005 3:46 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] tiff files not displaying

If anyone could enlighten me as to what I'm doing wrong I would really
appreciate it. I'm just trying to get a tiff file to display (Windows
XP, IIS 5), but all I get returned is a blank image. The mapserver
configuration info is as follows:

MapServer version 4.7 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS INPUT=POSTGIS
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG

My map file is set up like so:

MAP

  EXTENT -141 42 -52 83
  UNITS DD
	
  SHAPEPATH "data"
  SIZE 300 300
  IMAGETYPE png
   
   LAYER
   	NAME RDATA
   	STATUS DEFAULT
   	TYPE RASTER
	DATA "1KM_RAD.TIF"
   END
END

And I have a wld file in the data directory with the same name as the
tif containing the following info:

1000
0.00000
0.00000
-1000
-2750000.131
3000000.244

Do I need to recompile Mapserver with tiff support? Is my problem
somewhere else? Any insights would be greatly appreciated!

Matt



More information about the mapserver-users mailing list