#osm #cad #ifc

app ifc2osm

Convert IFC CAD files to osm for simpler importing

1 unstable release

0.1.0 Nov 19, 2024

#35 in Geospatial

Download history 169/week @ 2024-11-18 3/week @ 2024-11-25 9/week @ 2024-12-09

181 downloads per month

GPL-3.0 license

11KB
62 lines

ifc2osm

ifc2osm is a Rust-based tool to convert CAD files from the IFC format to OSM format.

Installation

To install ifc2osm, ensure you have Rust installed. Then, run:

cargo install --git https://github.com/yourusername/ifc2osm

Usage

After installation, you can use the ifc2osm command:

ifc2osm [OPTIONS] <FLOOR_LEVEL> <PATH>

Arguments:

  • <FLOOR_LEVEL> floor level to assign to most of the structure
  • <PATH> path to the file to read

Options:

  • --floor-name <NAME> name of the FLOOR_LEVEL
  • -v, --verbose Increase the verbosity. Can be Repeated multiple times
  • -h, --help Print help

Development

Contributions are welcome! Please open an issue or submit a pull request to discuss what you need/want changed how.

To start contributing, clone the repository:

git clone https://github.com/TUM-Dev/navigatum.git
cd NavigaTUM/ifc2osm

Build and test the project:

cargo build
cargo test

To run the program locally:

cargo run -- 3 ./example.ifc --floor-name "Third Floor"

Dependencies

~18–28MB
~477K SLoC