Convert GeoTIFF Data to FLT with GDAL Scripts


These directions assume that gdal_translate.exe is in the path, or C:\Program Files\GDAL\.
StepDescriptionScreenshot
1aObtain GeoTIFF Data: Step 1
The primary method for downloading The National Map (TNM) raster GeoTIFF Digital Elevation Model (DEM) data is through using TNM download client (http://viewer.nationalmap.gov/basic/). (1) Zoom to an area of interest, or type in the area of interest in the Address/Place search bar. This example shows Lakewood, Colorado. (2) Select Elevation Products (3DEP) from the Data section on the left, (3) then check the box for 1/3 arc-second DEM under the Product Search Filter heading. (4) Finally, click the Find Products button.
1bObtain GeoTIFF Data: Step 2
When the Available Products window appears, click on "Download" to download the GeoTIFF data in a zip file. Once downloaded, unzip the file locally, making note of the location.
2Obtain USGS Raster Conversion Scripts
A set of scripts for converting raster staged data is available at USGS_Raster_Conversion_Scripts. These should be downloaded and unzipped locally. (These directions are part of the how to documentation in that archive.)
3aOption1: Drag and Drop GeoTIFF Download Folder
The GDAL_GeoTIFF_2_FLT.bat script takes a folder name as input and recursively scans that folder for all TIF files and attempts to create a FLT for each. In Windows Explorer, when you drag and drop a folder onto a batch file, the folder path is passed as the parameter to run that batch file with. Doing this produces a FLT in that same folder as the GeoTIFF data. The resulting image(s) will have the name GDAL_GeoTIFF_2_FLT.flt.

In order to use this method, download the GDAL scripts into a user-controlled directory with write permissions. Drag and drop the original GeoTIFF file from the same directory that the conversion script is located in.
3bOption2: Run the GDAL_GeoTIFF_2_FLT.bat from the Command Line
The GDAL_GeoTIFF_2_FLT.bat file uses a TIF file location for the first parameter which is the source to convert. This script will not recursively scan the sub-directories to find the data, so the path must point to the actual TIF file. A second parameter that is optional allows you to specify the path and name of the output GeoTIFF file.

Begin by opening the Command Prompt and dragging and dropping the GDAL_GeoTIFF_2_FLT.bat file into the Command Prompt. Then, drag and drop your GeoTIFF file into the Command Prompt.

INSERT HERE
USAGE: GDAL_GeoTIFF_2_FLT.bat <GeoTIFF Input File> [Output File Name]
<GeoTIFF Input File>(REQUIRED) This is the relative or full path to the GeoTIFF file that contains the source data.
[Output File Name](OPTIONAL) This is the relative or full path to the output file that will be created. If this is not set, it will attempt to make a sub-folder under the current directory called FLT_Output, and a file in that folder called GDAL_GeoTIFF_2_FLT.flt.


Accessibility FOIA Privacy Policies and Notices

USA.gov logo U.S. Department of the Interior | U.S. Geological Survey
Page Contact Information: The National Map
Page Last Modified: