<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [mapserver-users] hints wanted</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><CODE><FONT size=3><FONT face=Arial size=2>I have some TIF images 
georeferenced at MapInfo software. I would like to display them with 
Mapserver.</FONT></FONT></CODE></DIV>
<DIV><CODE><FONT size=3><FONT face=Arial 
size=2></FONT></FONT></CODE>&nbsp;</DIV>
<DIV><CODE><FONT face=Arial size=2>My MS version is:</FONT></CODE></DIV>
<DIV><CODE><A href="mailto:mapserver@linux">mapserver@linux</A> cgi-bin]$ 
./mapserv -v<BR>MapServer version 3.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG 
INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<BR></CODE></DIV>
<DIV><CODE><FONT face=Arial size=2></FONT></CODE>&nbsp;</DIV>
<DIV><CODE><FONT size=3><FONT face=Arial size=2>According&nbsp;<FONT 
face="Times New Roman" size=3> </FONT><A 
href="http://www.remotesensing.org/gdal/formats_list.html" target=_top><FONT 
face="Times New Roman" size=3>supported formats list</FONT></A>&nbsp;at <A 
href="http://www.remotesensing.org/gdal/" target=_top><FONT 
face="Times New Roman" size=3>http://www.remotesensing.org/gdal </FONT></A><FONT 
face="Times New Roman" size=3>,&nbsp; </FONT></FONT></FONT></CODE><CODE><FONT 
size=3><FONT face="Times New Roman">" If no georeferencing information is 
available in the TIFF file itself, GDAL will also check for, and use an ESRI 
world file with the extention .tfw, .tiffw or .wld, as well as a <U>MapInfo .tab 
file</U> (only control points used, Coordsys 
ignored)."&nbsp;</FONT></FONT></CODE></DIV>
<DIV><CODE><FONT size=3><FONT face=Arial 
size=2></FONT></FONT></CODE>&nbsp;</DIV>
<DIV><CODE><FONT size=3><FONT face="Times New Roman">Mapserver would have to 
work with MapInfo file.</FONT></FONT></CODE></DIV>
<DIV><CODE><FONT face=Arial size=2></FONT></CODE>&nbsp;</DIV>
<DIV><CODE><FONT face=Arial size=2>But It give-me this message: <FONT 
face="Times New Roman" size=3>"msCalculateScale(): General error message. 
Invalid image extent."</FONT></FONT></CODE></DIV>
<DIV><CODE><FONT face=Arial size=2></FONT></CODE>&nbsp;</DIV>
<DIV><CODE><FONT face=Arial size=2></FONT></CODE>&nbsp;</DIV>
<DIV><CODE><FONT face=Arial size=2></FONT></CODE>&nbsp;</DIV>
<DIV><CODE><FONT face=Arial size=2>My .map file is:</FONT></CODE></DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"><CODE><FONT face="Courier New" 
size=2><FONT face=Arial></FONT>&nbsp;</DIV><FONT face="Courier New" size=2>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># Start of map file</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">NAME RASTER_</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">STATUS ON</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">SIZE 400 300</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">UNITS METERS</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">SHAPEPATH 
"/home/mapserver/geoimagens"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># Projection definition, consult the 
PROJ.4 documentation for parameter discussion</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#PROJECTION</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># "proj=utm"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># "ellps=GRS80"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># "zone=15"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># "north"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># "zone=22"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># "south"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># "no_defs"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#END</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># Start of web interface definition</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">WEB</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">TEMPLATE raster.html</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">IMAGEPATH 
"/usr/local/apache2/htdocs/ms_demo/tmp/"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">IMAGEURL "/ms_demo/tmp/"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">END</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px"># Start of layer definitions</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">LAYER</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">NAME "agronomica_trindade"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">TYPE RASTER</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">DATA "agronomica_trindade.tif"</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">STATUS DEFAULT</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">END # </DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">&nbsp;</DIV>
<DIV dir=ltr style="MARGIN-RIGHT: 0px">END # Map File</DIV></FONT><FONT 
face="Times New Roman" size=2></FONT>
<P><FONT face=Arial></FONT>&nbsp;</P></FONT></CODE>
<DIV><CODE><FONT size=3><FONT 
face="Times New Roman"></FONT>&nbsp;</DIV></FONT></CODE></BODY></HTML>