All Questions
209 questions
0
votes
0
answers
25
views
Arcgis layer does not render until I wiggle the mouse
I ran a script in Arc Pro which edits a lot of layer fields, labels, and symbology, from a lyrx. It tries to save the layout to a PDF but it turns out blank because the layer does not render until I ...
0
votes
0
answers
20
views
How do I label unique polygon values in arcpy and store their colors?
I have a polygon layer with 10 features with unique IDs. I want to color them deterministically based on this unique ID values field and store the RGB values of their colors, like in a dictionary. ...
0
votes
0
answers
54
views
Using parameter in ReMap for reclassify tool in ArcGIS Pro
I am trying to reclassify a raster in ArcGIS Pro that will reclassify a text type field into a number that is entered in the tool. The number will be between -1 and -0.009. I also want areas that have ...
0
votes
0
answers
40
views
Unable to include legend in KMZ when using ArcGIS Pro MapToKML tool
I've followed the instructions on the MapToKML tool page(https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/map-to-kml.htm), but I'm having no luck with including a legend overlay when ...
1
vote
0
answers
34
views
Conflicts loading ArcPy and arcgisbinding packages simultaneously
After working fine for the last couple of months I have encoutered a problem when loading the ArcPy and arcgisbinding packages in R simultaneously.
The inital error message was returned when I ran ...
0
votes
0
answers
84
views
using python to update data source but keep symbology in Arc Pro
I would like to update the data source of a few layers in a GDB regularly but keep the symbology.
The symbology itself is done with unique symbols and Arcade. The Arcade is using a field that is ...
0
votes
2
answers
57
views
ValueError: not enough values to unpack (expected 4, got 3), gps time to UTC
Trying to convert GPS times to a date and time of day in UTC. Inputs are space separated stream of x y seconds and output is a stream of x y z date time
This was designed to work with lidar data and ...
1
vote
0
answers
36
views
Relative Imports of Local Modules in ArcPro (3.2+) Python Script Tool from .atbx Toolbox
I have a library and associated ArcGIS Toolbox set up such that:
/root
├── Toolbox.atbx
├── mylib
│ └── my_function.py
├── my_tools
│ └── my_gp_script.py
I keep my development clone of the code ...
0
votes
1
answer
51
views
assign rank and maintain sequence across duplicates
I'm assigning an incremental rank based on a value, but need to assign the same rank to duplicate values and maintain the overall sequence.
Instead of this:
Value
Rank
400
1
500
2
175
3
250
4
120
5
...
0
votes
1
answer
146
views
Timeout Error - Python script to update AGOL attributes
I'm trying to build a python script that will update attributes on feature layers on AGOL, end goal would be to have scheduled tasks to update the attributes nightly (without effecting geometry). My ...
0
votes
1
answer
176
views
Understanding ArcPy's MakeFeatureLayer in order to edit data of a FeatureClass in ArcGIS Pro with a standalone script in VS Studio
I'm pretty new in ArcGIS and Arcpy, but experienced in Python. At the moment, I am working on an existing Python-Code in VS Studio (not my Code). I have some trouble understanding ArcPy's ...
0
votes
1
answer
35
views
Arcpy- How do I add a list of data onto a boundary
I have created code that averages the yearly data and creates a list of lists, like so:
[['1988', 0.09680851063829785, 1.2444680851063827], ['1989', 0.2046808510638298, 1.0231914893617025]]
I want to ...
1
vote
1
answer
283
views
ArcGIS REST Map Services Data Query using geometry in Python
I am attempting to access ArcGIS Map Services and query a dataset to only return records that intersect the boundary of a custom geometry I created. I have queried and downloaded data before using ...
0
votes
0
answers
70
views
Error in ArcPro's Fill Missing Values Tool using arcpy in Python
Fill Missing Values Tool runs perfectly fine in ArcPro, but when attempting to do the same in Python using arcpy module, it returns an error. The error message indicates a problem within the internal ...
0
votes
1
answer
204
views
Arcpy can't list rasters from a folder full of them
I need to write a Arcpy code for a final project for a class.
I'm trying to run a script to list the rasters in a folder, add them to a GDB, clip them using a shapefile, and run the clipped rasters ...