powered by
Writes the hillshaded map to file.
save_png(hillshade, filename, rotate = 0)
Array (or matrix) of hillshade to be written.
String with the filename. If .png is not at the end of the string, it will be appended automatically.
.png
Default 0. Rotates the output. Possible values: 0, 90, 180, 270.
# NOT RUN { #internal # }
Run the code above in your browser using DataLab