Three-Dimensional Mapping of Habitats Using Remote-Sensing Data and Machine-Learning Algorithms