Skip to main content

Questions tagged [arcgis-notebook]

Use for questions about ArcGIS Notebooks (which are built on top of the Jupyter Notebook)

Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

Python notebook causing ArcGIS Pro to crash

On my laptop are student licenses to ArcGIS Pro 3.2, ENVI 6.0 and Agisoft Metashape 2.0.3. I'm in an intro to GIS programming class and when I try to open a Python notebook in ArcGIS Pro (from the ...
Sully's user avatar
  • 1
0 votes
1 answer
43 views

Convert .tif to imagery layer

I'm trying to run this notebook in ArcGIS Pro: https://developers.arcgis.com/python/samples/count-cars-in-aerial-imagery-using-deep-learning/#:~:text=imagery%20%3D%20gis.content.search(%22aerial*%22) ...
Freestyle Season's user avatar
0 votes
1 answer
60 views

Re-writing FeatureLayer to memory causes ArcGIS Pro to Crash [closed]

I am working with Jupyter notebooks in ArcGIS Pro and would like to write some Feature layers to memory to speed up my operation. Currently it is taking roughly 24 hours. I have to emphasize it is ...
CCurtis's user avatar
  • 103
0 votes
1 answer
58 views

Hosted layer in ArcGIS not getting updated

I'm encountering a peculiar issue while trying to add records to a Hosted Layer in ArcGIS using Python. I am using ArcGIS Pro 3.1.3 with ArcGIS Enterprise 11.1. I am running this code from the Jupyter ...
Mir Muhammad Murtaza's user avatar
0 votes
1 answer
56 views

ArcGIS Pro Stops working after running a script on ArcGIS Notebook and generates error after a long pause

I was trying to perform Downscaling a Prediction Model Using ArcGIS Notebooks and ArcGIS Pro using the datasets provided by ArcGIS Lab and their instructions from this mannual. The provided code is: ...
Sakib Rahman Siddique Shuvo's user avatar
0 votes
1 answer
145 views

ArcGIS Python API (gis.user.search)

Every time I run this code with a wild card (max_users = '*') or >140 I get this error JSONDecodeError: Expecting value: line 1 column 1 (char 0). But are <140 value it works fine not just all ...
Godofsix's user avatar
1 vote
0 answers
111 views

Bypassing KeyError: 'type' when running a ArcGIS Online Python Notebook meant to overwrite organizational CSV

I have a scheduled organizational script that is only meant to be run during the summer and is left dormant for the winter as the data it scrapes is not maintained at that time. The reason I am ...
gecco15's user avatar
  • 11
0 votes
0 answers
53 views

Using Python IDLE with Notebooks

I've written a script in Python IDLE and in Notebook, both accesed within ArcGIS Pro, v2.9.5, umbrella in Start. I was trying to add the code from the Notebook into the IDLE script and was getting ...
Mark Hammond's user avatar
1 vote
1 answer
212 views

How to reverse the color scheme for a preset color ramp using ArcPy inside of ArcGIS Pro (by changing the class breaks)

I have a Jupyter Notebook in my ArcGIS Pro project which changes the symbology of my map layer. In this script I manually set the class breaks using the classBreakValues variable which works as long ...
Bojan Milinic's user avatar
1 vote
1 answer
77 views

Performing analysis with sDNA toolbox using ArcGIS Notebook

I am trying to perform 'arcpy.Spatial Design Network Analysis.sDNAPrepare' command using ArcGIS Notebook on ArcGIS Pro (ver. 2.7.1). However, I have failed to run the command. What is the problem and ...
Villanelle LEE's user avatar
1 vote
2 answers
104 views

ArcGIS Jupyter Notebooks - calling the attribute Id

I am looking to list field properties and I can't seem to find the parameter that will call the attribute id for the layer. What properties can you call? Examples: ['name'] ['alias'] What I am ...
Gwen Zarko's user avatar
1 vote
1 answer
515 views

Unable to open ArcGIS Pro notebook from cloned active environment

I have been working in ArcGIS Pro Notebooks from my default active environment (arcgispro-py3). I wanted to install a new package in this environment, but once in the package manager I have the ...
Scott Z's user avatar
  • 141
0 votes
1 answer
156 views

Where is what I'm editing?

I'm trying to find a way to access the path of the notebook file (.ipynb) that I'm currently editing, in a way that would work either in ArcGIS Pro or in an external IDE like Jupyter or VS-code. What ...
spedunkler's user avatar
0 votes
0 answers
156 views

