Skip to content

Wall extraction from a digital building model stored as georeferenced file (e.g. .shp or .kml) and transformation into local coordinate system.

License

Notifications You must be signed in to change notification settings

laskama/shp2walls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wall extraction from geo-files such as ESRI shapefile (shp) or Keyhole Markup Language (kml)

Installation

Installation via virtual environment is recommended

pip install git+https://github.com/laskama/shp2walls.git

Usage

from pkg_resources import resource_filename
import geo2wall.extract as g2w
import matplotlib.pyplot as plt

# extract walls
file = resource_filename("geo2wall", "shp/1og.shp")
walls_h, walls_v = g2w.get_walls_from_geometry_file(
    file_path=file,
    kml_folder="Waende",
    rotation_angle=-99)    

# plot extracted walls
g2w.plot_walls((walls_h, walls_v))

plt.show()

About

Wall extraction from a digital building model stored as georeferenced file (e.g. .shp or .kml) and transformation into local coordinate system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages