[mapserver-users] Raste Display (More Information)
gabriel
gabriel@ciasc.gov.br
Wed, 21 Aug 2002 16:14:43 -0300
This is a multi-part message in MIME format.
------=_NextPart_000_012E_01C2492D.DBEA3330
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
RE: [mapserver-users] hints wantedThis is the output from some "TIFF =
Tools Overview" (tiffdump and tiffinfo) of my TIF file :
[mapserver@linux geoimagens]$ tiffdump agronomica_trindade.tif
agronomica_trindade.tif:
Magic: 0x4949 <little-endian> Version: 0x2a
Directory 0: offset 8 (0x8) next 0 (0)
SubFileType (254) LONG (4) 1<0>
ImageWidth (256) LONG (4) 1<924>
ImageLength (257) LONG (4) 1<906>
BitsPerSample (258) SHORT (3) 3<8 8 8>
Compression (259) SHORT (3) 1<1>
Photometric (262) SHORT (3) 1<2>
SamplesPerPixel (277) SHORT (3) 1<3>
RowsPerStrip (278) LONG (4) 1<906>
StripByteCounts (279) LONG (4) 1<2511432>
XResolution (282) RATIONAL (5) 1<100>
YResolution (283) RATIONAL (5) 1<100>
PlanarConfig (284) SHORT (3) 1<1>
ResolutionUnit (296) SHORT (3) 1<2>
Predictor (317) SHORT (3) 1<1>
Software (305) ASCII (2) 15<UMAX MagicScan\0>
DateTime (306) ASCII (2) 20<1999: 5:20 15:49:21\0>
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 ...>
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 ...>
37458 (0x9252) BYTE (1) 2<0x1 0xbb>
37459 (0x9253) BYTE (1) 2<0xe0 0x13>
37460 (0x9254) BYTE (1) 2<0xbe 0x6b>
37461 (0x9255) BYTE (1) 2<0x9c 0xc3>
StripOffsets (273) LONG (4) 1<228123>
=20
[mapserver@linux geoimagens]$ tiffinfo agronomica_trindade.tif
agronomica_trindade.tif: Warning, unknown field with tag 317 (0x13d) =
ignored.
agronomica_trindade.tif: Warning, invalid TIFF directory; tags are not =
sorted in ascending order.
agronomica_trindade.tif: Warning, unknown field with tag 37458 (0x9252) =
ignored.
agronomica_trindade.tif: Warning, unknown field with tag 37459 (0x9253) =
ignored.
agronomica_trindade.tif: Warning, unknown field with tag 37460 (0x9254) =
ignored.
agronomica_trindade.tif: Warning, unknown field with tag 37461 (0x9255) =
ignored.
TIFF Directory at offset 0x8
Subfile Type: (0 =3D 0x0)
Image Width: 924 Image Length: 906
Resolution: 100, 100 pixels/inch
Bits/Sample: 8
Compression Scheme: None
Photometric Interpretation: RGB color
Date & Time: "1999: 5:20 15:49:21"
Software: "UMAX MagicScan"
Image Description: ""
Model: ""
Samples/Pixel: 3
Rows/Strip: 906
Planar Configuration: single image plane
----- Original Message -----=20
From: gabriel=20
To: mapserver-users@lists.gis.umn.edu=20
Sent: Wednesday, August 21, 2002 3:50 PM
Subject: Raste Display
I have some TIF images georeferenced at MapInfo software. I would like =
to display them with Mapserver.
My MS version is:
mapserver@linux cgi-bin]$ ./mapserv -v
MapServer version 3.5 OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP =
SUPPORTS=3DPROJ SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER INPUT=3DTIFF =
INPUT=3DEPPL7 INPUT=3DJPEG INPUT=3DOGR INPUT=3DGDAL INPUT=3DSHAPEFILE
According supported formats list at http://www.remotesensing.org/gdal =
, " 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 MapInfo .tab file (only =
control points used, Coordsys ignored)."=20
Mapserver would have to work with MapInfo file.
But It give-me this message: "msCalculateScale(): General error =
message. Invalid image extent."
My .map file is:
#
# Start of map file
#
NAME RASTER_
STATUS ON
SIZE 400 300
UNITS METERS
SHAPEPATH "/home/mapserver/geoimagens"
#
# Projection definition, consult the PROJ.4 documentation for =
parameter discussion
#
#PROJECTION
# "proj=3Dutm"
# "ellps=3DGRS80"
# "zone=3D15"
# "north"
# "zone=3D22"
# "south"
# "no_defs"
#END
#
# Start of web interface definition
#
WEB
TEMPLATE raster.html
IMAGEPATH "/usr/local/apache2/htdocs/ms_demo/tmp/"
IMAGEURL "/ms_demo/tmp/"
END
#
# Start of layer definitions
#
LAYER
NAME "agronomica_trindade"
TYPE RASTER
DATA "agronomica_trindade.tif"
STATUS DEFAULT
END #=20
END # Map File
------=_NextPart_000_012E_01C2492D.DBEA3330
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [mapserver-users] hints wanted</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>This is the output from some =
"</FONT>TIFF Tools=20
Overview" (tiffdump and tiffinfo) of my TIF file :</DIV>
<DIV> </DIV>
<DIV>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><FONT =
size=3D2>[mapserver@linux=20
geoimagens]$ <B>tiffdump<SPAN style=3D"mso-spacerun: yes"> =20
</SPAN></B>agronomica_trindade.tif<?xml:namespace prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><FONT=20
size=3D2>agronomica_trindade.tif:<o:p></o:p></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>Magic: 0x4949=20
<little-endian> Version: 0x2a<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>Directory 0: offset 8 =
(0x8) next 0=20
(0)<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>SubFileType (254) LONG =
(4)=20
1<0><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>ImageWidth (256) LONG =
(4)=20
1<924><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>ImageLength (257) LONG =
(4)=20
1<906><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>BitsPerSample (258) =
SHORT (3)=20
3<8 8 8><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>Compression (259) =
SHORT (3)=20
1<1><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>Photometric (262) =
SHORT (3)=20
1<2><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>SamplesPerPixel (277) =
SHORT (3)=20
1<3><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>RowsPerStrip (278) =
LONG (4)=20
1<906><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>StripByteCounts (279) =
LONG (4)=20
1<2511432><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>XResolution (282) =
RATIONAL (5)=20
1<100><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>YResolution (283) =
RATIONAL (5)=20
1<100><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>PlanarConfig (284) =
SHORT (3)=20
1<1><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>ResolutionUnit (296) =
SHORT (3)=20
1<2><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>Predictor (317) SHORT =
(3)=20
1<1><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>Software (305) ASCII =
(2)=20
15<UMAX MagicScan\0><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>DateTime (306) ASCII =
(2)=20
20<1999: 5:20 15:49:21\0><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>ImageDescription (270) =
ASCII (2)=20
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=20
...><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DES-TRAD=20
style=3D"mso-ansi-language: ES-TRAD"><FONT size=3D2>Model (272) ASCII =
(2)=20
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=20
...><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DES-TRAD=20
style=3D"mso-ansi-language: ES-TRAD"><FONT size=3D2>37458 (0x9252) BYTE =
(1) 2<0x1=20
0xbb><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>37459 (0x9253) BYTE =
(1) 2<0xe0=20
0x13><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>37460 (0x9254) BYTE =
(1) 2<0xbe=20
0x6b><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>37461 (0x9255) BYTE =
(1) 2<0x9c=20
0xc3><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>StripOffsets (273) =
LONG (4)=20
1<228123><o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT=20
size=3D2> <o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>[mapserver@linux =
geoimagens]$<B>=20
tiffinfo </B><SPAN=20
style=3D"mso-spacerun: =
yes"> </SPAN>agronomica_trindade.tif<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT =
size=3D2>agronomica_trindade.tif: Warning,=20
unknown field with tag 317 (0x13d) ignored.<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT =
size=3D2>agronomica_trindade.tif: Warning,=20
invalid TIFF directory; tags are not sorted in ascending=20
order.<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT =
size=3D2>agronomica_trindade.tif: Warning,=20
unknown field with tag 37458 (0x9252) =
ignored.<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT =
size=3D2>agronomica_trindade.tif: Warning,=20
unknown field with tag 37459 (0x9253) =
ignored.<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT =
size=3D2>agronomica_trindade.tif: Warning,=20
unknown field with tag 37460 (0x9254) =
ignored.<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT =
size=3D2>agronomica_trindade.tif: Warning,=20
unknown field with tag 37461 (0x9255) =
ignored.<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2>TIFF Directory at =
offset=20
0x8<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Subfile Type: (0 =3D=20
0x0)<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Image Width: 924 Image Length: =
906<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Resolution: 100, 100=20
pixels/inch<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Bits/Sample:=20
8<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Compression Scheme:=20
None<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Photometric Interpretation: =
RGB=20
color<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Date & Time: "1999: 5:20=20
15:49:21"<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Software: "UMAX=20
MagicScan"<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Image Description:=20
""<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Model: =
""<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Samples/Pixel:=20
3<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Rows/Strip:=20
906<o:p></o:p></FONT></SPAN></P>
<P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt"><SPAN lang=3DEN-US=20
style=3D"mso-ansi-language: EN-US"><FONT size=3D2><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Planar Configuration: single =
image=20
plane<o:p></o:p></FONT></SPAN></P></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dgabriel@ciasc.gov.br =
href=3D"mailto:gabriel@ciasc.gov.br">gabriel</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
title=3Dmapserver-users@lists.gis.umn.edu=20
=
href=3D"mailto:mapserver-users@lists.gis.umn.edu">mapserver-users@lists.g=
is.umn.edu</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, August 21, =
2002 3:50=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Raste Display</DIV>
<DIV><BR></DIV>
<DIV><CODE><FONT size=3D3><FONT face=3DArial size=3D2>I have some TIF =
images=20
georeferenced at MapInfo software. I would like to display them with=20
Mapserver.</FONT></FONT></CODE></DIV>
<DIV><CODE><FONT size=3D3><FONT face=3DArial=20
size=3D2></FONT></FONT></CODE> </DIV>
<DIV><CODE><FONT face=3DArial size=3D2>My MS version =
is:</FONT></CODE></DIV>
<DIV><CODE><A href=3D"mailto:mapserver@linux">mapserver@linux</A> =
cgi-bin]$=20
./mapserv -v<BR>MapServer version 3.5 OUTPUT=3DPNG OUTPUT=3DJPEG =
OUTPUT=3DWBMP=20
SUPPORTS=3DPROJ SUPPORTS=3DTTF SUPPORTS=3DWMS_SERVER INPUT=3DTIFF =
INPUT=3DEPPL7=20
INPUT=3DJPEG INPUT=3DOGR INPUT=3DGDAL =
INPUT=3DSHAPEFILE<BR></CODE></DIV>
<DIV><CODE><FONT face=3DArial size=3D2></FONT></CODE> </DIV>
<DIV><CODE><FONT size=3D3><FONT face=3DArial =
size=3D2>According <FONT=20
face=3D"Times New Roman" size=3D3> </FONT><A=20
href=3D"http://www.remotesensing.org/gdal/formats_list.html" =
target=3D_top><FONT=20
face=3D"Times New Roman" size=3D3>supported formats =
list</FONT></A> at <A=20
href=3D"http://www.remotesensing.org/gdal/" target=3D_top><FONT=20
face=3D"Times New Roman" size=3D3>http://www.remotesensing.org/gdal=20
</FONT></A><FONT face=3D"Times New Roman" size=3D3>, =20
</FONT></FONT></FONT></CODE><CODE><FONT size=3D3><FONT face=3D"Times =
New Roman">"=20
If no georeferencing information is available in the TIFF file itself, =
GDAL=20
will also check for, and use an ESRI world file with the extention =
.tfw,=20
.tiffw or .wld, as well as a <U>MapInfo .tab file</U> (only control =
points=20
used, Coordsys ignored)." </FONT></FONT></CODE></DIV>
<DIV><CODE><FONT size=3D3><FONT face=3DArial=20
size=3D2></FONT></FONT></CODE> </DIV>
<DIV><CODE><FONT size=3D3><FONT face=3D"Times New Roman">Mapserver =
would have to=20
work with MapInfo file.</FONT></FONT></CODE></DIV>
<DIV><CODE><FONT face=3DArial size=3D2></FONT></CODE> </DIV>
<DIV><CODE><FONT face=3DArial size=3D2>But It give-me this message: =
<FONT=20
face=3D"Times New Roman" size=3D3>"msCalculateScale(): General error =
message.=20
Invalid image extent."</FONT></FONT></CODE></DIV>
<DIV><CODE><FONT face=3DArial size=3D2></FONT></CODE> </DIV>
<DIV><CODE><FONT face=3DArial size=3D2></FONT></CODE> </DIV>
<DIV><CODE><FONT face=3DArial size=3D2></FONT></CODE> </DIV>
<DIV><CODE><FONT face=3DArial size=3D2>My .map file =
is:</FONT></CODE></DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"><CODE><FONT face=3D"Courier =
New"=20
size=3D2><FONT face=3DArial></FONT> </DIV><FONT face=3D"Courier =
New" size=3D2>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># Start of map file</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">NAME RASTER_</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">STATUS ON</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">SIZE 400 300</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">UNITS METERS</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">SHAPEPATH=20
"/home/mapserver/geoimagens"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># Projection definition, =
consult the=20
PROJ.4 documentation for parameter discussion</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#PROJECTION</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># "proj=3Dutm"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># "ellps=3DGRS80"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># "zone=3D15"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># "north"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># "zone=3D22"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># "south"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># "no_defs"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#END</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"><FONT =
face=3DArial></FONT> </DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># Start of web interface=20
definition</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">WEB</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">TEMPLATE raster.html</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">IMAGEPATH=20
"/usr/local/apache2/htdocs/ms_demo/tmp/"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">IMAGEURL =
"/ms_demo/tmp/"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">END</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"><FONT =
face=3DArial></FONT> </DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"># Start of layer =
definitions</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">#</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">LAYER</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">NAME =
"agronomica_trindade"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">TYPE RASTER</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">DATA =
"agronomica_trindade.tif"</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">STATUS DEFAULT</DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">END # </DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> </DIV>
<DIV dir=3Dltr style=3D"MARGIN-RIGHT: 0px">END # Map =
File</DIV></FONT><FONT=20
face=3D"Times New Roman" size=3D2></FONT>
<P><FONT face=3DArial></FONT> </P></FONT></CODE>
<DIV><CODE><FONT size=3D3><FONT=20
face=3D"Times New =
Roman"></FONT> </DIV></BLOCKQUOTE></FONT></CODE></BODY></HTML>
------=_NextPart_000_012E_01C2492D.DBEA3330--