gdaldem histojam
Making gdaldem color-relief
color configuration files by hand can be a drag. Jam on some histogrammatic colormap file creation workflows instead.
Calculate a histogram passing the -hist
option to gdalinfo
for your geotiff, write the output to a new json file, and upload it with the file selection option below.
gdalinfo -json -hist file.tif > info.json
Pick your colors and adjust the options to suit your needs, then copy the color configuration results to a text file for your next g'damn gdaldem color-relief attempt.
Common colormaps
Special thanks to the gdal gdaldem color-relief
function for bringing color to the world, and to dicopal.js for making it easy to pull in a broad collection of color palettes.