Parsing standardized forestry data in Rust : a case study of the ClimateForest project
Bäckman, Marc (2025)
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202503073855
https://urn.fi/URN:NBN:fi:amk-202503073855
Tiivistelmä
This thesis focuses on parsing and utilizing standardized forestry data using the Rust programming language within the ClimateForest project. The primary goal was to develop an XML parsing tool to process forestry data, which includes detailed information on forest stands, tree characteristics, geographic data, and forestry operations. The tool will generate structured data representations in Rust, enabling integration with applications for data analysis and management.
To achieve this, three projects were developed: the first utilized an existing Rust crate to convert XML into data structures, the second involved developing a custom library crate to perform the same task, and the third attempted to convert XSD files into data structures. The second project successfully met its goals and was published as a Rust crate with proper documentation.
This thesis provided a valuable opportunity to deepen knowledge of the Rust programming language while gaining experience in testing, publishing, and documenting a Rust crate.
To achieve this, three projects were developed: the first utilized an existing Rust crate to convert XML into data structures, the second involved developing a custom library crate to perform the same task, and the third attempted to convert XSD files into data structures. The second project successfully met its goals and was published as a Rust crate with proper documentation.
This thesis provided a valuable opportunity to deepen knowledge of the Rust programming language while gaining experience in testing, publishing, and documenting a Rust crate.