--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platform+unsubscribe@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.
Arg !! Shame !
Thank you Patrick you will be proud of my beautiful model ;-)Hi,You just test to replace the file by the grid in the computation of myVisibility:myVisibility <- dem_file overlapping perceived_area; -> myVisibility <- dem_cell overlapping perceived_area;
2017-07-21 14:50 GMT+02:00 Etienne DELAY <abce...@gmail.com>:
Hi all,I have developed a model based on abstract environment where each agents create a cell list overlapping a perception cone (like in the model library).Now I work on real spatial data so I create my initial grid from an asc file as Patrick said. But now my perception reflex doesn't work any more ...it looks like that :reflex perception {perceived_area <- (cone((180+heading)-3#km,(180+heading)+3#km) intersection world.shape) intersection circle(perception_distance);if (perceived_area != nil) {myVisibility <- dem_file overlapping perceived_area;}}myVisibility stay desperately empty !! So is there any difference between grid create from :grid veg_cell width: 100 height: 100 neighbors: 8 {}Andgrid dem_cell file:dem_file {}Or overlapping function work differently ?E.
--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.