-
Notifications
You must be signed in to change notification settings - Fork 1.1k
cloning and editing storymaps guide 2/4 #2441
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
base: next
Are you sure you want to change the base?
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
| @@ -0,0 +1,1002 @@ | |||
| { | |||
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 would underline the words 'same organization' at the end so users don't miss that nuance.
Reply via ReviewNB
| @@ -0,0 +1,1002 @@ | |||
| { | |||
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.
'''
On the other hand, if you wish to clone this story while also cloning the deep dependencies (e.g., maps, layers, tables) from the original story, you may want to use you need to use the clone_items() method of the ArcGIS API for Python. which is beneficial to clone any and all ArcGIS items.
'''
You can maybe add a link to the clone items guide or method for users to read more about it in depth but I would keep the workflow straightforward here
Reply via ReviewNB
| @@ -0,0 +1,1002 @@ | |||
| { | |||
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.
... has successfully cloned both the StoryMap and the WebMap items into the specified organization.
Or some other wording but saying where it got cloned helps users follow the tread. Or say from the organization where my storymap it to the target organization. Maybe work with John or Noah on wording to be clear.
Reply via ReviewNB
| @@ -0,0 +1,1002 @@ | |||
| { | |||
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 would just show this. I wouldn't show clone_items twice since it might confuse users
Reply via ReviewNB
| @@ -0,0 +1,1002 @@ | |||
| { | |||
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 can be particularly useful when you have a template Storymap for a certain region and you want to clone it to retain the structure and layout but only update the text or maps or media within the story.
Reply via ReviewNB
| @@ -0,0 +1,1002 @@ | |||
| { | |||
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.
Add a comment here about how none of the changes will be reflected unless you save!
Reply via ReviewNB
| @@ -0,0 +1,1002 @@ | |||
| { | |||
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.
Since you did not use storymap Map before I would add a text about how we imported the storymap module at the beginning and we can access various content classes to create new content for our Stroymap, such as a Map.
I know you mentioned a guide about creating content but putting that bit of info here without having to deeply explain content is a good addition. Otherwise we have code without any guidance. Or even better, repeat about the content guide and tell them to look at it for more information about creating and adding content.
Reply via ReviewNB
nanaeaubry
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.
Left comments in notebook
This guide covers concepts of cloning a storymap (
duplicate()andclone_items()), editing several aspects and then copying the content over to another existing storymap item.Closes https://github.com/ArcGIS/geosaurus/issues/12370
Checklist
Please go through each entry in the below checklist and mark an 'X' if that condition has been met. Every entry should be marked with an 'X' to be get the Pull Request approved.
imports are in the first cell?arcgisimports? Note that in some cases, for samples, it is a good idea to keep the imports next to where they are used, particularly for uncommonly used features that we want to highlight.GISobject instantiations are one of the following?gis = GIS()gis = GIS('home')orgis = GIS('pro')gis = GIS(profile="your_online_portal")gis = GIS(profile="your_enterprise_portal")./misc/setup.pyand/or./misc/teardown.py?api_data_owneruser?api_data_owneraccount and change the notebook to first download and unpack the files.<img src="base64str_here">instead of<img src="https://some.url">? All map widgets contain a static image preview? (Callmapview_inst.take_screenshot()to do so)os.path.join()? (Instead ofr"\foo\bar",os.path.join(os.path.sep, "foo", "bar"), etc.)Export Training Data Using Deep Learningtool published on geosaurus org (api data owner account) and added in the notebook usinggis.content.getfunction?gis.content.getfunction? Note: This includes providing test raster and trained model.