Skip to content

bronze_buildings_data_object

BronzeBuildingsDataObject

Bases: GeoParquetDataObject

Class that models the transportation network spatial data.

Source code in multimno/core/data_objects/bronze/bronze_buildings_data_object.py
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class BronzeBuildingsDataObject(GeoParquetDataObject):
    """
    Class that models the transportation network spatial data.
    """

    ID = "BronzeBuildingsDO"
    SCHEMA = StructType(
        [
            StructField(ColNames.category, StringType(), nullable=False),
            StructField(ColNames.geometry, GeometryType(), nullable=False),
            # partition columns
            StructField(ColNames.quadkey, StringType(), nullable=False),
        ]
    )

    PARTITION_COLUMNS = [ColNames.quadkey]