dans-gdal-scripts

by gina-alaska

gina-alaska / dans-gdal-scripts

A number of utilities for use in conjunction with GDAL.

131 Stars 37 Forks Last release: over 7 years ago (v0.23) Other 455 Commits 3 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

dans-gdal-scripts

This package consists of a number of utilities for use in conjunction with GDAL. Currently these programs are only supported on Unix systems, but it should be possible to compile them on Windows if you know how to make the corresponding Makefiles.

Programs

gdalcontraststretch

Contrast stretch and conversion from 8,16-bit or floating point to 8-bit

gdal_dem2rgb

Generate hillshaded images from DEMs

gdalgetprojected_bounds

Project a polygon and return its bounding rectangle

gdallandsatpansharp

Pansharpening - works best for Landsat 7 images

gdallistcorners

Prints raster geocode information in YAML format (similar to gdalinfo but gives YAML)

gdalmergesimple

Merge individual bands into a single GeoTIFF image (8-bit only)

gdalmergevrt

Merge individual bands into a single VRT image

gdal_raw2geotiff

Convert raw binary files into GeoTIFFs

gdaltraceoutline

Trace the outline of an image and generate WKT or Shapefile (options exist for cleaning up raggedy edges, can also do feature classification)

gdalwktto_mask

Generate a bitmap of the area covered by a polygon

Install

Debian/ubuntu: apt-get install dans-gdal-scripts

from source:

./autogen.sh
./configure  # --prefix=/your/favorite/prefix
make
make install

OSX (homebrew)

To get dans-gdal-scripts working on OSX you'll need to get a few deps:

  • Homebrew
    • brew install gdal
    • brew install boost

Credits

These programs were written by Dan Stahlke of the Geographic Information Network of Alaska. Send questions or comments to [email protected].

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.