#!/bin/sh
############################################################################
#                           create_hillshade.sh                            #
#                          Copyright (C) 2012, Gary Sherman                #
# Creates a GRASS hillshade raster from a DEM and shaded  relief raster    #
#                                                                          #
############################################################################

r.shaded.relief map=ancc6_new shadedmap=ancc6_shade zmult=4 --overwrite
cat myelevation.rules |r.colors map=ancc6_dem color=rules
r.his -n h_map=ancc6_new i_map=ancc6_shade r_map=ancc6_r g_map=ancc6_g b_map=ancc6_b --overwrite
r.composite -d red=ancc6_r blue=ancc6_b green=ancc6_g output=ancc6_combined --overwrite

