tiff files not displaying

Matt Garrish matthew.garrish at SYMPATICO.CA
Thu Sep 15 12:58:30 PDT 2005


> 
> From: Matt Garrish <matthew.garrish at SYMPATICO.CA>
> Date: 2005/09/15 Thu PM 03:45:40 EST
> 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
> 	

D'oh! My bad. I just changed the above lines to:

  EXTENT -2750500.131 -2999499.756 2749499.869 3000500.244
  UNITS METERS

And the image appeared. Is there any way to mix two types of images, (one in decimal degrees and one in metres?), or do I have to convert one or the other? If I do have to convert (bearing in mind I am complete newbie), would gdalwarp be the right tool? And can it be done when the tif file does not contain coordinate system info?

Thanks again for any help,

Matt



More information about the MapServer-users mailing list