-
Notifications
You must be signed in to change notification settings - Fork 59
Updated and organized ipynb examples directory for clarity #872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Integration tests report: appsharing.space |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mapninja, Thanks for starting this :)
I think this needs some rework as the original idea was to move the data files such as eq.geojson
, france_regions.gsojson
, geotiff-example.tif
in the examples/data/
directory but I see that we have also moved .jGIS
files (A .jGIS
file is the project file format for JupyterGIS.)
Hey Stace! Thanks for this! There are some overlapping changes between this PR and #878 . How should we think about how these 2 PRs are related? Does one depend on the other? I'm also curious about your thoughts on JGIS files living in the |
These 2 PRs are sequential, with one a continuation of the other. |
Cool! Which one is first?
This is actually not the case, you can directly double-click a .jGIS file :) |
872, then 878. |
Thanks, Stace! Is it OK if I push to this branch or are you actively working on this? |
Stuff I'd like to push: mfisher87@ae85779 |
go for it |
Pushed! What do you think? |
It's taking a bit of time for me to get through all the new stuff on GitHub, my apologies! |
I got the examples files to copy into the JupyterLite docs deployment about as well as I think I possibly can. The jupyterlite/jupyterlite-sphinx#309 |
bot please update snapshots |
bot please update snapshots pretty pretty please |
Hooray! Anything is possible if one asks nicely 😆 Let's see if those integration tests pass... |
Looks like we need one more go-around with the bot... |
- Created new JGIS files: shapefile.jGIS, test.jGIS, and world.jGIS with various layers and sources. - Added Jupyter notebooks for creating a new JGIS document, exploring data in a map, and opening existing JGIS projects. - Implemented vector styling examples and added raster and GeoJSON layers to demonstrate usage of the JupyterGIS API. - Enhanced documentation with markdown cells to provide context and instructions for users.
for more information, see https://pre-commit.ci
The globstar doesn't work how I expected! <jupyterlite/jupyterlite-sphinx#307>
The contents of `examples/` should be directly visible at the root of the filesystem in the Lite deployment, not inside an `examples/` directory.
Use symlinks to any files that also exist in `examples/` and `cp --dereference` when copying into the JupyterLite deployment
bot please update snapshots again pretty please 🙇 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
Thanks @mapninja @mfisher87
@mfisher87 I see you struggled with the bot 😬 Sorry! I don't know if this is what happened exactly, but the bot needs to run after the |
Yeah, I figured this out the hard way! We could use some docs on this :) |
Looks great. +1 on the decision to put the JGIS files back in /examples/. WIth the numbering on the ipynb files, it's not nearly as messy as I imagined. I'll work more on fleshing out the notebooks with supporting text, next week when I have time, if you think that is useful. |
@mapninja Absolutely useful! Thank you! And I think we could also use numbering on the .jGIS files if we want to interleave notebooks and jGIS project files in the examples. E.g. |
Resolves Issue #783
Description
Checklist
Resolves #XXX
.Failing lint checks can be resolved with:
pre-commit run --all-files
jlpm run lint
📚 Documentation preview: https://jupytergis--872.org.readthedocs.build/en/872/
💡 JupyterLite preview: https://jupytergis--872.org.readthedocs.build/en/872/lite