Skip to content
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

sample notebook fighting_california_forest_fires_using_spatial_analysis.ipynb updated to incorporate the new map widget #2141

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tarunkukreja003
Copy link
Collaborator

sample notebook fighting_california_forest_fires_using_spatial_analysis.ipynb updated to incorporate the new map widget

please use the playground portal account and api_data_owner account for creating the GIS object since the data is stored there

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@@ -30,7 +30,7 @@
},
Copy link
Contributor

@cariashuang0417 cariashuang0417 Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #3.        if webmap.content.layers[0].properties['name'].startswith('At_Risk_Infrastructure'):

if lyr.properties['name'].startswith('At_Risk_Infrastructure'):


Reply via ReviewNB

@@ -30,7 +30,7 @@
},
Copy link
Contributor

@cariashuang0417 cariashuang0417 Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #4.        if webmap.content.layers[0].properties['name'].startswith('At_Risk_Infrastructure'):

Same as above - if lyr.properties['name'].startswith('At_Risk_Infrastructure'):


Reply via ReviewNB

Copy link
Contributor

@cariashuang0417 cariashuang0417 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left comments for a little tweak in scripts. Overall looks good to me!

@@ -30,7 +30,7 @@
},
Copy link
Contributor

@nanaeaubry nanaeaubry Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Map doesn't take zoom as a parameter. You can move this to a cell below and do m.zoom = 9


Reply via ReviewNB

@@ -30,7 +30,7 @@
},
Copy link
Contributor

@nanaeaubry nanaeaubry Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here


Reply via ReviewNB

@@ -30,7 +30,7 @@
},
Copy link
Contributor

@nanaeaubry nanaeaubry Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto


Reply via ReviewNB

@@ -30,7 +30,7 @@
},
Copy link
Contributor

@nanaeaubry nanaeaubry Oct 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto


Reply via ReviewNB

Copy link
Contributor

@nanaeaubry nanaeaubry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small changes with zoom in the initializer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants