FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
Loading...
Searching...
No Matches
attribute.cpp File Reference
#include <fcb/attribute.hpp>
#include <fcb/generated/header_generated.h>
#include <algorithm>
#include <cstring>
#include <unordered_map>
#include "detail/checked.hpp"

Go to the source code of this file.

Namespaces

namespace  fcb
 

Functions

std::vector< std::pair< std::string, AttrValue > > fcb::decode_attributes (bytes_view blob, const std::vector< ColumnInfo > &schema)
 Decode a feature's attribute blob against the column schema.
 
nlohmann::json fcb::attributes_to_json (bytes_view blob, const std::vector< ColumnInfo > &schema)
 Same decode, rendered as a JSON object for CityJSON emission.