Extend caching for image, geoJSON & shapeFiles#339
Merged
martinRenou merged 19 commits intogeojupyter:mainfrom Jan 23, 2025
Merged
Extend caching for image, geoJSON & shapeFiles#339martinRenou merged 19 commits intogeojupyter:mainfrom
martinRenou merged 19 commits intogeojupyter:mainfrom
Conversation
Contributor
Contributor
|
Integration tests report: appsharing.space |
martinRenou
reviewed
Jan 16, 2025
martinRenou
reviewed
Jan 23, 2025
Member
martinRenou
left a comment
There was a problem hiding this comment.
Thanks! Tiny nitpicking comments
abc6407 to
e4dfcf8
Compare
martinRenou
reviewed
Jan 23, 2025
Co-authored-by: martinRenou <martin.renou@gmail.com>
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>
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.
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
Resolves #XXX.Failing lint checks can be resolved with:
pre-commit run --all-filesjlpm run lint📚 Documentation preview: https://jupytergis--339.org.readthedocs.build/en/339/
💡 JupyterLite preview is available from the doc, by clicking on