Skip to content

bronze_countries_data_object

BronzeCountriesDataObject

Bases: GeoParquetDataObject

Class that models country polygons spatial data.

Source code in multimno/core/data_objects/bronze/bronze_countries_data_object.py
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class BronzeCountriesDataObject(GeoParquetDataObject):
    """
    Class that models country polygons spatial data.
    """

    ID = "BronzeCountriesDO"
    SCHEMA = StructType(
        [
            StructField(ColNames.iso2, StringType(), nullable=False),
            StructField(ColNames.name, StringType(), nullable=False),
            StructField(ColNames.geometry, GeometryType(), nullable=False),
        ]
    )

    PARTITION_COLUMNS = []