[mapserver-users] Calculate extents from Tif World File .tfw
Ed McNierney
ed at topozone.com
Wed Dec 5 09:15:10 PST 2001
Debasish -
You can't - it's not enough information. You don't know the size of the
TIF image in pixels. There are many image libraries and tools you can
use to get that information, and you can then multiply the width and
height of the image in pixels by the numbers in the first and fourth
lines of the TFW file, respectively, and you'll get the extents of the
TIF image in the coordinate system used in the world file.
- Ed
Ed McNierney
Chief Mapmaker
TopoZone.com
ed at topozone.com
(978) 251-4242
-----Original Message-----
From: DebasishS at riskinc.com [mailto:DebasishS at riskinc.com]
Sent: Wednesday, December 05, 2001 5:39 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] Calculate extents from Tif World File .tfw
Hi,
Can anybody tell me how to calculate map extents from a Image world
file.
Debasish
More information about the MapServer-users
mailing list