Skip to content

NZ: both editions, from manually downloaded files - #253

Closed
ivorbosloper wants to merge 1 commit into
mainfrom
split/nz
Closed

ivorbosloper wants to merge 1 commit into
mainfrom
split/nz

Conversation

@ivorbosloper

@ivorbosloper ivorbosloper commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Koordinates requires a login, so the archives cannot be fetched by the converter: 2017 and 2020 are variants that resolve their file from the cache folder, which is where a manual download lands.

Koordinates requires a login, so the archives cannot be fetched by the
converter. Both editions are variants that resolve their file from the cache
folder, which is where a manual download lands.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVx9uQV2QPM8ecPAY3ZjXG
Comment thread fiboa_cli/datasets/nz.py
Comment on lines +11 to +16
data_access = """
Download manually (Koordinates login required) and place the zip in the cache folder:
- 2020: https://data.mfe.govt.nz/layer/105407-irrigated-land-area-raw-2020-update/ (mfe-irrigated-land-area-raw-2020-update-SHP.zip)
- 2017: https://data.mfe.govt.nz/layer/90838-irrigated-land-area-2017/ (mfe-irrigated-land-area-2017-SHP.zip)
Alternatively pass the zip with the `-i` CLI parameter.
"""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should generally go via the -i parameter and not expose this cache folder workaround.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I will close this PR

@ivorbosloper

Copy link
Copy Markdown
Collaborator Author

Keep manual download fed with -i, don't rely on prefilled cache dirs

@m-mohr
m-mohr deleted the split/nz branch September 16, 2026 14:36
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