-
-
Notifications
You must be signed in to change notification settings - Fork 79
/
Copy pathfeature.fbs
22 lines (18 loc) · 909 Bytes
/
feature.fbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include "header.fbs";
namespace FlatGeobuf;
table Geometry {
ends: [uint]; // Array of end index in flat coordinates per geometry part with exterior ring first
xy: [double]; // Flat x and y coordinate array (flat pairs)
z: [double]; // Flat z height array
m: [double]; // Flat m measurement array
t: [double]; // Flat t geodetic decimal year time array
tm: [ulong]; // Flat tm time nanosecond measurement array
type: GeometryType; // Type of geometry (only relevant for elements in heterogeneous collection types)
parts: [Geometry]; // Array of parts (for heterogeneous collection types)
}
table Feature {
geometry: Geometry; // Geometry
properties: [ubyte]; // Custom buffer, variable length collection of key/value pairs (key=ushort)
columns: [Column]; // Attribute columns schema (optional)
}
root_type Feature;