rot...@stud.sbg.ac.at
unread,Feb 13, 2019, 9:54:17 PM2/13/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to GAMA
Merci Patrick!
I've tried similar (but simpler code :), and didn't work,
because now I see my error in your code example.
I must declare the var e.g. float min_altitude and operators in the init {} block above the ask elevation {}, and not in it or grid species/global.
Another solution that worked was to use Raster Calculator in GIS software, and subtract cell values! "dem" - min_value
But I like more the solution with gama code that you provided.
I've looked at Grid DEM (tutorial model), as it is very detailed, and noticed that as well DEM floats above the XYZ plane, seems like my case too.
In experiment, I've tried with draw function, hoping to achieve a "draping" effect, to overlay landcover on the elevation file, but looks same.
display map type: opengl draw_env: false{
graphics "landcover on elevation" {
draw dem (elevation, landcover, 0.9);
}
the grid file have different grid_value , so that's the reason why they are not on top of eachother, can it be done? I will try to combine them, and share results if i get to.
enjoy reasearching for everybody!
TREELIM_model_display_map_size_1035x680_cycle_0_time_1550090771668.png
TREELIM_model_display_map_size_1429x680_cycle_0_time_1550092549528.png