Closed agrignard closed 4 years ago
We are working on a seamless integration of GamaBrix in any Gama model. The idea is to embed all the code related to GamaBrix in GamaBrix.gamlso far most of the code is include except this part which is still in cityIO.gaml
GamaBrix.gaml
cityIO.gaml
file geogrid <- geojson_file("https://cityio.media.mit.edu/api/table/"+city_io_table+"/GEOGRID","EPSG:4326"); geometry shape <- envelope(geogrid);
Ideally we would like to call this function in the init of cityIO.gaml where this fucntion is defined in GamaBrix.gaml like this
action setup_cityio_world { geogrid <- geojson_file("https://cityio.media.mit.edu/api/table/"+city_io_table+"/GEOGRID","EPSG:4326"); geometry shape <- envelope(geogrid); }
However when we do so (by calling setup_cityio_world in the initof cityIO.gaml the behavior is different and is not doing what we want.
setup_cityio_world
init
@ptaillandier can you help us on this?
Great!! Thank you Patrick!
We are working on a seamless integration of GamaBrix in any Gama model. The idea is to embed all the code related to GamaBrix in
GamaBrix.gaml
so far most of the code is include except this part which is still incityIO.gaml
Ideally we would like to call this function in the init of
cityIO.gaml
where this fucntion is defined inGamaBrix.gaml
like thisHowever when we do so (by calling
setup_cityio_world
in theinit
ofcityIO.gaml
the behavior is different and is not doing what we want.@ptaillandier can you help us on this?