Edit attribute tables with another table in ArcGIS Pro using ArcPy

I have two tables and I need to update one based on the other. For this, I need to take two columns (idscap and spardcode) as the initial reference value and thus modify all the columns of the table. ...
Andrea Quintero's user avatar
1 vote
0 answers
408 views

Export Feature Layer Data from ArcGIS Online with Python

Is it possible to export data from a feature layer in ArcGIS using either ArcPy or an ArcGIS Notebook? I'm trying to find a way to automate exports of data collected by field workers using Field Maps ...
Chad Leftwich's user avatar
0 votes
0 answers
50 views

Applying GraduatedColorsRenderer based on classification field values in ArcPy

import arcpy import pandas as pd data = arcpy.ListFields(r"C:\Users\Administrator\Documents\ArcGIS\Projects\Oakville\Oakville.gdb\Etobicoke") path = r"C:\Users\Administrator\Documents\...
Charan's user avatar
  • 1
1 vote
1 answer
79 views

out_field in ArcGIS Python API returning unwanted fields

I am trying to output ONLY the Name Field in sdf using ArcGIS Python API and Notebook like thia query = layer.query(where="POP2010 > 1000000", out_fields='NAME') query.sdf But I am ...
Suffii's user avatar
  • 588
0 votes
1 answer
109 views

Randomly select points in a feature layer

Context: I'm working on AGOL notebooks I have a feature layer (points). So, I'd like to randomly select several points based on the value in one of the columns ('level_' column). For instance, I'd ...
MVAC's user avatar
  • 3
1 vote
1 answer
3k views

Using ArcPy with ArcGIS Pro to zoom to features and export PDF [duplicate]

