Skip to content

Extend caching for image, geoJSON & shapeFiles#339

Merged
martinRenou merged 19 commits intogeojupyter:mainfrom
arjxn-py:extend-caching
Jan 23, 2025
Merged

Extend caching for image, geoJSON & shapeFiles#339
martinRenou merged 19 commits intogeojupyter:mainfrom
arjxn-py:extend-caching

Conversation

@arjxn-py
Copy link
Member

@arjxn-py arjxn-py commented Jan 15, 2025

Description

Create abstracted methods to load and save cache and use it across supported data sources
Caching logic has originally been introduced in #262 thanks to @Meriem-BenIsmail

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--339.org.readthedocs.build/en/339/
💡 JupyterLite preview is available from the doc, by clicking on lite badge

@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch arjxn-py/jupytergis/extend-caching

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2025

Integration tests report: appsharing.space

@martinRenou martinRenou added the enhancement New feature or request label Jan 16, 2025
@arjxn-py arjxn-py requested a review from martinRenou January 21, 2025 12:16
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

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

Thanks! Tiny nitpicking comments

arjxn-py and others added 2 commits January 23, 2025 15:46
Co-authored-by: martinRenou <martin.renou@gmail.com>
@arjxn-py arjxn-py requested a review from martinRenou January 23, 2025 10:28
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

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

Thanks!

@martinRenou martinRenou merged commit 9d8b6cd into geojupyter:main Jan 23, 2025
14 checks passed
@arjxn-py arjxn-py deleted the extend-caching branch March 16, 2025 13:06
HaudinFlorence pushed a commit to HaudinFlorence/jupytergis that referenced this pull request Jan 28, 2026
* Caching extended for imageSource

* Make caching work for shapefiles

* Works for geojson too

* use abstracted methods for geotiff too

* lint

* merge image path validation logic from geojupyter#362

* don't use caching logic on image

* lint

* refactor to straightup cache geojson

* Remove wrappers, cache any file type

* Update packages/base/src/tools.ts

Co-authored-by: martinRenou <martin.renou@gmail.com>

* lint

---------

Co-authored-by: martinRenou <martin.renou@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants