Select to view content in your preferred language

.TIF to .TFW

9837
10
06-28-2010 12:26 PM
by Anonymous User
Not applicable
Original User: CristallLink

So, I've got some VERY large .TIF files that I need to convert to . TFW files. My supervisor is saying that I can do this without opening the large, slow-to-open files with the Command Line within ArcMap, but I'm still a newbie to GIS and have never touched the Command Line. Does anyone know what my supervisor is talking about and/or how to execute this? Or any other way to make this conversion happen? Thanks.
0 Kudos
10 Replies
ChrisSnyder
Honored Contributor
I know how to write a script, but don't have much experience with doing batch processing with ModelBuilder (although I'm sure it can be done there). A script in ArcGIS v9.3 would look something like this:

import arcgisscripting, shutil
gp = arcgisscripting.create(9.3)
gp.workspace = r"C:\temp\this_is_where_my_orig_tif_files_are"
tifList = gp.listrasters("","TIFF")
for tif in tifList:
      gp.ExportRasterWorldFile_management (tif)
0 Kudos