Questions tagged [arcgis-pro]
Use when your question is about one of the versions of the ArcGIS Pro application of ArcGIS Desktop
147
questions
10
votes
5
answers
16k
views
Counting overlapping polygons from one Shapefile using ArcGIS Desktop
I have a shapefile with 16,400 polygons. Each polygon shows the expansion of a bird species for the whole world.
Now I have to count the overlapping polygons. I tried it with union and dissolve (...
7
votes
1
answer
3k
views
Creating parallel line in ArcGIS Pro using ArcPy?
I want to create offset/parallel lines for my centre lines (over 12000 polylines) in different distance for each class number(i have numbers in column) and with the same line direction as centre line. ...
7
votes
2
answers
21k
views
Adding feature class to Map in CURRENT project using ArcPy in ArcGIS Pro
I want to add a feature class within a Geodatabase to a map in ArcGIS Pro (1.4.1) using ArcPy. I am converting some python code from ArcMap to ArcGIS Pro.
This issue is very similar to:
Adding newly ...
5
votes
1
answer
770
views
Selecting LiDAR return point type in LiDAR dataset with ArcPy?
I am trying to create a Digital Earth Model (DEM) using ArcPy under ArcGIS Pro 2, but I am running into some problems.
I can generate a DEM within ArcGIS Pro by selecting only the ground points ...
59
votes
5
answers
25k
views
What are Esri's new ArcGIS for Professionals and ArcGIS Pro?
After looking through all the stuff that was released or talked about at the Esri UC 2013 I am still genuinely confused by what ArcGIS for Professionals is. I will admit that it looks pretty cool, ...
8
votes
1
answer
2k
views
Fitting known size polygons into irregular polygons using ArcGIS Desktop?
I have a task that sounds simple, but I just can't get through the last step. I need to find suitable areas where wind farms that have a size of 500x150 meters, could be placed. The restrictions are ...
4
votes
1
answer
1k
views
How do I construct a line from points that are out of order?
I'm using ArcGIS Pro and would prefer solutions using ArcPy, ArcMap, or ArcGIS Pro, but an open source alternative may work too.
I'm trying to construct a line from a series of points using the ...
2
votes
2
answers
2k
views
Choosing and zooming to features using SQL query in ArcPy with ArcGIS Pro?
When using ArcPy with the ArcGIS 10.x architecture there is a simple coding pattern that I find I use frequently:
import arcpy
mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping....
2
votes
1
answer
4k
views
Using select by attributes then calculate field on selection in ArcPy?
ArcGIS Pro 2.3
I want to create a standalone script which runs outside of ArcGIS Pro (for automation purposes), which selects features (with blank attributes) in a feature class and runs calculate ...
1
vote
2
answers
465
views
Terminology for distinguishing ArcPy installed with ArcGIS 10.x for Desktop from that which comes with ArcGIS Pro?
ArcGIS Pro uses Python 3 whereas the other ArcGIS for Desktop applications (ArcMap, ArcCatalog, ArcScene and ArcGlobe) use Python 2 and
the changes introduced with ArcGIS Pro were significant ...
13
votes
3
answers
19k
views
Setting up Python/ArcPy with ArcGIS Pro and Visual Studio?
My ArcGIS Pro install recently updated from 1.2 to 1.3.
In reading Python in ArcGIS Pro 1.3 I discovered that Esri have changed how ArcGIS Pro uses Python/ArcPy.
Legacy:
In ArcGIS Pro 1.0 ...
12
votes
2
answers
5k
views
Setting in memory workspace in ArcPy?
Is it possible to set env.workspace = "in_memory" in ArcPy using both ArcGIS Pro and the ArcGIS 10.2.2 (or 10.3) architectures?
What I am trying to do is get the output of a snap pour point operation ...
11
votes
2
answers
3k
views
Creating AddIns for ArcGIS Pro?
How can I create an AddIn to ArcGIS Pro and where can I find it from ArcGIS Pro application?
9
votes
3
answers
4k
views
Distinguishing Python version when using IDLE with ArcGIS Pro and ArcGIS 10.x for Desktop architecture?
I have just started to work with Python 3.4.1 which comes with ArcGIS Pro 1.0.0, on my laptop, which also has Python 2.7.8 which comes with ArcGIS 10.3 for Desktop installed, and I would like to ...
5
votes
1
answer
7k
views
Modify Service Layer Credits in ArcGIS Pro
Is there a way to modify (edit, move, resize, delete) Service Layer credits in ArcGIS Pro?
From How to remove Esri basemap credits? I know that it is possible in ArcMap but I could not find a way to ...
5
votes
2
answers
1k
views
Points within polygons in different projections
I have a polygon and a point feature class in some projection. The points are contained within the polygons
The points are always inside the polygons no matter the projection destination I'm ...
4
votes
1
answer
3k
views
Using RGB values stored in field of feature class to apply colour component for ArcGIS Pro symbology?
Symbolizing using RGB values from Excel in ArcGIS Desktop? and Symbolizing vector features using RGB values stored in three fields using ArcPy? are questions that distil to whether it is possible to ...
3
votes
1
answer
953
views
Adding elevation data to line using ArcGIS Pro
I am using ArcGIS Pro.
I want to draw a line at the starting and ending of elevation, and then use straight line interpolation to assign the rest of the line an elevation.
3
votes
2
answers
2k
views
Adding feature class to map (within specific group) using ArcPy with ArcGIS Pro?
I am trying to add a feature class to my ArcGIS Pro map (a specific group), but I don't seem to be able to find the way.
This is the piece of code I've written:
import arcpy
arcpy.env.workspace =...
2
votes
2
answers
89
views
Does documentation for old ArcGIS Pro versions remain available online?
I have a suspicion that arcpy.CreateFeatureClass_management() has one more parameter at ArcGIS Pro 2.1.2 than it did at ArcGIS Pro 2.0.
Is the ArcGIS Pro 2.0 Help still available online to check this?...
2
votes
4
answers
4k
views
Creating queries to select by attribute with arcpy
I'm quite new with arcpy and I'm finding selecting by attribute a bit of a nightmare. There's a problem with my query on the script below [query = "\'Location\' = observer"], but I can't tell what it ...
1
vote
2
answers
719
views
Moving set of polygons in ArcGIS Pro? [closed]
I am very new to mapping and I have loaded a set polygons from a shapefile into ArcGIS Pro. They appear correctly however they have clearly lost (or didn't have in the first place), their longitudinal ...
1
vote
2
answers
4k
views
Listing layers from .mxd file using ArcPy for ArcGIS Pro?
I am looking for a way to access a .mxd file's layer names and data sources.
In ArcGIS Desktop, I could do:
def print_layer_info(mxd_path):
print(mxd_path + ":")
mxd = arcpy.mapping....
1
vote
2
answers
270
views
Creating a large amount of convex polygons using existing coordinates
I downloaded the georeferenced event dataset (top left) from this website: http://ucdp.uu.se/downloads/ It consists of coordinates of violent conflicts which differ in time and space. My aim is to ...
1
vote
1
answer
1k
views
Extrapolating with IDW (Feature Classes) in ArcGIS Pro?
I have been struggling to extrapolate beyond the extent of the point features input into the IDW tool of ArcGIS Pro.
I believe IDW interpolation is the method for me, i just need the process to ...
1
vote
1
answer
2k
views
Calculating UTM Zones using ArcGIS Pro?
The Calculate UTM Zone tool is listed amongst the Tools that are not available in ArcGIS Pro at version 1.4.
A workaround when needing UTM zones to be calculated would be to use the Calculate UTM Zone ...
1
vote
1
answer
709
views
Quickly toggling visibility of certain symbology on ArcGIS Pro?
I'm trying to migrate from QGIS to ArcGIS Pro (still on trial version) and I have really basic problem.
How to quick toggle visibility of object with certain symbology (unique values symbology)?
...
0
votes
3
answers
1k
views
Recreating Anaconda environment after ArcGIS Pro installation
I have had to reinstall ArcGIS Pro 2.0 and have attempted to recreate an Anaconda environment, but am running into some problems. When I create a new environment from the initial ArcGIS Pro ...
0
votes
1
answer
254
views
Does Web AppBuilder GP Widget handle validation from Python Toolbox published as GP Service?
I have created a python toolbox in ArcGIS Pro that I want to share as a GP Service. The user inputs their Portal URL, username, password and the GIS Server parameter dynamically provides a dropdown ...
11
votes
3
answers
5k
views
Publishing map from ArcGIS Pro to ArcGIS Server as Map Service?
As a comment on an Esri blog post entitled Announcing the ArcGIS Pro beta program last May someone named mahenderraj asked:
I presume that it is not possible to share the map as a mapservice to
...
10
votes
1
answer
1k
views
Do ArcGIS Pro tasks support Python Toolbox tools which operate on Map Frames?
Do ArcGIS Pro tasks support Python Toolbox tools which operate on Map Frames?
The reason I ask is that I am stuck when trying to do the following:
Start ArcGIS Pro 1.1.1
Create a new project - I ...
8
votes
1
answer
2k
views
Importing MXD to ArcGIS Pro programmatically?
I have a problem with importing an MXD file to ArcGIS Pro programatically. I try to do this by using the following arcpy.mp code:
import arcpy
aprx = arcpy.mp.ArcGISProject(r"C:\test\blank.aprx")
...
7
votes
3
answers
5k
views
Renaming ArcGIS Pro project, APRX, file geodatabase and toolbox?
Using ArcGIS Pro 1.3.1 I created a project called TestProject in its own folder.
As expected an examination of the TestProject folder in Windows Explorer showed that it contained TestProject.aprx, ...
7
votes
2
answers
6k
views
How to update a hosted feature service on ArcGIS Online using the Python API for ArcGIS Pro?
I'm trying to follow the steps in the Esri blog post Updating your hosted feature services with ArcGIS Pro and the ArcGIS API for Python but am running into an error.
To test this I published a ...
7
votes
1
answer
2k
views
Adding new map to current project using ArcGIS Pro .NET SDK?
The new ArcGIS Pro SDK for .NET is currently in beta for ArcGIS Pro 1.1, and I'm having trouble with map/project objects.
I can add layers to an existing map, but I can't seem to figure out how to ...
7
votes
4
answers
4k
views
Unable to activate cloned ArcGIS Pro default Python environment due to missing packages
I am unable to activate cloned copies of the default ArcGIS Pro python environment, receiving an error message that required packages are missing.
I am using ArcGIS Pro 2.7.0.
I am trying to create a ...
5
votes
1
answer
729
views
Calculating Polsby-Popper Score Using ArcGIS Pro Field Calculator gives ERROR 000539?
This operation is using the Field Calculator in ArcGIS Pro 2.1.
I am trying to calculate the Polsby-Popper Score for Congressional Districts. I have calculated the Geodesic Area and Geodesic ...
4
votes
1
answer
357
views
Debugging unexpected characters placed by ArcPy Python script tool in text element of ArcGIS Pro layout?
I am seeing something very unexpected from ArcGIS Pro 1.4.1 when exporting what should be the same PDF from the same ArcPy script and same data using two methods.
When I run the script from IDLE the ...
4
votes
1
answer
938
views
Converting LAS data from buildings to detailed shapes using ArcGIS Pro?
What we want to achieve is to convert LAS data to a GIS format like shapes. On the internet, there are enough examples how to convert the LAS data height to a building footprint.
What we want is ...
4
votes
1
answer
3k
views
Getting list of all data sources used in ArcGIS Pro project
Is there a way to generate (or access) a list of all data sources used in a ArcGIS Pro project?
I would like to avoid going through each layer's property dialog.
4
votes
4
answers
3k
views
Creating definition query from selected features using ArcGIS Pro
I have a layer with 2000 or so points, and I selected 50 of them (with no attributes in common, they were randomly chosen). Now I want to make a definition query, so should I will only visualize these ...
4
votes
3
answers
807
views
Installing ArcGIS Python API with ArcGIS Pro
I am new to the world of ArcGIS and I come from a data science background. I recently installed ArcGIS Pro with a Single User license from my organization. I would like to use it with the Python API ...
4
votes
1
answer
3k
views
ArcGIS Pro 1 year home use says I'm not authorized
I just downloaded and installed the ArcGIS 10.3 and ArcGIS Pro 1 year home use. ArcGIS 10.3 is working fine. However, I have to sign into esri online when I initiate ArcGIS Pro. When I sign in using ...
4
votes
3
answers
2k
views
Why would arcpy ApplySymbologyFromLayer tool not work in ArcGIS Pro Python window?
I can't seem to make ApplySymbologyFromLayer work in ArcGIS Pro console, or in a scripting tool.
It works in an independant python script run in IDLE, but not when executed inside ArcGIS Pro GUI, ...
4
votes
1
answer
999
views
Buffer Polygons without overlapping regions of neighbouring boundaries in ArcGIS Pro
I'm struggling with a simple buffer which turns out to be way more difficult than I thought.
I just want to buffer a polygon shapefile which has many neighbouring objects (on the left picture the ...
4
votes
3
answers
6k
views
Getting PyScripter to recognize Python installed with ArcGIS Pro
I am trying to get PyScripter 3.3 64-bit to run on my desktop computer. I was successful in getting PyScripter 32-bit to run, but I require the 64-bit version.
It seems that it is unable to ...
3
votes
1
answer
2k
views
arcpy.NumPyArrayToFeatureClass exception: "TypeError: narray.fields require"
I have a database application that I connect to using SQLAlchemy. In the database, I store coordinates in the fields x_coord and y_coord, with a third field spatial_reference_code that stores the EPSG ...
3
votes
1
answer
1k
views
Creating Strip Map Index using ArcGIS Pro?
The Strip Map Index Features tool is listed amongst the Tools that are not available in ArcGIS Pro at version 2.2.
A workaround when needing a strip map index to be created, with an Angle field being ...
3
votes
1
answer
4k
views
Splitting string using ArcGIS Pro field calculator
Generating an error in what should be a basic field calculation.
I have two text fields: MyAddress and AreaName. Both are text. I would like to use MyAddress to populate AreaName with everything ...
3
votes
2
answers
475
views
Generate Tessellations looping through all shapefiles from folder in ArcGIS Pro ModelBuilder?
I am trying to create Hexagonal grids for each shapefile in a folder. I opted for ArcGIS Pro ModelBuilder tool and was successful in creating a loop that reads and loads shapefile in the memory. But ...