use z-values from dem.