Home

Awesome

GeoJSON Indoor Tools

Quick GeoJSON tools for editing and modifying geojson data, focusing on indoor features.

Available Scripts

Features inside area

Removes any feature that is outside of a polygon. Great for grabbing an area indoor data generated by other services.

before

after

python3 features-inside-area.py

Add polygons heights

Adds multiple properties to polygons: level, height, base_height and a random color.

python3 add-polygon-heights.py

Rooms to walls

Create walls for any polygon room. You can adjust the wall thickness with zeta. It also sets height so walls are differentiable from the original room polygon.

before

after

python3 rooms-to-walls.py

Add doors to rooms

Cut out rooms doors from their polygons. Doors are geometrically points near their walls.

before

after

Important notes:

python3 add-doors-to-rooms.py

Contributing

Pull requests are welcome.