Skip to content

victorcalixto/mega-polis

Repository files navigation

                       .|
                       | |
                       |'|            ._____
               ___    |  |            |.   |' .---"|
       _    .-'   '-. |  |     .--'|  ||   | _|    |
    .-'|  _.|  |    ||   '-__  |   |  |    ||      |
    |' | |.    |    ||       | |   |  |    ||      |
____|  '-'     '    ""       '-'   '-.'    '`      |_________________________
jgs~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

███    ███ ███████  ██████   █████        ██████   ██████  ██      ██ ███████ 
████  ████ ██      ██       ██   ██       ██   ██ ██    ██ ██      ██ ██      
██ ████ ██ █████   ██   ███ ███████ █████ ██████  ██    ██ ██      ██ ███████ 
██  ██  ██ ██      ██    ██ ██   ██       ██      ██    ██ ██      ██      ██ 
██      ██ ███████  ██████  ██   ██       ██       ██████  ███████ ██ ███████ 
                                                                               

A DATA-DRIVEN URBAN DESIGN TOOLKIT FOR SVERCHOK

MEGA-POLIS is a Data-Driven Urban Design Toolkit. This is an addon for Blender that extends Sverchok addon.

This add-on is part of an ongoing research, and it still very experimental and under HEAVILY development.

While the documentation is not ready, you can check the thesis chapter that describes the tool development here

Also, you can check this demonstration:

Watch the video

Features

At the moment, this add-on includes the following nodes for Sverchok:

Gathering

  • Read GIS (shapefile, geopackage, geojson)
  • Read CSV Files
  • Read DEM (GeoTIFF)
  • Read LAS (.las)
  • OSM Downloader
  • Load Street Network
  • Download Street Imagery
  • Download Data URL
  • Request Data API
  • Get Pandas Feature
  • Pandas Dataframe
  • Pandas Series
  • Get Sample Dataframe
  • Split String

Analysis

  • DEM Terrain Attributes
  • Network Analyses
  • Shortest Path
  • Whitebox GIS Tool (Whitebox Tools Connection)
  • Isovists
  • Dataframe Utils
  • Object Detection (YoloV5)
  • Detectron (Instance and Panoptic Segmentation based on Detectron2)
  • Correlation
  • Correlation With
  • Get Feature At
  • Get Feature Index
  • Linear Model Selection
  • Model Fit
  • Model Predict

Generation

  • Faces from Vertices
  • CSV to Dataframe
  • Lat-Lon to Points
  • Pandas Filter
  • Pandas Map Feature
  • Sequential Colormap
  • Transpose Dataframe
  • Get File Path
  • File to Geo Dataframe
  • File to GeoJSON

Visualisation

  • Seaborn Plot
  • WebVR Connector (A-Frame)
  • Dashboard Creation
  • Dashboard Bokeh Figure
  • Dashboard Bokeh Plot Chart
  • Dashboard Bokeh Plot Line
  • Dashboard Dataframe
  • Dashboard Load Map
  • Dashboard Map
  • Dashboard Markdown
  • Dashboard Mesh
  • Dashboard Plotly Figure
  • Dashboard Plotly Scatter
  • Dashboard Server
  • Dataframe Visualisation
  • Python Server

Documentation still under development.

Installation

  • Download and Install Sverchok
  • Download MEGA-POLIS zip archive from GitHub
  • In Blender, go to User Preferences > Add-ons > install from file > choose zip-archive > activate flag beside MEGA-POLIS.
  • Check the add-on options to install all dependencies*.
  • Save preferences, if you want to enable the add-on permanently.
About Dependencies

The Mapillary depency requires that you install an older version of numpy compared to Sverchok. You can install the older version, then update numpy after install Mapillary

pip install numpy --upgrade

The dependency Visilibity requires Swig

Debian

sudo apt install swig

Arch Linux

sudo pacman -S swig

Windows

You can get the binary from the website or here

The RichDEM dependecy requires GDAL, MPI, and Boost.

Debian

sudo apt install openmpi-bin libgdal-dev libopenmpi-dev libboost-iostreams-dev

Arch Linux

sudo pacman -S boost gdal openmpi

For Windows, check the binaries and compilation process at Boost, GDAL, Open-MPI

The Detectron2 dependecy has no official support for Windows. However, there are some attemps to compile it using Visual C++. You can check the discussion here.

To make sure that all dependencies will be recognised by Blender-Sverchok you can run Blender with the flag

blender --python-use-system-env

LICENSE: GPL-3.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •