cityscope / csl_helsinki Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Currently, the position of the grid is hard-coded into the model. Eventually this should be solved in the main CS_GAMA_Simulation model as outlined in this issue: CityScope/CS_Simulation_GAMA#37
For now, we can just hardcode the correct position of the grid. You need to change the constants "angle" and "center" in order to place the grid in whatever position you need.
The land use type codes expected by the GAMA model are defined in the citymatrix_map_settings variable (line 48). However, these are not the same set of codes currently being sent to cityIO. You need to either send the same codes as the model expects or change the citymatrix_map_settings variable to match the codes you're sending.
Dear all,
Very good job for the effort of pushing code in the Helsinki Github, this is a great news! Welcome to the CityScope community!
It seems that one first step is to have kind of reproduction of the volpe model but for Helsinki, right?
For now what has been done is that the Helsinki Repo https://github.com/CityScope/CSL_Helsinki/tree/master/CS_Gama_Aalto/CS_Simulation_GAMA-master is a hard copy of the generic volpe model from this repo
https://github.com/CityScope/CS_Simulation_GAMA.
Having 2 version of the same model will make it very difficult to maitain and we will lose all the benefit of the genericity and the github worlflow. A classical github workflow would be easer (i) to fork the intial repo, or (ii) create a branch in the intial repo and (iii) creat a submodule in the helsinki module that point to the original one.
I just want to insist that this GAMA model has been designed in a generic way so that it can run on any cities as soon as the GIS is compatible with the API (see https://github.com/CityScope/CS_Simulation_GAMA/wiki/GIS-Structure)
If you go to the dev branch you can see that there is this folder
https://github.com/CityScope/CS_Simulation_GAMA/tree/devEnergy/CS_CityScope_GAMA/includes/City where all the compatible GIS city are stored. Ideally the Compatible Helsinki/aalto file should be stored here
@doorleyr can you take the lead on making this architecture happen? Personnally I think that option (iii) submodule is maybe the most appropriate but we can speak about it.
Later we could imaging that if you are developping a new generic feature it could be added to the intial model through a pull request.
This design will more powerful for the CityScience Netwok approach collaboration and will give also much more visibility to the different contribution
We can discuss about this in a Skype if you want.
Develop functionality to create json file containing essential grid information and upload to CityIO server periodically.
Format of json should follow the new 'proposed format' detailed here: https://github.com/CityScope/CS_CityIO_backend/wiki/Data-Format
The reason the agents were not moving was that there were no roads in the area and the agents were constrained to move on roads. There seems to be an issue with the roads shape file. Even when I open the buildings and roads shape files together in QGIS I can see that they are not in the same area. It might be that the wrong projection is specified.
I changed the constant 'moveOnRoads' to false in the simulation so that now the agents will move in straight lines between the buildings. When we have the proper shape files we can change this back.
Is there a gama model that reads the table data in 'CityIO Data Structure Standard version 2.1' format?
Develop functionality in Grasshopper, C#, Unity or other language which can read the image stream from the webcam and identify the type of lego piece at each space in the 28*28 grid.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.