Problems reading a TIF file (newbie question)
Ray
ray at SUSTAINABLE.IE
Tue Mar 22 10:48:13 PST 2005
Frank,
I am using Linux Fedora Core2, should have said so. I tried renaming to
lowercase, changed the name of the .tfw file to .wld (why should I do that?)
and changed all references to PAGE48/Page48 to page48. Still didn't work,
but thanks for the input.
Ray
On Tue, 22 Mar 2005 11:25:18 -0500, Frank Warmerdam <fwarmerdam at GMAIL.COM>
wrote:
>On Tue, 22 Mar 2005 10:03:40 -0600, Ray <ray at sustainable.ie> wrote:
>> I am having problems displaying a TIF file using PHP mapscript, I suspect
>> that the problem lies in the map file.
>>
>> gdalinfo PAGE48.TIF (name of the file) gives:
>
>> $ cat Page48.TFW
>> 0.635324015247776
>> 0
>> 0
>> -0.635324015247776
>> 317999.682337992
>> 231999.682337992
>
>Ray,
>
>I am guessing you are on Unix or Linux based on your use of the
>cat command. Unix and Linux are generally case sensitive with
>regard to filenames, so you will need to rename your file PAGE48.TFW
>if you want it to be found and associated with PAGE48.TIF.
>
>In fact, I would suggest you rename them both page48.tif and page48.wld
>for simplicity and clarity.
>
>Best regards,
>--
>---------------------------------------+--------------------------------------
>I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
>light and sound - activate the windows | http://pobox.com/~warmerdam
>and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list