logo

img

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Browse by Category
How do I import and/or export a TIF with a TFW world file into Surfer?
User Opinions
40% thumbs up 60% thumbs down

How would you rate this answer?
Helpful
Not helpful
Surfer 9 and 10
You do not need to do anything special to import a georeferenced image file. Go to Map | New | Base Map, select the TIF file and click Open. If the image is georeferenced, it will import in the correct map coordinates.

To export a TIF/TFW file from Surfer 9 or 10, you can simply:

1. Go to File | Export.
2. Choose to export it as a TIF file and click Save.
3. In the Export Options dialog, go to the Spatial References tab.
4. Choose the radio button next to Save spatial reference information in and check the ESRI World file check box.
5. Click OK and the TIF/TFW file is exported.


Surfer 8
To import a TIF with a TFW file:
  1. Download the script TifTfwLf.bas from our web site.
  2. Open the Scripter program that comes with Surfer.
  3. In Scripter, go to File | Open and open the TifTfwLf.bas file.
  4. Go to Script | Run.
  5. You'll be prompted for the image or world file name. Select the image file (TIF, JPG, etc) or the world file (TFW, JGW, etc) and click Open. The script will automatically open Surfer and load the image file as a base map using the coordinates from the world file.
  6. You can either continue working in this window, or you can copy and paste this map into any existing SRF file.

To export a TIF with a TFW file:
  • Download the script TifTfwExport3.bas from our web site.
  • Run the Surfer Scripter program using the Windows Start | Programs Golden Software Surfer 8 | Scripter menu command.
  • Open the TifTfwExport3.bas file and run it with the Script | Run command. 

Surfer 8
Scripts: http://www.goldensoftware.com/scripts-S.shtml#S-8
Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.
Products