All Questions
617 questions
0
votes
0
answers
33
views
How can I make Spyder run files without a python extenstion?
Older versions of Spyder did not seem to have this problem but I'm currently running Spyder 6.0.6 and it does not let me run any files unless it has a recognized python extension. This is becoming an ...
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. ...
1
vote
2
answers
56
views
Importing GeoAccessor from ArcGIS python library fails
I'm trying to import the GeoAccessor class so I can use it to convert a pandas dataframe, but I get a message saying ImportError: cannot import name 'GeoAccessor' from 'arcgis.features'.
I have the ...
1
vote
1
answer
66
views
How to plot coordinates on a map object in Jupyter notebook?
I'm new to working with the ArcGIS library. I've looked over the ArcGIS 2.4.0 documentation but still confused on how to plot coordinates onto a base map.
I tried finding examples of implementing ...
0
votes
0
answers
27
views
Specifying Anaconda install in VSCode on Windows OS
I have two versions of conda installed. I have a default profile linked to ARcGIS conda. I have been using this conda installation until recently with VSCode. I installed another version of conda that ...
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
1
answer
41
views
Downloading Imagery Tiles from Amazon S3
So....NOAA used to host post-hurricane tiles in-house where they were really easy to download using a Python script and the appropriate tile index layer. Recently, NOAA has moved those imagery ...
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 ...
2
votes
1
answer
270
views
Simplify Polygon shapefile to reduce file size in python
I have a polygon shapefile which was vectorized from a raster layer (second image). This shapefile contains thousands of features with just one column which represent polygon level (ranging 1-5). The ...
0
votes
0
answers
43
views
Custom icon marker in cartopy map
Is there any way to import a custom image/icon in python to use as a marker for a point (based on latitude/longitude) instead of the standard markers such as "o", '^", etc.?
For example,...
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
1
answer
52
views
Appending Existing Feature Service using detect_objects ArcGIS API for Python
In the official documentation, detect_object said to be able to use existing Feature Service for the output_name variable.
output_name
Optional. If not provided, a FeatureLayer is created by the ...