Skip to content

rebeccasc/BIMtoOSM

Repository files navigation

BIMtoOSM

CI license: AGPLv3

A parser to transform Building Information Modeling (BIM) to OpenStreetMap (OSM) data. This open source project wants to make Building Information Model data available for OpenStreetMap.

Quick start

Use the API

🚧 Currently, the source code is being rebuilt from scratch and the API might change 🚧

// Setup configuration (for full description see wiki -> Usage):
val defaultConfig = Configuration()

// Init parser
val parser = BIMtoOSMParser(defaultConfig)

// Parse BIM file
val osmData: OSMDataSet = parser.parse("path-to-file.ifc")

// Access the data (for full description see wiki -> Usage)

// Export OSM data
Exporter.exportOSM("bim-to-osm.osm", osmData, true)

Use JOSM GUI

The parser is integrated into JOSMs IndoorHelper plugin. To use the GUI you need to install JOSM and download the IndoorHelper plugin via EditPreferencesPlugins. Import example:


Dependencies

Contributing

Want to contribute? Check the contribution guidelines

Wiki

Find a detailed user guide at https://rebeccasc.github.io/BIMtoOSM/

Authors

Rebecca Schmidt (rebeccasmdt@gmail.com)