Commit 3cdcf985 authored by Cecilia Nievas's avatar Cecilia Nievas
Browse files

Added quadkey and geometry columns to gde_buildings

parent b2e6a785
Pipeline #43640 passed with stage
in 1 minute and 8 seconds
...@@ -159,10 +159,12 @@ The primary key of this table consists of two fields: `osm_id` and `aggregated_s ...@@ -159,10 +159,12 @@ The primary key of this table consists of two fields: `osm_id` and `aggregated_s
| aggregated_source_id | smallint | Identifier of the source of the aggregated model. | | aggregated_source_id | smallint | Identifier of the source of the aggregated model. |
| occupancy_case | occupancycase | See [personalised enumerated types](#personalised-enumerated-types). | | occupancy_case | occupancycase | See [personalised enumerated types](#personalised-enumerated-types). |
| data_unit_id | varchar | Identifier of the data unit the OBM building belongs to. | | data_unit_id | varchar | Identifier of the data unit the OBM building belongs to. |
| quadkey | char(18) | Quadkey of the zoom-level 18 tile to which the centroid of the building belongs. |
| building_class_names | array of varchar | Building classes as per the [GEM Building Taxonomy](https://github.com/gem/gem_taxonomy). | | building_class_names | array of varchar | Building classes as per the [GEM Building Taxonomy](https://github.com/gem/gem_taxonomy). |
| settlement_types | array of settlement | See [personalised enumerated types](#personalised-enumerated-types). | | settlement_types | array of settlement | See [personalised enumerated types](#personalised-enumerated-types). |
| occupancy_subtypes | array of varchar | Details on the occupancy, if relevant to characterise the building classes. | | occupancy_subtypes | array of varchar | Details on the occupancy, if relevant to characterise the building classes. |
| probabilities | array of float | Probabilities of the building belonging to each building class. | | probabilities | array of float | Probabilities of the building belonging to each building class. |
| geometry | geometry | Footprint of the building. |
## Personalised enumerated types ## Personalised enumerated types
......
ALTER TABLE public.gde_buildings ADD COLUMN quadkey CHAR(18);
ALTER TABLE public.gde_buildings ADD COLUMN geometry GEOMETRY;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment