[mapserver-users] TIFF images

subrahmanyam mannam smannam@nsstc.uah.edu
Tue, 25 Jun 2002 11:04:45 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0088_01C21C38.1D902F10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hai,
    i am trying to project TIFF images, i have a set of tiff images and =
for each tiff image i has .TFW and .FGD files.
the map file that i was written is as follows:

NAME DEMO
STATUS ON=20
SIZE 5457 6777
IMAGETYPE png

EXTENT  -856250.000 338750.000 -855000.00 340000.00

SHAPEPATH topoMaps
IMAGECOLOR  0 0 255

PROJECTION
 =20
 "init=3Depsg:26716"
END

#
# Start of web interface definition (including WMS enabling metadata)
#
WEB
  METADATA
    WMS_TITLE " topo maps"
    # change this value to match your setup
    WMS_ONLINERESOURCE "http://www.vast.uah.edu/cgi-bin/topomapdemo?"
#    WMS_SRS "EPSG:26716"
  END
END

#
# Start of layer definitions
#

LAYER
  NAME   TOPOMap
  DATA  O33085H5.TIF=20
  TYPE  RASTER=20
  STATUS DEFAULT
 =20
  METADATA
    WMS_TITLE "world map"
#    WMS_SRS "EPSG:26716"
  END
END

END # Map File

          while executing my map file i am getting nothing,simply i am =
getting blank image.
       "would any body check my map file and fix any thing wrong in the =
map file,that would be a great help."

thanks
subrahmanyam mannam

=20

------=_NextPart_000_0088_01C21C38.1D902F10
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>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hai,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; i am trying to =
project TIFF=20
images, i have a set of tiff images and for each tiff image i has .TFW =
and .FGD=20
files.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the map file that i was written is as=20
follows:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>NAME DEMO<BR>STATUS ON <BR>SIZE 5457=20
6777<BR>IMAGETYPE png</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>EXTENT&nbsp; -856250.000 338750.000 =
-855000.00=20
340000.00</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>SHAPEPATH topoMaps<BR>IMAGECOLOR&nbsp; =
0 0=20
255</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>PROJECTION<BR>&nbsp;=20
<BR>&nbsp;"init=3Depsg:26716"<BR>END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#<BR># Start of web interface =
definition (including=20
WMS enabling metadata)<BR>#<BR>WEB<BR>&nbsp; =
METADATA<BR>&nbsp;&nbsp;&nbsp;=20
WMS_TITLE " topo maps"<BR>&nbsp;&nbsp;&nbsp; # change this value to =
match your=20
setup<BR>&nbsp;&nbsp;&nbsp; WMS_ONLINERESOURCE "<A=20
href=3D"http://www.vast.uah.edu/cgi-bin/topomapdemo">http://www.vast.uah.=
edu/cgi-bin/topomapdemo</A>?"<BR>#&nbsp;&nbsp;&nbsp;=20
WMS_SRS "EPSG:26716"<BR>&nbsp; END<BR>END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#<BR># Start of layer =
definitions<BR>#</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>LAYER<BR>&nbsp; NAME&nbsp;&nbsp; =
TOPOMap<BR>&nbsp;=20
DATA&nbsp; O33085H5.TIF <BR>&nbsp; TYPE&nbsp; RASTER <BR>&nbsp; STATUS=20
DEFAULT<BR>&nbsp; <BR>&nbsp; METADATA<BR>&nbsp;&nbsp;&nbsp; WMS_TITLE =
"world=20
map"<BR>#&nbsp;&nbsp;&nbsp; WMS_SRS "EPSG:26716"<BR>&nbsp;=20
END<BR>END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>END # Map File</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while =
executing my=20
map file i am getting nothing,simply i am getting blank =
image.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
"would any=20
body&nbsp;check my map file and fix any thing wrong in the map file,that =
would=20
be a great help."</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>subrahmanyam mannam</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</FONT></DIV></BODY></HTML>

------=_NextPart_000_0088_01C21C38.1D902F10--