I've got a map containing several layers, and a layout set up that uses this map. What I'd like to do is set up a script so that, when the user inputs a "block" (integer) and a map layout (...
user25730's user avatar
  • 904
0 votes
0 answers
257 views

Creating polygons in ArcGIS Pro based on Survey123 (possibly automated with Notebooks?)

I am by no means a professional when it comes to using GIS. I am taking an elective in college, doing a project of my own choosing in GIS. This question relates to ArcGIS Pro, Survey123 and Notebooks. ...
Patrick Grahl's user avatar
2 votes
0 answers
337 views

ArcGIS API for Python: AttributeError: module 'brotli' has no attribute 'error'

from arcgis.gis import GIS when run in ArcGIS Pro 2.6 notebook results in long error message (below). What might be wrong? Note that import arcpy works without difficulties. --------------------------...
Estiivan's user avatar
  • 397
1 vote
1 answer
908 views

Unable to load ArcGIS Pro Notebook from UNC Path

I am trying to open an ArcGIS Pro Python Notebook I wrote on my remote desktop now that I'm back in the office and somehow my UNC Path is not recognized in my script. I am able to see the .ipynb file ...
M-Alta's user avatar
  • 11
0 votes
1 answer
324 views

ArcGIS Pro: where does arcpy reference map order?

Problem: In an ArcGIS Pro 2.8 Notebook, how is python reading the map order? I have to know this because when I use a list the items in that list are based off the order of the maps. When that order ...
Pfalbaum's user avatar
  • 911
0 votes
2 answers
160 views

Creating proportional symbology on layer in Notebook using ArcGIS Pro

I am using an ArcGIS Notebook with ArcGIS Pro. I am able to set graduate colors to my layers symbology. Although there is no renderer for proportional symbology. Is there any way to do that? aprx = ...
TurnGISon's user avatar
1 vote
2 answers
2k views

Jupyter Notebook fails to launch in ArcGIS Pro 2.8

Since upgrading to ArcGIS Pro 2.8 from 2.6, I am facing an issue with the Jupyter Notebook that fails to load and returns an error: Failed to Load Notebook What all I have tried: Tried opening the ...
Yogesh Chavan's user avatar
0 votes
0 answers
249 views

Cannot import seaborn [WinError 126] The specified module could not be found

I am trying to import seaborn in my notebook [part of ArcGIS Pro] and I get [WinError 126] The specified module could not be found error. -----------------------------------------------------------...
sMartines's user avatar
  • 121
0 votes
0 answers
137 views

Output IN_MEMORY for arcpy.analysis.Split()

I am using the arcpy module within the Jupyter Notebook to automate a sequence of ArcGIS tools. Most of the outputs I use are "in_memory", only the tool "arcpy.analysis.Split()" ...
tyssondocarmo's user avatar
1 vote
1 answer
524 views

Scheduled/emailed reports using ArcGIS Notebook Server?

Is it possible to send scheduled/emailed reports via ArcGIS Notebook Server scheduled tasks? An example of a scheduled report would be: The report/task runs weekly Emailed to a list of recipients (...
User1974's user avatar
  • 1,172
1 vote
1 answer
501 views

Esri Notebook - Select and append records to table

Using Notebook editor in ArcGIS Online i want to extract from a FC table, those records with a specific data and then insert them into a separate table. I am trying the code below, but getting an &...
BretW's user avatar
  • 479
0 votes
1 answer
149 views

Displaying 2 rasters side by side in ArcGIS Pro Notebook

I have drone imagery that I am performing various processes through a notebook. One thing I would like to do is display the RGB imagery next to a single band plant height raster for visual comparison ...
Ryan 's user avatar
  • 21
0 votes
1 answer
606 views

Trying to Export SDF to CSV and save locally using ArcGIS Notebook

from IPython.display import display from arcgis.features import feature from arcgis.geoprocessing import import_toolbox import pandas as pd gis = GIS("https://arcgis.com/","username&...
Steven Kenny's user avatar
1 vote
1 answer
971 views

Creating new Python Script tool with ArcGIS Notebooks

I am trying to create a new tool in ArcGIS Pro that is based on a python script written in the Jupyter Notebook interface. I realize I can write the script elsewhere and save it as a *.py file and ...
anner.paldor's user avatar
3 votes
1 answer
57 views

Area calculation in "Thomas Fire analysis"

I am studying this notebook: California wildfires 2017 - Thomas Fire analysis I can follow the first part of the notebook. But I have got confused in this cell to calculate the burnt area: ext = {&...
dgg32's user avatar
  • 155
0 votes
1 answer
534 views

Search Cursor cannot access hosted table in ArcGIS Online using Notebooks

I am receive a Runtime Error when using a Search Cursor on a hosted Table in ArcGIS Online and I cannot figure out why. I am using an AGOL Notebook. The message is that it cannot access the Table. ...
axman's user avatar
  • 1
1 vote
1 answer
122 views

ArcPy syntax for nested Con statement

I am trying to convert a process usually used in ArcGIS Tools to arcpy in a Jupyter notebook. I have a very long Con statement that basically takes all the values of 10 rasters and adds them together....
ChristineF's user avatar
-1 votes
1 answer
223 views

HTTP GET request to ArcGIS Notebook Server

In an external system, I want to make an HTTP GET request —to— ArcGIS Notebooks for Server. In ArcGIS Notebooks for Server, I would have a Python function that would process the request and return a ...
User1974's user avatar
  • 1,172
1 vote
1 answer
766 views

Adding query layer to MapView in Jupyter Notebook returns "RuntimeError: Cannot infer layer: will not be added to map"

I am working within a Jupyter notebook, trying to display a query layer (querying a SQL database) into a map view within the notebook. I receive a Runtime Error (described below) when I try to add ...
ycartwhelen's user avatar
  • 2,417
1 vote
0 answers
768 views

Fixing ArcGIS Pro crash with opening notebooks after installing Anaconda

I have had problems with opening notebooks in ArcGIS Pro 2.5 since installing 64-bit Anaconda 3 on my PC (Windows 10 OS). When I create a project in ArcGIS Pro and try to open a notebook within ...
julianas's user avatar
1 vote
0 answers
347 views

Feature Class to Feature Class error: 999999 (ArcGIS Pro 2.5)

I've tried this with the new ArcGIS Pro 2.5 Python Notebook and the Python compiler from within Pro. I have about 15 layers that I'm reading in from a couple different external servers. I can read in ...
Dave's user avatar
  • 553
0 votes
1 answer
310 views

How to visualize route layer on ArcPy Jupyter Notebook (ArcGIS)

I tried to visualize the route between two points using ArcPy in a Jupyter notebook. The network module is activated in my Esri account. Even though it visualizes the map I can't see the route on that ...
GeoJ's user avatar
  • 25
0 votes
1 answer
921 views

Getting KeyError: groups from ArcGIS API for Python

I am working on ArcGIS Notebooks from arcgis.gis import GIS from IPython.display import display agol_gis = GIS("https://*********.maps.arcgis.com/home/") agolSiteAdmin = agol_gis.users.get('siteadmin'...
user4906240's user avatar
  • 1,078