Skip to main content

write_model

Function write_model 

Source
pub fn write_model<W>(
    writer: W,
    model: &CityModel,
    options: &WriteOptions,
) -> Result<(), Error>
where W: Write,
Expand description

Write a single CityJSON or CityJSONFeature document.

ยงErrors

Returns an error if validation is enabled and fails, or if serialization to writer fails.