Skip to content

Simplify fiboa publish for catalog-driven publication - #214

Open
ivorbosloper wants to merge 1 commit into
mainfrom
publish-portolan
Open

Simplify fiboa publish for catalog-driven publication#214
ivorbosloper wants to merge 1 commit into
mainfrom
publish-portolan

Conversation

@ivorbosloper

Copy link
Copy Markdown
Collaborator

What changed

  • fiboa publish now only converts, validates, builds PMTiles and writes a collection.json with relative links, file:size/file:checksum (sha256 multihash), a web-map-links v1.3.0 pmtiles link with pmtiles:layers, and a visual asset. README/LICENSE generation, the data-survey lookup and the aws s3 sync upload are removed; --generate-meta, --data-url, --s3-upload-path, --yes, --editor, --converted-by, --data-survey-url are gone, --no-pmtiles and --tippecanoe-opts are new. README and CHANGELOG updated.
  • spdx-license-list is only used by tests and moves to the pixi dev feature.
  • FiboaBaseConverter: the determination:datetime column added by use_variant_as_determination was dropped again by the base converter's "remove unlisted columns" step; it is now listed in columns automatically (affected dk, hr).
  • be_vlg: drop plots without a crop code (one plot in the 2023 edition failed validation), derive the determination date from the variant year instead of a constant, add the 2026 edition.

Why

Publishing moves to the git-backed Portolan catalog at https://github.com/fieldsoftheworld/harmonized-field-data-catalog (source.coop/ftw/harmonized-field-data), which owns the catalog layer (styles, thumbnails, AGENTS.md/README, uploads). fiboa-cli stays the single home of conversion logic and produces the per-dataset building blocks.

Verification

$ pixi run -e dev pytest -q --no-cov
... passed
$ fiboa publish be_vlg --variant 2025 -o staging/be_vlg/year=2025   # used for the first published collections

The three pilot collections built with this branch pass rashid check --live with 0 errors against the published catalog.

🤖 Generated with Claude Code

`fiboa publish` now only converts, validates, builds PMTiles and writes a
collection.json with relative links, file:size/file:checksum (multihash),
a web-map-links v1.3.0 `pmtiles` link with `pmtiles:layers` and a `visual`
asset. README/LICENSE generation, the data-survey lookup and the S3 upload
are gone; catalogs such as fieldsoftheworld/harmonized-field-data-catalog
own those. spdx-license-list is only needed by tests and moves to the dev
feature.

Also:
- FiboaBaseConverter: keep the determination:datetime column that
  `use_variant_as_determination` adds; it was removed again as unlisted
  (affected dk, hr).
- be_vlg: drop plots without a crop code (one in 2023 failed validation),
  take the determination date from the variant year, add the 2026 edition.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ivorbosloper ivorbosloper changed the title Simplify for catalog-driven publication Simplify fiboa publish for catalog-driven publication Aug 21, 2026
@ivorbosloper
ivorbosloper requested a review from m-mohr August 21, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant