ReadonlybyteByte offset of this feature RELATIVE to the start of the features section, matching the offsets stored in the R-tree leaves.
ReadonlyidThe feature's id -- the id member of the emitted CityJSONFeature.
'' for a malformed feature that omits the required field.
Shorthand for cityObjects()[objectIndex].attributes(), decoded against
the schema that governs THAT object -- its own columns when it declares
them, the header's otherwise.
Built once and cached: the views are immutable and callers commonly
iterate them alongside attributes(i), which indexes the same list.
The parsed FlatBuffers table behind this feature -- for the fields this
handle does not surface, chiefly the per-feature appearance.
This feature as one CityJSONSeq line. A convenience over
toCityJSONFeature(feature, header); the emission itself lives in
cityjson/, which is where the CityJSON document model lives.
Optionalopts: Int64PolicyAll vertices flattened to x,y,z triples of quantized integers -- apply the header's scale/translate to get world coordinates.
Built element by element through the generated Vertex accessors rather
than as a typed-array view over the struct vector: an Int32Array view
would decode in the HOST's byte order, which is only accidentally the
little-endian the format specifies.
One decoded feature that OWNS the bytes it points into.
The buffer handed to the constructor must be a private copy starting at index 0 of its own ArrayBuffer -- readFeature guarantees that. See readFeature for why both halves of that matter.