FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
Loading...
Searching...
No Matches
cityjson.cpp File Reference
#include <fcb/cityjson.hpp>
#include <fcb/attribute.hpp>
#include <fcb/generated/feature_generated.h>
#include <fcb/generated/header_generated.h>
#include <fcb/geometry.hpp>
#include <array>
#include <charconv>
#include <cstring>
#include <string>
#include "detail/feature_access.hpp"
#include "detail/header_access.hpp"

Go to the source code of this file.

Namespaces

namespace  fcb
 

Functions

std::string fcb::city_object_type_name (std::uint8_t type)
 CityJSON name for a CityObjectType enumerator, e.g.
 
std::string fcb::semantic_surface_type_name (std::uint8_t type)
 CityJSON name for a SemanticSurfaceType enumerator, e.g.
 
nlohmann::json fcb::to_cityjson_metadata (const HeaderView &header)
 The CityJSON metadata envelope: type, version, transform, extent, CRS.
 
nlohmann::json fcb::to_cityjson_feature (const Feature &feature, const HeaderView &header)
 One feature as a CityJSONFeature object.