Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `fiboa create-stac-collection` describes the fiboa properties in `table:columns`.
- Added `pixi run check-hcat`, which compares the HCAT mapping tables the converters read online with the taxonomy.
- Added `FiboaDuckDBBaseConverter` for SQL-based conversion of large Parquet sources.
- Added `PerFileBaseConverter` to process multi-file sources incrementally.
- Added support for supplementary HCAT/crop mappings via `hcat_mapping_supplements`.
- Added `get_hcat_mapping()` and `hcat_lookup()` to `AddHCATMixin` to load the HCAT mapping once and look up codes or names in it.
- Added support for Esri JSON output and server-side filters in REST converters.
Expand Down Expand Up @@ -50,8 +49,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `fiboa publish` no longer uploads to S3 or generates README/LICENSE files. It now creates GeoParquet, PMTiles and a STAC Collection with relative links, checksums and web-map-links.
- Updated `aiohttp` to support Zenodo responses that include both returned `Content-Type` headers.
- Improved geometry axis handling so generated tiles and bounding boxes keep x/y order consistent in output.
- Updated vecorel-cli to 0.4.1:
- Updated vecorel-cli to 0.4.2:
- A converter can set `request_headers` for its downloads, e.g. a browser User-Agent.
- A converter can convert each source on its own and merge the parts (`PerFileConverterMixin`), for sources that do not fit into memory together.
- HTTP downloads no longer fail after 5 minutes.
- `--compression none` no longer fails in DuckDB-based conversions and merges.
- The DuckDB converter downloads archives and other sources it cannot read in place also without a cache, and no longer turns `key=value` folders in a path into columns.
- GeoParquet files under 250,000 rows get at least ten row groups, so a reader can skip by area.
- `create-stac-collection` takes the bbox from the geometries, in EPSG:4326.
Expand Down
4 changes: 3 additions & 1 deletion fiboa_cli/datasets/es.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import re

import requests
from vecorel_cli.conversion.per_file import PerFileConverterMixin
from vecorel_cli.vecorel.extensions import ADMIN_DIVISION

from ..conversion.fiboa_converter import FiboaBaseConverter
from .commons.hcat import AddHCATMixin


class Converter(AddHCATMixin, FiboaBaseConverter):
# 50 provincial GeoPackages that do not fit in memory together
class Converter(PerFileConverterMixin, AddHCATMixin, FiboaBaseConverter):
id = "es"
short_name = "Spain"
title = "Spain Declared Crops (Cultivos Declarados SIGPAC)"
Expand Down
Loading
Loading