Expand description
§CityJSON-STAC
A library for generating STAC (SpatioTemporal Asset Catalog) metadata from CityJSON datasets.
§Supported Formats
- CityJSON (
.json) - CityJSON Sequences (
.jsonl) - FlatCityBuf (
.fcb) - coming soon
§Example
use city3d_stac::reader::get_reader;
use city3d_stac::stac::StacItemBuilder;
use std::path::Path;
let reader = get_reader(Path::new("building.json"))?;
let item = StacItemBuilder::new("my-building")
.bbox(reader.bbox()?)
.cityjson_metadata(&*reader)?
.build()?;Re-exports§
pub use error::CityJsonStacError;pub use error::Result;
Modules§
- cli
- Command-line interface
- config
- YAML configuration for collection metadata
- error
- Error types for the cityjson-stac library
- memory
- Lightweight process memory instrumentation for Linux.
- metadata
- Metadata structures for CityJSON datasets
- reader
- Reader implementations for different CityJSON formats
- remote
- Remote file access module using object_store
- stac
- STAC generation module
- traversal
- Directory traversal module with glob pattern support
- validation
- Validation logic for dry-run mode