|
FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
|
Flattened semantics: surfaces is the CityJSON semantics.surfaces array, passed through verbatim (FlatBuffers SemanticObject encoding, including its "other" attributes, is M3's job).
More...
#include <fcb/writer/geom_encoder.hpp>
Public Attributes | |
| nlohmann::ordered_json | surfaces = nlohmann::ordered_json::array() |
| std::optional< std::vector< std::uint32_t > > | values |
Flattened semantics: surfaces is the CityJSON semantics.surfaces array, passed through verbatim (FlatBuffers SemanticObject encoding, including its "other" attributes, is M3's job).
values is one flat entry per surface, UINT32_MAX for null, or std::nullopt for a null semantics.values member (or one absent altogether – the schema requires the member but permits null, and this handles a missing member the same way defensively rather than throwing). Mirrors GMSemantics (writer/geom_encoder.rs).
Definition at line 48 of file geom_encoder.hpp.
| nlohmann::ordered_json fcb::GMSemantics::surfaces = nlohmann::ordered_json::array() |
Definition at line 49 of file geom_encoder.hpp.
Referenced by fcb::encode_semantics().
| std::optional<std::vector<std::uint32_t> > fcb::GMSemantics::values |
Definition at line 50 of file geom_encoder.hpp.
Referenced by fcb::encode_semantics().