added simple tutorial to introduce the jupyterGIS GUI.#393
added simple tutorial to introduce the jupyterGIS GUI.#393martinRenou merged 30 commits intogeojupyter:mainfrom
Conversation
|
Integration tests report: appsharing.space |
Co-authored-by: martinRenou <martin.renou@gmail.com>
|
Ok. I think I implemented all the requested changes and tried to fix all the checks but 2 are failing and I don't understand why. |
martinRenou
left a comment
There was a problem hiding this comment.
LGTM!
Ok. I think I implemented all the requested changes and tried to fix all the checks but 2 are failing and I don't understand why.
The two failures are unrelated see #404 and #394
@mfisher87 would you like to give a look at this PR before we merge?
to make sure we have dropdown for exercise solutions
mfisher87
left a comment
There was a problem hiding this comment.
Awesome work! Hope you don't mind my large number of comments. Tutorials are really hard, thank you so much for taking this on! Feel free to ignore any nitpick you disagree with.
|
|
||
| We will explore the JupyterGIS user interface to help you become familiar with its menus, toolbars, map canvas, and layers list, which make up the core structure of the interface. | ||
|
|
||
| **The objective of this lesson is to understand the fundamentals of the JupyterGIS user interface.** |
There was a problem hiding this comment.
Love this. Nitpick: Maybe we could use an admonition with the custom title "Lesson goal" instead of a bolded paragraph?
docs/tutorials/intro.md
Outdated
|
|
||
| 1. The application Launcher helps you to select which application you want to start e.g. a Notebook, a Console, and another application such as a Terminal or open a GIS file (which can be either a JupyterGIS file or a QGIS file). | ||
| 2. GIS Layers List / Browser Panel | ||
| 3. Left Sidebar which contains a file browser, a list of tabs in the main work and of running kernels and terminals, the command palette, the table of contents, the extension manager, and the JupyterGIS extension which allows you to see the GIS layers list. |
There was a problem hiding this comment.
This would require editing the image, so I apologize, but what about reversing the order of 2 and 3? 3 currently explains that the GIS layers list in 2 is enabled because of the selected tab in 3, and it feels like that information should be given first.
| The order in which the layers have been loaded into the map is probably not logical at this stage. It’s possible that the road layer or/and the country layer are completely hidden because other layers are on top of it. | ||
|
|
||
| For example, this layer order: | ||
|  |
There was a problem hiding this comment.
I think we should only show layers in this screenshot, not sources. It's a bit confusing!
docs/tutorials/intro.md
Outdated
| :label: Rename-layer | ||
| ``` | ||
|
|
||
| - Rename each **Custom Shapefile Layer** with a meaningful name e.g., **cb_2015_us_county_500k** for the US County Shapefile Layer and **nyc_roads** for the roads in New-York. |
There was a problem hiding this comment.
Layer names can have spaces in them, so I feel it would be valuable to write these as more human-readable names, like "NYC roads" and "US counties" instead of naming them after the input files. It might be useful to demonstrate renaming the sources to match the input file names!
docs/tutorials/intro.md
Outdated
|
|
||
| Welcome to the first tutorial in the JupyterGIS series! This guide will introduce you to the basics of JupyterGIS and help you set up your environment, create your first map, and understand its key features. | ||
|
|
||
| ## Objectives |
There was a problem hiding this comment.
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
remove text from image but keep arrow add arrow to image JupyterGIS GUI with new numbering as requested
for more information, see https://pre-commit.ci
|
@mfisher87 Thanks for your detailed review. It is very helpful. I tried to implement all your suggestions, but please do not hesitate to provide any further feedback. |
mfisher87
left a comment
There was a problem hiding this comment.
This looks so good! Amazing work, Anne!!!
| :class: warning | ||
| Did you notice in the figures above that in the list of sources, the source for 'US Counties' appears before the source for 'OpenStreetMap.Mapmik'? In contrast, you can see the reverse order in the list of Layers. | ||
| The reason is that sources are ordered alphabetically, while layers are ordered based on the order in which they are added, with the top layer being the most recently added to your map. | ||
| ::: |
Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com>
|
The integration test failure is not one I've seen before. Previously it was a snapshot difference, but now: |
martinRenou
left a comment
There was a problem hiding this comment.
Discarding visual regression tests for now. I believe the export test is not passing but it's definitely not this PR. Thanks a ton Anne!
|
Awesome work, @annefou !! |
* added simple tutorial * ran pre-commit to fix issues * jlpm run lint * bug fix wrong quote was used. Co-authored-by: martinRenou <martin.renou@gmail.com> * fix colon_fence and add missing images * fix typo * add sphinx extension in environment-docs.yml * fix typo in env for docs * add sphinx extension in build.yml too * add missing sphinx-togglebutton package to make sure we have dropdown for exercise solutions * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * implement requested changes remove text from image but keep arrow add arrow to image JupyterGIS GUI with new numbering as requested * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * introduce rename layers early in the tutorial * introduce renaming of layers/sources early * fix failure with jlpm run lint * Update docs/tutorials/intro.md Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> * add prerequisites at the top --------- Co-authored-by: martinRenou <martin.renou@gmail.com> Co-authored-by: Matt Fisher <3608264+mfisher87@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
Resolves #313 e.g. added a simple tutorial to show how to use jupytergis with the GUI.
I added the tutorial (as discussed in #313) but I used markdown. Let me know if it is an issue. Also I noticed that some formatting do not work here (for instance {admonition}). Do you have any suggestions to fix these issues. Thanks!
Checklist
Resolves #XXX.Failing lint checks can be resolved with:
pre-commit run --all-filesjlpm run lint📚 Documentation preview: https://jupytergis--393.org.readthedocs.build/en/393/
💡 JupyterLite preview: https://jupytergis--393.org.readthedocs.build/en/393/lite