-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
2.4.0 changes to safe_streets_to_schools sample #2168
base: master
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 |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:44Z Line #1. m1 = gis.map('Pasadena, California', 13) zoom level need to be set separately jyaistMap commented on 2024-11-22T23:39:40Z The zoom has to be performed after the map has been rendered. The code as is will draw the exact same widget if you were to run this code:
Please move the |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:44Z Line #1. m2 = gis.map('Pasadena, California', 13) same here, set zoom level separately jyaistMap commented on 2024-11-22T23:41:49Z Same issue as above. The map widget will not recognize a zoom level before it is rendered. It has to be rendered first and then the zoom can be applied. |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:45Z Line #1. m3 = gis.map('Pasadena, California', 13) same here, set zoom level separately |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:46Z Line #1. m4 = gis.map('Pasadena, California', 13) same here, set zoom level separately |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:46Z Line #1. uv cell output is missing |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:47Z Looks like the |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:48Z Line #1. m6 = gis.map('Pasadena, California', 13) same here, set zoom level separately |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:49Z Line #1. m7 = gis.map('Pasadena, California', 13) same here, set zoom level separately |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:50Z Line #1. m8 = gis.map('Pasadena, California', 13) same here, set zoom level separately |
View / edit / reply to this conversation on ReviewNB cariashuang0417 commented on 2024-11-20T07:19:50Z Line #1. m9 = gis.map('Pasadena, California', 13) same here, set zoom level separately |
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 updates @ManushiM ! Just left some comments (mostly the same) for zoom level tweaks. Overall looks good!
I am not 100% sure about the arcade expression, so will need help on double check this from @nanaeaubry . I've just tested the symbols and renderers locally and all looks good on maps. Great job Manushi, and I learned a lot from your changes in advanced mapping. 😃
@ManushiM Looks good, same comments as Shuang and the rendering looks correct. |
Thanks for the great feedback @cariashuang0417 and @nanaeaubry . I made the necessary changes. |
All looks good! 🥇 |
The zoom has to be performed after the map has been rendered. The code as is will draw the exact same widget if you were to run this code:
Please move the View entire conversation on ReviewNB |
Same issue as above. The map widget will not recognize a zoom level before it is rendered. It has to be rendered first and then the zoom can be applied. View entire conversation on ReviewNB |
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 @ManushiM
- all the map cells need changed because the zoom will not change the view of the map widget unless it's run after a map has been rendered. Maps appear the same no matter what zoom you set before being rendered:
- Please remove all the
mx.zoom = level
lines from the map cells and move them to a cell directly after the map has been rendered.
View / edit / reply to this conversation on ReviewNB jyaistMap commented on 2024-11-25T20:38:00Z Please remove the text after the word profile. |
@jyaistMap Thank you for the change recommendation for |
changes made
Also tested this against https://github.com/ArcGIS/geoserpent/pull/190 and it works smoothly.
refer to ArcGIS:geosaurus/12343
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.
import
s are in the first cell?arcgis
imports? 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.GIS
object 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.py
and/or./misc/teardown.py
?api_data_owner
user?api_data_owner
account 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 Learning
tool published on geosaurus org (api data owner account) and added in the notebook usinggis.content.get
function?gis.content.get
function? Note: This includes providing test raster and trained model.