Skip to content

cmoon329/rotterdam3d_underpass_extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Run

Download the following files:

  • underpass_detection.py
  • underpass_detection_main.py
  • Test datasets in /data folder

Run the script as follows:

python3 underpass_detection_main.py data/area_1.json area_1_underpass

Input Arguments

The script takes two input arguments:

  1. Input file : A CityJSON file to be processed
  2. Output file name : An output file name without extension

Outputs

  1. SHP file: A SHP file will be created in /data folder. The file contains merged Outer Ceiling Surfaces and their area for each City Object with underpasses. Load into QGIS for visualization.

Test Datasets

Notes

Generic attributes must be included in the input dataset. Be sure to include them when downloading a new dataset from 3D Rotterdam.

Screenshot 2026-01-21 at 9 31 31 PM

Results

Following images are from test runs. Surfaces highlighted in green represent underpass surfaces.

Area 1 Area 2 Area 3
area_1_map area_2_map area_3_map

Example 1 (Google Map)

Roof and ground surfaces Detected underpasses

Example 2 (Google Map)

Screenshot 2026-01-08 at 4 02 48 PM Screenshot 2026-01-08 at 4 03 17 PM

Example 3 (Google Map)

Screenshot 2026-01-08 at 4 05 21 PM Screenshot 2026-01-08 at 4 05 13 PM

Example 4 (Google Map)

Screenshot 2026-01-08 at 4 06 23 PM Screenshot 2026-01-08 at 4 07 00 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages