export_cityjson

Function export_cityjson 

Source
pub fn export_cityjson(
    content: &[u8],
    options_json: &str,
) -> Result<CityJsonExportJs, JsValue>
Expand description

Export content as CityJSON 2.0 (or CityJSONSeq with sequence).

A model with no IfcBuilding throws an Error whose message starts with CITYJSON_REFUSED:. Georeferencing that cannot be resolved is not an error: the document is written in local coordinates and warnings says why.