[mapserver-users] tiff problem,

Pushkar Pradhan pushkar at ERC.MsState.Edu
Tue Jan 29 09:52:31 PST 2002


Thanks David but I've taken care of most of the things. I am also
displaying shape files with success so I moved on, but I am
framing my ques. once more with more info and "concisely":

Banshee[167] pushkar$ mapserv -v
MapServer version 3.5 OUTPUT=PNG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF
INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE
Snippet of .html file:
....
      <select multiple name="layer" size=5>
        <option value="mosaic_1999_false" [mosaic99f_select]> 1999 Mosaic
....
Snippet from .map file:
LAYER
   NAME mosaic_1999_false
   TYPE RASTER
   STATUS DEFAULT
   DATA data/mosaic_1999_false.tif
END
Mapserver log:
Mon Jan 28 17:07:18 2002,12225,127.0.0.1,I_10,0,487978.625767
1010248.839748 633
675.705767 1131477.387748,560827.165767 1070863.113748,mosaic_1999_false
,normal execution

I've tried giving absolute paths in the DATA field but it gives me Internal
Server Error.
The TIFs are GEOTIFFS,
Do I need to have projection support enabled to display GEOTIFFs, sorry I
am not experienced in GIS field. Thanks,

On Tue, 29 Jan 2002, David Graham wrote:

> Pushkar,
>
> Have you had any success displaying shape files?
>
> Usually blank images indicate a configuration problem.  I see it all the
> time, usally a misplaced map tag, or missnamed path. You might wan to
> try full path names in your map file to begin with just to make sure you
> do not have a path resolve problem (you should quote them if they have
> any unusual charactors).  Then I like to try to run the mapserv cgi from
> the command line with the QUERY="your mapserver get request" to see if
> any additional messages are generated.  I also like to verify that the
> tiff images are not corrupt, by viewing them in other tools.
>
> Hope some of this helps.
>
> Dave
>
> Pushkar Pradhan wrote:
>
> >I am trying to display tiffs using MS 3.5. I get the foll. as part of
> >the mesg. when I run my configure script:
> >checking whether we should include JPEG support...
> >checking for jpeg_read_header in -ljpeg... yes
> >        using libjpeg from system libs.
> >checking whether we should include TIFF support...
> >checking for TIFFOpen in -ltiff... yes
> >        using libtiff from system libs.
> >And if I've understood correctly TIFF support is included when I do a
> >normal 'make'.
> >The foll. is my layer defn. for tiff:
> >LAYER
> >   NAME mosaic_1999_false
> >   TYPE RASTER
> >   STATUS DEFAULT
> >   DATA data/mosaic_1999_false.tif
> >END
> >The images are 8-bit so should render correctly, but all I get is a blank
> >image. I used examples from the mailing list archive to define the layer.
> >If anybody can point out the problem. Thanks,
> >
> >------------------------------------------------------------------------------
> >PUSHKAR S. PRADHAN
> >Research Assistant
> >MISSISSIPPI STATE UNIVERSITY,
> >STARKVILLE, MS 39759.
> >
> >Engineering Research Center
> >Box 9627
> >Mississippi State, MS 39762-9627
> >------------------------------------------------------------------------------
> >
> >
> >
>
>
>

------------------------------------------------------------------------------
PUSHKAR S. PRADHAN
Research Assistant
MISSISSIPPI STATE UNIVERSITY,
STARKVILLE, MS 39759.

Engineering Research Center
Box 9627
Mississippi State, MS 39762-9627
------------------------------------------------------------------------------





More information about the MapServer-users mailing list