Giter Club home page Giter Club logo

Comments (3)

doorleyr avatar doorleyr commented on June 16, 2024 1

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.

n-h-tuan avatar n-h-tuan commented on June 16, 2024

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.

n-h-tuan avatar n-h-tuan commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.