10 likes | 140 Views
Goal: Keep the sheep inside his digital pasture, without falling victim to the predators of user error and a wolf-like DEM. What Glory?. Tricks: Start with code written by the Warlord of terrain analysis. Once you get your data into arrays, it is a non-stop party!
E N D
Goal: Keep the sheep inside his digital pasture, without falling victim to the predators of user error and a wolf-like DEM. What Glory? Tricks: Start with code written by the Warlord of terrain analysis. Once you get your data into arrays, it is a non-stop party! Look at pixel value of fdr 1st, so you can avoid the values that don’t follow the 2^(n-1) naming scheme (could also be handled by not using an array to translate them) Don’t let your sheep out of his pasture! KEEP HIM AWAY FROM THE YELLOW FENCE If you use raw DEM for fdr, watch out for pixels that flow into each other Learn to error handle! – Message Boxes and On Error GoTo Mind your Dims/data types – make sure you have declared them as you intended Run your code 100 times until you manage to escape from the ole’ maze