FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
Loading...
Searching...
No Matches
attribute.hpp File Reference
#include <fcb/error.hpp>
#include <fcb/header.hpp>
#include <fcb/span.hpp>
#include <cstdint>
#include <string>
#include <vector>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Classes

struct  fcb::AttrValue
 One decoded attribute value. More...
 

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.