Skip to content

grasbrook-cityscope/pyGrid2VeCS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyGrid2VeCS

The python Grid to Vector conversion tool for road networks

Input: CityIO-compatible grid

Output: GeoJSON containing connected road topology

Installation

Requires

  • python3
  • pyproj
  • requests
  • docker optional

./install.sh (docker)

pip install -r requirements.txt (without docker)

Usage

./run.sh (docker)

python main.py (without docker)

Description

Reads grid from CityIO (define table-URL in config.json) and parses all cells with types as in typedef.json. Stores and posts (define output URL in config.json) LineString Collection of road segments to CityIO.

Open Questions

  • connect 4-neighbourhoods only or also 8-neighbourhoods?

About

Converts CityIO grids to Road network vector data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published