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
14k 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 (...
user avatar
  • 571
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. ...
user avatar
  • 1,369
7 votes
2 answers
14k 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 ArcGIS Desktop to ArcGIS Pro. This issue is very similar to: ...
user avatar
  • 479
4 votes
1 answer
582 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 ...
user avatar
  • 1,739
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, ...
user avatar
  • 4,572
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 ...
user avatar
  • 567
2 votes
1 answer
3k 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 ...
user avatar
  • 1,497
2 votes
2 answers
1k 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....
user avatar
  • 63.9k
1 vote
2 answers
438 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 ...
user avatar
  • 63.9k
11 votes
3 answers
14k 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 ...
user avatar
  • 29.2k
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 ...
user avatar
11 votes
2 answers
2k 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?
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 ...
user avatar
  • 63.9k
5 votes
1 answer
5k 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 ...
user avatar
  • 779
5 votes
2 answers
707 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 ...
user avatar
4 votes
1 answer
2k 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 ...
user avatar
  • 63.9k
3 votes
2 answers
1k 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 =...
user avatar
3 votes
1 answer
231 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.
user avatar
  • 109
2 votes
4 answers
3k 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 ...
user avatar
2 votes
2 answers
71 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?...
user avatar
  • 63.9k
1 vote
2 answers
214 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 ...
user avatar
1 vote
1 answer
70 views

Aggregation or cluster or hot spot

I have a set of thousands of tickets for clearing debris. I want to analyze clusters. I want to show all the areas with more than 5 tickets within 10 m of each other. How do I do this on preferably ...
user avatar
  • 31
1 vote
2 answers
145 views

ExportToPDF hangs in ArcGIS Pro

Several tools used throughout my organization use ArcPy's ExportToPDF method. A couple of weeks ago, when we upgraded from 2.7.x to 2.8.0, these tools stopped working (for myself and other users). ...
user avatar
  • 1,039
1 vote
1 answer
757 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 ...
user avatar
1 vote
1 answer
399 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)? ...
user avatar
  • 53
1 vote
1 answer
1k 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 ...
user avatar
  • 63.9k
1 vote
2 answers
530 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 ...
user avatar
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 ...
user avatar
  • 1,739
0 votes
1 answer
117 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 ...
user avatar
0 votes
2 answers
3k 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....
user avatar
  • 131
9 votes
2 answers
12k views

Making legend items start in new column in ArcGIS Pro?

In ArcGIS Pro 1.3.1, I have just looked for the ability to start legend items in a new column. This functionality is present in ArcMap's Legend Properties on the Items tab which appears below: Has ...
user avatar
  • 63.9k
4 votes
3 answers
5k 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 ...
user avatar
  • 140
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 ...
user avatar
  • 63.9k
3 votes
2 answers
600 views

Cartographic Depth-To-Water method using Cost/Path Distance

I'm having trouble understanding the method for creating a cartographic depth to water index and seek some guidance. I'm using ArcGIS Pro 2.3, but equally happy with ArcMap desktop. The method is ...
user avatar
2 votes
2 answers
6k views

Using spyder as Python IDE with ArcGIS Pro?

I just installed ArcGIS Pro and would like to either import arcpy into anaconda, or use spyder as my IDE in GIS. I have tried two things: For ArcGIS Desktop you had to copy the .pth file from GIS to ...
user avatar
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 ...
user avatar
  • 63.9k
4 votes
1 answer
524 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 ...
user avatar
  • 197
3 votes
1 answer
1k 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 ...
user avatar
  • 1,656
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 ...
user avatar
  • 63.9k
3 votes
1 answer
3k views

Zooming In and Out using ArcPy with ArcGIS Pro?

I have code that zooms a layout to a bookmark and then exports that layout to PDF. This step helps me produce maps on a large scale because I have about 40 bookmarks. However, if someone asks me to ...
user avatar
3 votes
3 answers
3k views

How can I expand the 'extent' of a raster?

I'm adding two rasters that have different extent. The result is a raster with the extent of the smaller one, which is not what I want. What do I need to do to have the output raster as big as the ...
user avatar
2 votes
1 answer
256 views

Predicting nature of Result object returned by using ArcGIS geoprocessing tool in ArcPy?

In the Code Sample from the ArcGIS Pro help for the ArcPy class named Geometry there is something that catches my attention: # Run the Copy Features tool, setting the output to the geometry object. # ...
user avatar
  • 63.9k
1 vote
1 answer
185 views

Creating Attribute Rules using ArcPy in ArcGIS Pro

I am attempting to create attribute rules for a signalized intersection asset inventory, so when features are addded using collector they are automatically updated in the database. I am also working ...
user avatar
  • 129
1 vote
1 answer
165 views

Checking if raster extent overlaps AOI in ArcPy? [closed]

I have have a directory that contains many of rasters. I also have a polygon shapefile with a single record that defines my area of interest (AOI). I would like to copy all rasters that fall within (...
user avatar
  • 1,468
1 vote
2 answers
191 views

Finding least cost path to diffuse resource using ArcGIS Pro?

I am trying to solve a variant of the least cost path analysis problem (http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/creating-the-least-cost-path.htm) where instead of finding the ...
user avatar
1 vote
1 answer
405 views

Making Python Add-Ins for ArcMap after installing ArcGIS Pro prevents double-click running of makeaddin.py at Python 2.x?

I've been working quite a lot with Python Add-Ins over the past week or so in a Windows 7 SP1 configuration with ArcGIS 10.3.1 for Desktop and ArcGIS Pro 1.0.2 installed. I also installed Python 3.4....
user avatar
  • 63.9k
8 votes
1 answer
1k 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") ...
user avatar
  • 375
6 votes
2 answers
5k 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 ...
user avatar
  • 20.6k
5 votes
1 answer
573 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 ...
user avatar
  • 710
4 votes
3 answers
563 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 ...
user avatar
  • 41