Skip to content

Protected areas exporting in one geojson without splitting by countries #23

@vwvbrand

Description

@vwvbrand

While running the protected_areas\pa_processor.py, if bounding box of the input raster covers more than one country, all outputs are being saved into one of the output geojson files. Geojsons transformed into geopackages are the same - one layer contains all features, another geojson - no features.

The log is the following:

Processing FRA_protected_areas...
Skipping FRA_protected_areas because it is empty.
Processing ESP_protected_areas...
Protected areas are filtered according to year stamps of LULC and PAs' establishment year: 2017
Filtered protected areas are written to: /src/data/output/protected_areas/pa_rasters/pas_2017.gpkg

This issue is not critical as all features are being still exported and used further, but needs to be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions