-
Notifications
You must be signed in to change notification settings - Fork 64
Add explore() function and GISDocument.sidecar() method
#340
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 |
9103433 to
5b96097
Compare
|
FYI @mfisher87 #419 has been merged, you can probably revive or remake this PR. |
|
Awesome work @brichet !! I hope to have some time to play with this tomorrow. |
8cd5bbc to
fe74cbf
Compare
1840aff to
829c307
Compare
3ad817a to
12fae9c
Compare
12fae9c to
44f805a
Compare
| """ | ||
| return self._layerTree.to_py() | ||
|
|
||
| def save_as(self, path: str | Path) -> None: |
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.
This copies the document, whereas a "save as" operation would also change the current working document to alter the new file. We don't have the comms setup to do this yet. Restored the export_to_qgis public API function for now as well.
|
BUG: The layers list is empty even when the sidecar is focused. I need to load a .jGIS file or open a notebook widget to populate the layers list, then focus back to the sidecar, and then it works. |
|
All, we gave an internal demo of this feature today, and @fperez was over the moon to see it in action, even at this early stage. Couldn't have shown it today without your support. It will be even more impressive when we show it at the conference in a couple weeks :) Thank you!! ❤️ |
|
Indeed, while there's still work to do, this is already very impressive progress!! Thanks team and congrats!!! 🚀🎉 |
|
Hey @mfisher87 I extracted the CSS fix on output views in #643, so that it can be merged independently, cherry-picking your commit. |
Co-authored-by: Nicolas Brichet <[email protected]>
29e7b31 to
b47a01e
Compare
explore() function and GISDocument.sidecar() methodexplore() function and GISDocument.sidecar() method
|
All, |
|
https://jupytergis--340.org.readthedocs.build/en/340/lite/lab/ Oof. I'm not sure what's up here; jupyter-collaboration v4 is out which eliminates the RTC prefix, but we are pinned to <4. |
docs/environment-docs.yml
Outdated
| # See: https://github.com/geojupyter/jupytergis/issues/585 | ||
| - ../python/jupytergis_core | ||
| - ../python/jupytergis_lab | ||
| - ../python/jupytergis |
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.
I believe this is the culprit for the failure in the docs. We can't have jupytergis installed in the lite deployment of the docs.
It needs to be jupytergis_lite or nothing.
brichet
left a comment
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.
Thanks for working on this @mfisher87 .
I added a few comments below.
geojupyter#340 (comment) Co-authored-by: martinRenou <[email protected]> Co-authored-by: Nicolas Brichet <[email protected]>
66c3cd6 to
b84c701
Compare
Co-authored-by: Nicolas Brichet <[email protected]>
b84c701 to
1503af3
Compare
Co-authored-by: Nicolas Brichet <[email protected]>
Co-authored-by: martinRenou <[email protected]> Co-authored-by: Nicolas Brichet <[email protected]>
|
The Lite tests are still timing out 😖 |
|
@mfisher87 I tried the lite deployment in the docs, it looks like the import fails with: I assume this is the reason for the timeout (waiting for the map that never shows up in the notebook cell output because of the import error) I believe it's due to jupyterlite-xeus installing pip dependencies with Also, we should export |
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.
I took the liberty to make the last remaining changes to get the lite deployment to work, I hope you don't mind! Thanks 🚀
Not at all, that's greatly appreciated 🙇 |
| __version__ = "0.4.4" | ||
|
|
||
| from jupytergis_lab import GISDocument # noqa | ||
| from jupytergis_lab import GISDocument, explore # noqa |
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.
Ahh, didn't know this was needed, thanks so much 🙇



Description
Implemens the 💃 GIS Bounce 🕺 in JupyterGIS.
This is a streamlined version of the QGIS Bounce workflow.
jupytergis-explore-demo.mp4
Exploring a dataframe (example notebook) is just one line of code (excluding imports, of course 😉):
This opens a side panel with JupyterGIS displaying the data with a basemap.
Still TODO, and I don't have time today:
Checklist
Resolves #XXX.Failing lint checks can be resolved with:
pre-commit run --all-filesjlpm run lint📚 Documentation preview: https://jupytergis--340.org.readthedocs.build/en/340/
💡 JupyterLite preview is available from the doc, by clicking on