BE-VLG: campaigns 2018-2026, and a real field id - #233
Merged
Merged
Conversation
This was referenced Sep 11, 2026
ivorbosloper
force-pushed
the
split/be_vlg
branch
2 times, most recently
from
September 12, 2026 15:10
6f5353e to
b404b1f
Compare
The Flemish portal keeps every campaign from 2018; the catalog published 2023 onwards. Adding the older ones turned up three things, two of which were true of the editions already published: - **REF_ID references the parcel, not the field.** A row is one crop declared on it, so it repeats whenever a parcel carries more than one: 183 references over 367 of the 515,747 rows of 2018, one of them winter barley and winter wheat on the same 0.6238 ha, another the same crop twice. It is published as `block_id` now and the row index identifies the field, which is safe because an edition is one layer of one file. 2023 repeated it 15 times and 2026 1,800 times, so this is not only about the old campaigns. - **The 2026 GeoPackage carries a QGIS `layer_styles` table** beside the parcels, and its single row was read as a field. It never reached the published file, but only because the empty-geometry guard dropped it at the end — luck, not filtering. - **The 2020 archive** holds a GeoPackage whose name is not the archive's (`Landbouwgebruikspercelen2020_igb15-05_uitgebreid_(toestand_19-03-2021).gpkg` inside `..._2020_uitgebreid_toestand_19-03-2021_GPKG.zip`), and its text is cp1252, not UTF-8: a byte no UTF-8 decoder accepts kills the read before the first row. Every other value in that file is ASCII, so cp1252 costs nothing, and it is set for that campaign only. - **The 2020 GeoPackage also declares "Undefined geographic SRS"** while holding Lambert 72 metres, which put 258615.94 in the STAC extent as an east longitude and built the Hilbert grid from a global extent. The CRS is set where the source leaves it out. All nine editions are built and published: 515,747 fields in 2018 to 597,088 in 2026, 5,109,729 field-years, unique ids throughout. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG
ivorbosloper
force-pushed
the
split/be_vlg
branch
from
September 12, 2026 16:11
b404b1f to
da81010
Compare
saidy-moregeo
approved these changes
Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handle variability over years.
REF_IDis the reference parcel.