<!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><FONT face=Arial size=2>This is the output from some "</FONT>TIFF Tools
Overview" (tiffdump and tiffinfo) of my TIF file :</DIV>
<DIV> </DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2>[mapserver@linux
geoimagens]$ <B>tiffdump<SPAN style="mso-spacerun: yes">
</SPAN></B>agronomica_trindade.tif<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT
size=2>agronomica_trindade.tif:<o:p></o:p></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>Magic: 0x4949
<little-endian> Version: 0x2a<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>Directory 0: offset 8 (0x8) next 0
(0)<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>SubFileType (254) LONG (4)
1<0><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>ImageWidth (256) LONG (4)
1<924><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>ImageLength (257) LONG (4)
1<906><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>BitsPerSample (258) SHORT (3)
3<8 8 8><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>Compression (259) SHORT (3)
1<1><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>Photometric (262) SHORT (3)
1<2><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>SamplesPerPixel (277) SHORT (3)
1<3><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>RowsPerStrip (278) LONG (4)
1<906><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>StripByteCounts (279) LONG (4)
1<2511432><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>XResolution (282) RATIONAL (5)
1<100><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>YResolution (283) RATIONAL (5)
1<100><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>PlanarConfig (284) SHORT (3)
1<1><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>ResolutionUnit (296) SHORT (3)
1<2><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>Predictor (317) SHORT (3)
1<1><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>Software (305) ASCII (2)
15<UMAX MagicScan\0><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>DateTime (306) ASCII (2)
20<1999: 5:20 15:49:21\0><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>ImageDescription (270) ASCII (2)
48<\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
...><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=ES-TRAD
style="mso-ansi-language: ES-TRAD"><FONT size=2>Model (272) ASCII (2)
48<\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
...><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=ES-TRAD
style="mso-ansi-language: ES-TRAD"><FONT size=2>37458 (0x9252) BYTE (1) 2<0x1
0xbb><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>37459 (0x9253) BYTE (1) 2<0xe0
0x13><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>37460 (0x9254) BYTE (1) 2<0xbe
0x6b><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>37461 (0x9255) BYTE (1) 2<0x9c
0xc3><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>StripOffsets (273) LONG (4)
1<228123><o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT
size=2> <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>[mapserver@linux geoimagens]$<B>
tiffinfo </B><SPAN
style="mso-spacerun: yes"> </SPAN>agronomica_trindade.tif<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>agronomica_trindade.tif: Warning,
unknown field with tag 317 (0x13d) ignored.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>agronomica_trindade.tif: Warning,
invalid TIFF directory; tags are not sorted in ascending
order.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>agronomica_trindade.tif: Warning,
unknown field with tag 37458 (0x9252) ignored.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>agronomica_trindade.tif: Warning,
unknown field with tag 37459 (0x9253) ignored.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>agronomica_trindade.tif: Warning,
unknown field with tag 37460 (0x9254) ignored.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>agronomica_trindade.tif: Warning,
unknown field with tag 37461 (0x9255) ignored.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2>TIFF Directory at offset
0x8<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Subfile Type: (0 =
0x0)<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Image Width: 924 Image Length:
906<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Resolution: 100, 100
pixels/inch<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Bits/Sample:
8<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Compression Scheme:
None<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Photometric Interpretation: RGB
color<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Date & Time: "1999: 5:20
15:49:21"<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Software: "UMAX
MagicScan"<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Image Description:
""<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Model: ""<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Samples/Pixel:
3<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Rows/Strip:
906<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="mso-ansi-language: EN-US"><FONT size=2><SPAN
style="mso-spacerun: yes"> </SPAN>Planar Configuration: single image
plane<o:p></o:p></FONT></SPAN></P></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gabriel@ciasc.gov.br href="mailto:gabriel@ciasc.gov.br">gabriel</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=mapserver-users@lists.gis.umn.edu
href="mailto:mapserver-users@lists.gis.umn.edu">mapserver-users@lists.gis.umn.edu</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, August 21, 2002 3:50
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Raste Display</DIV>
<DIV><BR></DIV>
<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> </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> </DIV>
<DIV><CODE><FONT size=3><FONT face=Arial size=2>According <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> 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>,
</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)." </FONT></FONT></CODE></DIV>
<DIV><CODE><FONT size=3><FONT face=Arial
size=2></FONT></FONT></CODE> </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> </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> </DIV>
<DIV><CODE><FONT face=Arial size=2></FONT></CODE> </DIV>
<DIV><CODE><FONT face=Arial size=2></FONT></CODE> </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> </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> </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> </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"> </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> </P></FONT></CODE>
<DIV><CODE><FONT size=3><FONT
face="Times New Roman"></FONT> </DIV></BLOCKQUOTE></FONT></CODE></BODY></HTML>