Skip to main content

Questions tagged [arcgis-pro]

Use when your question is about one of the versions of the ArcGIS Pro application of ArcGIS Desktop

Filter by
Sorted by
Tagged with
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 (...
Nora's user avatar
  • 569
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. ...
Losbaltica's user avatar
  • 1,479
7 votes
2 answers
24k 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 ...
Nic's user avatar
  • 539
5 votes
1 answer
864 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 ...
user44796's user avatar
  • 1,925
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, ...
Craig's user avatar
  • 4,580
8 votes
1 answer
3k 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 ...
alecsx's user avatar
  • 618
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....
PolyGeo's user avatar
  • 65.2k
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 ...
Theo F's user avatar
  • 1,839
1 vote
2 answers
471 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 ...
PolyGeo's user avatar
  • 65.2k
13 votes
3 answers
20k 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 ...
Midavalo's user avatar
  • 29.8k
12 votes
2 answers
6k 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 ...
If you do not know- just GIS's user avatar
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?
tkoka's user avatar
  • 161
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 ...
PolyGeo's user avatar
  • 65.2k
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 ...
Supereshek's user avatar
5 votes
1 answer
8k 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 ...
DotPi's user avatar
  • 787
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 ...
PolyGeo's user avatar
  • 65.2k
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 =...
Pitrako Junior's user avatar
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 ...
Pitrako Junior's user avatar
2 votes
2 answers
93 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?...
PolyGeo's user avatar
  • 65.2k
1 vote
2 answers
5k 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....
sdMarth's user avatar
  • 141
1 vote
1 answer
889 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)? ...
Malauch's user avatar
  • 53
1 vote
2 answers
286 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 ...
Christian's user avatar
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 ...
PolyGeo's user avatar
  • 65.2k
1 vote
2 answers
837 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 ...
Jamie Edgecombe's user avatar
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 ...
UnsoughtNine's user avatar
0 votes
0 answers
22 views

Split a polygon in many parts by areas of specified values [duplicate]

I try to split a polygon in multiple parts based on known values. For example, if I have a 1000 sqm polygon i need to be splitted in 4 polygons (100 sqm, 600 sqm, 50 sqm and the rest of the polygon). ...
Razvan Dumbrava's user avatar
0 votes
3 answers
2k 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 ...
user44796's user avatar
  • 1,925
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 ...
PolyGeo's user avatar
  • 65.2k
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 ...
PolyGeo's user avatar
  • 65.2k
8 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 ...
pvdev's user avatar
  • 1,218
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") ...
Konrad's user avatar
  • 385
7 votes
4 answers
5k 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 ...
jawGIS's user avatar
  • 71
7 votes
2 answers
7k 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 ...
Stephen Lead's user avatar
  • 21.2k
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, ...
PolyGeo's user avatar
  • 65.2k
5 votes
1 answer
786 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 ...
SteveC's user avatar
  • 745
4 votes
1 answer
954 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 ...
Joska Paszli's user avatar
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 ...
Rosemary's user avatar
  • 140
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, ...
T Dog's user avatar
  • 125
4 votes
1 answer
359 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 ...
PolyGeo's user avatar
  • 65.2k
4 votes
3 answers
888 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 ...
ali_is's user avatar
  • 41
4 votes
2 answers
2k views

Using ogr2ogr in Python scripts

I have been trying to figure out how to execute ogr2ogr to convert files in Python script. I got it to work in Jupyter notebook within ArcGIS Pro and in the terminal but not in Python scripts. Here's ...
Muppidi Sahaja Reddy's user avatar
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 ...
Emil Brundage's user avatar
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 ...
JMNC's user avatar
  • 197
4 votes
4 answers
4k 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 ...
Gustavo's user avatar
  • 133
4 votes
1 answer
4k 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.
Thomas's user avatar
  • 1,745
4 votes
1 answer
1k 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 ...
Radde1683's user avatar
  • 193
4 votes
1 answer
3k views

Formatting legend item and feature count text in ArcGIS Pro

In ArcGIS Pro you can turn on the option "Show feature counts" in Format legend item -> Feature Display Options to show the number of features for each legend item. However, when turned ...
user74862's user avatar
  • 131
3 votes
1 answer
5k 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 ...
TravisB's user avatar
  • 173
3 votes
1 answer
703 views

How to suppresss Python Toolbox from adding output datasets to the map

I wrote a Python Toolbox and would like to suppress it from adding output datasets to the active map. Below a minimal example (not the actual toolbox): import arcpy from typing import List class ...
Thomas's user avatar
  • 1,745
3 votes
1 answer
3k views

Switching data source of layer to new feature class using ArcPy with ArcGIS Pro 2.0?

A common ArcPy coding pattern that I used with ArcGIS Pro 1.4 (and earlier) no longer works at ArcGIS Pro 2.0. I have an ArcGIS Pro project with one map called Map, and that map has one layer called ...
PolyGeo's user avatar
  • 65.2k