I need to calculate hillshade of folder using gdaldem hillshade which has 60 files in it. How can i do it using command prompt window.
closed as off-topic by PolyGeo♦ Feb 18 '16 at 8:32
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
first solution is to create a FOR loop in DOS, but this is a bit out of scope.
second solution is to build a vrt (make a virtual mosaic in your case) with all files and run gdaldem on it
gdalbuilvrt mosaic.vrt path_to_your_images/*.tif gdaldem hillshade mosaic.vrt output_hillshade.tif