Tif an wld file problems
Trevor Banister
Banister at BANISTER.COM
Thu Feb 17 07:23:48 PST 2000
Pack-Bits tiffs (i.e. DRGs) seem to work fine too if you want medium
compression without LZW patent issues.
Trevor Banister
President
Banister Consulting and Online Services
Banister at Banister.com
-----Original Message-----
From: Robert Chavez [mailto:rchavez at perseus.tufts.edu]
Sent: Thursday, February 17, 2000 7:13 AM
To: Doug Nebert
Cc: Mapserver Users
Subject: Re: Tif an wld file problems
I tried saving with LZW compression using PaintShop Pro but got the same
result as before. It would be nice as my TIFFs are between 100 and 300MB.
I'll give it another try.
Rob
On Thu, 17 Feb 2000, Doug Nebert wrote:
> You can even save it as an LZW compressed TIFF (if you have
> licensed software) and it will work fine, too. I have a 56MB
> TIFF I am working with and after compression it is 8MB with
> no noticeable performance hit. The TIFF indexing seems very
> efficient in the mapserv.
>
> Doug.
>
> Robert Chavez wrote:
> >
> > That was the problem. I saved it as an uncompressed 8-bit and it works
jut
> > fine. Thanks for the tip!
> >
> > Rob
> >
> > On Wed, 16 Feb 2000, Doug Nebert wrote:
> >
> > > It is possible that you have a 24-bit TIFF file. It will only
> > > render if it is 8-bit, or so I experienced a few months back.
> > > Try again by saving the TIF as 8-bit and see what happens.
> > >
> > > Doug.
> > >
> > > Robert Chavez wrote:
> > > >
> > > > Greetings,
> > > >
> > > > I started fooling around with displaying tifs using mapscript and
I'm
> > > > having a problem rendering a tif image layer. I've run the demo
package
> > > > and displayed the landsat tif with mapserver just fine, so I know
> > > > mapserver/script compiled with the tif libraries.
> > > >
> > > > The tif originally had a .tfw file so I changed the extension to
> > > > .wld (it looks like this, units are in meters)
> > > >
> > > > 1.32301253030703
> > > > 0.00000000000000
> > > > 0.00000000000000
> > > > -1.16784976858186
> > > > 531694.70377556235000
> > > > 181396.49239035073000
> > > >
> > > > After the script runs I get a blank .gif file as a result, no
rendering of
> > > > the tif in site. This leads me to believe there's an extent problem
> > > > somewhere but I'm not sure where. The image should fit within the
extents
> > > > of the map file (see map file below), I should be getting something
even
> > > > if at a very small scale. I thought .tfw files were structurally
identical
> > > > with .wld files, or have I missed something?
> > > >
> > > > MAP
> > > > NAME test
> > > > SIZE 500 500
> > > > EXTENT 520118.780 175873.500 534426.880 184948.500
> > > > UNITS METERS
> > > > SHAPEPATH "data"
> > > >
> > > > LAYER
> > > > NAME stpauls
> > > > TYPE RASTER
> > > > STATUS ON
> > > > DATA stpauls.tif
> > > > END
> > > > END
> > > >
> > > > Regards,
> > > >
> > > > Robert Chavez
> > > > Perseus Project
> > > > rchavez at perseus.tufts.edu
> > >
> > > --
> > > Douglas D. Nebert
> > > Clearinghouse Coordinator
> > > FGDC Secretariat Phone: +1 703 648 4151 Fax: +1 703 648-5755
> > > Pager Messaging: http://fgdclearhs.er.usgs.gov/dougmsg.html
> > >
>
> --
> Douglas D. Nebert
> Clearinghouse Coordinator
> FGDC Secretariat Phone: +1 703 648 4151 Fax: +1 703 648-5755
> Pager Messaging: http://fgdclearhs.er.usgs.gov/dougmsg.html
>
More information about the MapServer-users
mailing list