1 unstable release
new 0.1.0 | Nov 19, 2024 |
---|
#7 in #osm
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 theFLOOR_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
~476K SLoC