|
FlatCityBuf C++ reader 0.10.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
|
Configuration for FcbWriter. More...
#include <fcb/writer/fcb_writer.hpp>
Public Attributes | |
| bool | write_index = true |
| false forces index_node_size to 0 in the written header (no R-tree at all), regardless of index_node_size below – mirrors HeaderWriter::new_with_options (header_writer.rs:87-94). | |
| std::uint16_t | index_node_size = kDefaultNodeSize |
| std::vector< std::pair< std::string, std::optional< std::uint16_t > > > | attribute_indices |
| (attribute name, branching factor); std::nullopt branching factor means build_static_btree's own default. | |
| std::optional< std::array< double, 6 > > | geographical_extent |
| std::optional< std::uint16_t > | id_index = kDefaultBranchingFactor |
| The branching factor of the index over City Object ids, or std::nullopt to write none. | |
Configuration for FcbWriter.
Mirrors HeaderWriterOptions (writer/header_writer.rs) minus the CLI-only knobs this library has no use for (there is no -g/bbox-filter/--no-feature-count equivalent: feature_count is always however many features were added).
Definition at line 26 of file fcb_writer.hpp.
| std::vector<std::pair<std::string, std::optional<std::uint16_t> > > fcb::FcbWriterOptions::attribute_indices |
(attribute name, branching factor); std::nullopt branching factor means build_static_btree's own default.
Empty means no attribute index is built for any column.
Definition at line 35 of file fcb_writer.hpp.
| std::optional<std::array<double, 6> > fcb::FcbWriterOptions::geographical_extent |
Definition at line 36 of file fcb_writer.hpp.
| std::optional<std::uint16_t> fcb::FcbWriterOptions::id_index = kDefaultBranchingFactor |
The branching factor of the index over City Object ids, or std::nullopt to write none.
The index holds the id of every City Object, a feature's children included, and is queried as the column kIdColumnName; the ids are not copied into the attributes. A dataset whose attribute schema already has a column of that name keeps it, and gets no id index. Mirrors HeaderWriterOptions::id_index.
Definition at line 44 of file fcb_writer.hpp.
| std::uint16_t fcb::FcbWriterOptions::index_node_size = kDefaultNodeSize |
Definition at line 31 of file fcb_writer.hpp.
| bool fcb::FcbWriterOptions::write_index = true |
false forces index_node_size to 0 in the written header (no R-tree at all), regardless of index_node_size below – mirrors HeaderWriter::new_with_options (header_writer.rs:87-94).
Definition at line 30 of file fcb_writer.hpp.