GeoTif GeoCoordinate Referencing

Back to Tutorials | Next Tutorial

Tools Required: MS DOS, ListGeo

Make sure you have downloaded and extracted the ListGeo Tool. Make sure you copy it or extract it to the folder where all of your original GLCF Tif files are kept. These are the original GeoTif files that you extracted after downloading them from the GLCF. It might be the SRTM file, or it could be one of the ETM+ files. It does not matter, but ListGeo needs to be in the same folder as these files for GeoCoordinate extraction purposes.

Navigate the Windows "Start" menu to "Run".

Type in "cmd" as shown below.

Navigate your Hard Drive with DOS to the folder where you extracted the original GeoTif file. This file might be an SRTM.tif file, or it might be an ETM+.tif file. It does not matter, because both of these original GeoTif files directly from the GLCF contain GeoCoordinate information that must be extracted for us to properly process these tiles. ListGeo is the tool that we use to do that. So ListGeo should be there in the same folder.

Type in the command similar to what you see in the image below. Substitute the file name as appropriate, but the special flags denoted by the "-" prefix should remain the same.

"listgeo -d -proj4 [filename.tif]" Without the quotes of course.

Click on the image for a larger view.

A similar output as seen above should result. The numbers might be different, if you are doing a different tile then the one I am doing here, then they will most definitely be different.

Right click in the DOS Command window. The popup window shown in the image below will appear. Left click on the menu selection "Mark".

This action will put your cursor in the "Mark" mode. Which will let you copy the text from the window onto the Windows clipboard.

Click on the image for a larger view.

Left Click and hold on the upper top line in the far left of the file output. Drag your mouse/cursor to the lower right and highlight the region.

Make sure your selection area encompasses the entire output exactly. Watch the boarder on the right, and the boarder on the bottom. Make sure both of them are not going even one character to far in either direction. You really need this to be exact, because this selection set will need to run through another batch program to convert the images into a new projection system. So this is really important!

Once you have the selection just perfect. Release the left mouse button, and move the mouse to the center of the white area, Right click once, and the white selection should vanish returning the window to it's normal form. This is perfectly fine.

Click on the image for a larger view.

Navigate the Windows Start menu. Select "Run".

Type "notepad" into the "Open" field. Click "OK".

Press "Ctrl V" to paste the selection you copied from the DOS Command window into the "notepad" text editor.

Click on the image for a larger view.

Navigate the menu control "File->Save As".

Type in the Path###Row### "P###R###" designation for the tile you just processed, and save it as an ANSI Text Document by clicking the "Save" button.

Back to Tutorials | Next Tutorial