[mapserver-users] displaying raster images..
Jason Wolfe
jwolfe at sdimaps.com
Tue Mar 12 11:56:10 PST 2002
here is a copy of my .map file:
MAP
NAME DRGVIEWER
EXTENT 678106.875 3458540.750 690518.813 3473092.500
SIZE 400 400
SHAPEPATH "../downloads/drgs/24k/clipped"
STATUS ON
IMAGETYPE jpeg
UNITS meters
# IMAGECOLOR 64 105 255
WEB
IMAGEPATH "/var/www/html/tmp/"
IMAGEURL "/tmp/"
TEMPLATE drg.html
# LOG "/tmp/log.dat"
END
LAYER
NAME drg_g1
DATA "31109c1c.tif"
TYPE RASTER
LABELCACHE ON
POSTLABELCACHE TRUE
STATUS ON
CLASS
NAME '31109c1.tif'
backgroundcolor 56 56 56
COLOR 124 124 124
outlinecolor 0 0 0
END
END
END
And this is a copy of the .tfw that is defining the image:
2.43840000000000
0.00000000000000
0.00000000000000
-2.43840000000000
678312.55959095864000
3472708.77648849230000
As I see it, the extents should be correct, but I do not no for sure.. I am
just out of ideas..
Thanks
Stephen Woodbridge wrote:
> You probably need to post yout map file to the list along with the text
> you get from mapserver -v
>
> -Steve W.
>
> Jason Wolfe wrote:
> >
> > I have been trying to display tif images now for about 3 weeks. I can
> > not get mapserver to display them. I have tried multiple .tif images
> > and none work. When mapserver goes and creates the .jpg to display no
> > matter what image it is, the file size will be 1524 bytes. If I create
> > a png file the file sizes will be 143 bytes. Does anyone have any clue
> > to what is going on?
> > I compiled mapserver with everything it needs to work. It acts like it
> > is only doing a specific amount of processing then cutting it off at
> > 1524 bytes.
> > I desperately need help...
> >
> > Thanks,
> >
> > Jason
More information about the MapServer-users
mailing list