# Path: mapchete/errors.py
# class MapcheteNodataTile(Exception):
#     """Indicates an empty tile."""


from mapchete.errors import MapcheteNodataTile
from shapely.geometry import shape
"""Example process file."""



def execute(mp):
    """User defined process."""
    # Reading and writing data works like this:
    with mp.open("file1") as vector_file:
        if vector_file.is_empty():

# Path: mapchete/errors.py
# class MapcheteNodataTile(Exception):
#     """Indicates an empty tile."""


# Path: test/testdata/geojson_test.py
from mapchete.errors import MapcheteNodataTile
from shapely.geometry import shape

"""Example process file."""



def execute(mp):
    """User defined process."""
    # Reading and writing data works like this:
    with mp.open("file1") as vector_file:
        if vector_file.is_empty():

            raise MapcheteNodataTile