Skip to content

BE-VLG: campaigns 2018-2026, and a real field id - #233

Merged
ivorbosloper merged 3 commits into
mainfrom
split/be_vlg
Sep 14, 2026
Merged

ivorbosloper merged 3 commits into
mainfrom
split/be_vlg

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Handle variability over years. REF_ID is the reference parcel.

@ivorbosloper
ivorbosloper force-pushed the split/be_vlg branch 2 times, most recently from 6f5353e to b404b1f Compare September 12, 2026 15:10
@ivorbosloper ivorbosloper changed the title BE-VLG: campaigns 2018-2026, and an id that identifies a field BE-VLG: campaigns 2018-2026, and a real field id Sep 12, 2026
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
ivorbosloper merged commit 8f7b354 into main Sep 14, 2026
7 checks passed
@ivorbosloper
ivorbosloper deleted the split/be_vlg branch September 14, 2026 12:57
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.

2 participants