15912 {
15913
15915 types.Add(type_info.first, type_info.second);
15916
15917
15918 bool has_any_empty = false;
15920
15921
15922 if (has_any_empty) {
15923 flags.SetHasEmptyPart();
15924 } else {
15925 flags.SetHasNonEmptyPart();
15926 }
15927
15928 if (vert_count == 0) {
15929 flags.SetHasEmptyGeometry();
15930 } else {
15931 flags.SetHasNonEmptyGeometry();
15932 }
15933 }
static DUCKDB_API pair< GeometryType, VertexType > GetType(const string_t &wkb)
Get the geometry type and vertex type from the WKB.
static DUCKDB_API uint32_t GetExtent(const string_t &wkb, GeometryExtent &extent)
Update the bounding box, return number of vertices processed.