I already figured out how to use a DEM as world in Netlogo:
globals [ elevation-dataset ] patches-own [ elevation ] turtles-own [ ] extensions [ gis ]