Comments (3)
Hi @nguyenledly this can be done in python with geopandas. I created a script to do this and saved the results: in the scenarios/results folder.
https://github.com/CityScope/CSL_HCMC/blob/main/scenarios/lu_to_geogrids.ipynb
The parameters of the grid (position, rotation, cell size etc.) were set based on analysis done in this notebook:
https://github.com/CityScope/CSL_HCMC/blob/main/data_analysis/geogrid_parameters.ipynb
However, specifically for the physical table with static scenarios, there will be no live modules (only pre-computed results) so it may be possible to continue to use the more detailed polygons as the GEOGRID in your front-end. You just need to figure out how to update all the relevant layers each time the hardware triggers a new scenario.
For the interactive CityScope models we do need to use an actual grid because the modules will be analyzing the table in real time and can only do this with gridded data.
from csl_hcmc.
Hi @doorleyr I am Tuan and in charge of JS. Could you give me the way you convert the GIS data into GRID to commit on CityIO? Cause I am not familiar with GIS data (.shp, .sbx, ....). Thank you so much.
from csl_hcmc.
Thank you @doorleyr , I will take a look on that.
About updating relevant layers each time the hardware triggers a new scenario. I have done that and in testing process to make sure everything work fine.
from csl_hcmc.
Related Issues (18)
- GIS file for 4 scenarios HOT 14
- OD matrices HOT 1
- Aggregate survey data to crate ward level home, work and O-D files HOT 26
- Define the land use types using the CityScope Types system HOT 49
- POIs outside D4 HOT 2
- Rasterization of the 4 scenario in a CityScope Grid
- Building layer consistency HOT 2
- Road Network consistency HOT 1
- LandUse consistency HOT 2
- Decision between 3, 4 or 6 scenarios HOT 5
- GAMA model for District 4 HOT 9
- 3 Scenarios. Text for the demo HOT 2
- Normalisation of the indicators in static scenarios
- Use buildings shapefiles instead of land use shapefiles for the static scenario analysis HOT 1
- Validate OSM road network OR map the road network shapefiles to node table and link table format HOT 1
- Use separate density values for residents and employment HOT 1
- Displacement/Gentrification Index - KAREN CHAPPLE
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csl_hcmc.