3

Simple enough question. The NASA Aster data comes in GeoTIFF format, but the tool I'm using (Sketchup) only accepts DEM. Is there a way to convert?

I did a lot of searching, and only found the program GEOTIFF4, but it's obsolete, it's Windows-only, and source code is not available.

1
  • Have you found any solution to work with geotiff on macos? (especially looking for converting it into a grayscale) – norlin Nov 6 '16 at 16:59
3

GDAL should be able to convert rasters between any usual formats:

gdal_translate -of SRTMHGT input.tif output.hgt

See

http://www.gdal.org/gdal_translate.html

http://osgeo-org.1560.x6.nabble.com/gdal-dev-Aster-tif-files-to-hgt-td3742884.html

for more details.

3
  • Has anybody used the gdal package on a Mac? I just installed it (113Mb!) and gdal_translate still doesn't seem to be there. – Edward Falk May 1 '14 at 15:12
  • Edit -- found the program, thanks to the Mac pkgutil tool. It's installed in /Library/Frameworks/GDAL.framework/Programs/gdal_translate. – Edward Falk May 1 '14 at 15:31
  • And sigh. All that work, and over 100Mb of installed software, and the resulting .dem files just make Sketchup crash on the spot. Thanks for all your help anyway. – Edward Falk May 2 '14 at 1:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.