Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arcgis-pro]

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

-1
votes
0answers
21 views

ArcGIS Pro, Python script tools; [on hold]

When we use a table of values in ArcGIS pro script tool as a parameter, how we can validate its value. In below example I have parameters include 2 column one is supposed to return layout and another ...
0
votes
1answer
23 views

Modifying null values in ArcPy for ArcGIS Pro?

How can I say in ArcGIS Pro if the field (String) is Null, then replace it with "No"? I was trying this: database_field.replace("Null","No") No error occurred, but the null values did not change...
-2
votes
0answers
19 views

How to write an if field calculator [duplicate]

How can I define a new field calculator in ArcGIS Pro, that says: if text column is null then set it "No"
0
votes
2answers
14 views

Splitting polygon with line in ArcGIS Pro?

I am using ArcGIS Pro and I want to cut my polygon features with a line, as the output would be also a polygon. I have no special licences, so I am looking for an alternative way.
0
votes
0answers
10 views

Display route Events option in ArcGIS Pro

In ArcMap you can add event table and route reference feature class and when you right click on event table there is an option display route events. i am struggling to find that option in ArcGIS Pro. ...
2
votes
1answer
14 views

Changing metadata using ArcPy of ArcGIS Pro?

Is there any ArcPy function or classes which allow us to change map and layout metadata within ArcGIS Pro?
1
vote
1answer
16 views

Exporting to PDF using ArcPy of ArcGIS Pro?

I have a weird issue in exporting the layout to PDF My code is really simple and I have tried in ArcGIS Python IDLE but I have came across the problem. My Code and error is : Code: aprx = arcpy.mp....
0
votes
0answers
16 views

Getting list of regions that lines intersect with using ArcGIS Pro?

I am using ArcGIS Pro. I have a bunch of line features with unique ids and a bunch of polygons with unique ids. I want to know how many and which polygons each line interacts with. The only way I ...
2
votes
2answers
43 views

Merge Multiple feature classes based off name

Trying to write a script to merge feature classes based off their name. Steps are as follows - In the original geodatabase, find polygon feature classes that end with a particular suffix ( ie *15_AM)...
0
votes
1answer
17 views

Collecting Moran's I output values in ArcGIS Pro?

I am running an iterator in ModelBuilder that ultimately takes the output from each iteration (a point feature class) and runs the spatial auto-correlation tool (global Moran's I). I have about 450 ...
0
votes
2answers
20 views

Joining selected fields from table to shapefile using ArcGIS Pro?

I have a line shapefile with 100+ fields and a separate dbf file with 100+ fields. I'd like to programatically (using arcpy and Python 3) eliminate all but 3 fields in both shapefile and the dbf, and ...
0
votes
1answer
14 views

Using arcpy.mp to edit TEXT_ELEMENTS with no success

I'm attempting to take a user input in a script tool to modify the text within text elements on a layout. The following is the code I am using: aprx = arcpy.mp.ArcGISProject(r"S:/Initiatives/Mailings/...
0
votes
0answers
14 views

Add Path to JPGs in Attribute Table based on Unique ID

I've been tasked with updating attribute table fields with file paths to image files in a folder based on a unique ID. I'm having trouble thinking up a script that will do this? I'm working on a ...
0
votes
0answers
11 views

When using Aggregate Polygons tool in ArcGIS Pro, some new shape areas and length result in zeroes?

I used the "Aggregate Polygons" tool to aggregate 265 polygons, and the tool gave me 268 new polygons, but 80 of them display a shape_area and shape_length of zero. When I try to calculate area for ...
0
votes
1answer
32 views

Calculating connectivity of region?

I have some regions that I have defined and all the public transit in the State, shown here: The blue blobs are the regions, points are the bus/tram stops, and the lines are the routes. I want to ...
0
votes
0answers
12 views

Field Names in ArcGIS Pro Query Layer for SQL Server Database [duplicate]

I successfully connected internal SQL Server Database to ArcGIS Pro and loaded a list of database tables it contains. When I want to create a Query Layer on the database I always run into the error ...
0
votes
1answer
38 views

How can I run an ArcPy Python Toolbox from Python3-shell?

I am trying to port an arcpy python toolbox from ArcMap to ArcGIS Pro. In ArcMap I had to use the 64-Bit-geoprocessing tool because of the size of the datasets, so I wrote a wrapper-Script for the ...
1
vote
1answer
29 views

Use Python to import MXDs into an ArcGIS Pro Project and add the MXD file name to the imported maps

The method of importing an MXD to an ArcGIS Pro project has already been asked as Importing MXD to ArcGIS Pro programmatically? and it goes like this: workspaceMXD = r'FOLDER CONTAINING MXDS' ...
1
vote
1answer
34 views

Does power of GPU affect performance of analyses by ArcGIS Desktop? [closed]

Does the power of GPU affect the performance of analyses such as Segment Mean Shift, conversion to/from raster, etc? Is the GPU used only for caching GUI elements to give a smoother user interface ...
0
votes
0answers
44 views

Debugging Python script using Visual Studio in ArcGIS Pro?

According to these links, one can debug a Python script using Visual Studio in ArcGIS Pro. Debug Python code—ArcPy Get Started | ArcGIS Desktop ArcGIS Pro and Python - YouTube I am using ArcGIS ...
0
votes
1answer
20 views

Extracting overlapping polygons using ArcGIS Pro?

I'm trying to extract polygons on one layer that overlap with polygons on another layer using ArcGIS Pro. I've followed this approach by accessing Related Data. Indeed, I can view the overlapping ...
0
votes
1answer
35 views

Importing CAD into ArcGIS Pro? [closed]

I am trying to import CAD files to ArcGIS Pro. I set my basemap and used the add data button to add polylines, polygons, points and annotation to ArcGIS Pro from a CAD drawing. It imported all the ...
0
votes
0answers
22 views

Split Tool Deleting Smaller Polygon

I'm attempting to use the split tool to divide a vector shapefile into two parts. I used a process that I've been successful with before: Go to Edit > Split > Select my feature to split > Draw a line ...
0
votes
0answers
26 views

Mapping objects/assets along polygon line using ArcGIS Pro?

I am working with an open rail data set which is imported to my ArcGIS Pro project. The rail data is loaded to ArcGIS as a shapefile and includes kilometer notation for a specific rail segment. The km ...
0
votes
0answers
25 views

ArcGIS Pro using spatial join and query to find distance

I'm given a set of points (locations) and lines (roads) and I need to use spatial join and then a query afterwards to find how many points are 5 meters from the roads and then finding the exact ...
1
vote
0answers
23 views

Recovering accidental edits through ArcGIS Pro Version Changes window?

We have a situation with our ArcSDE where features were accidentally deleted inside a version and we would like to recover those changes. We cannot undo edits because they were saved in a previous ...
-1
votes
0answers
52 views

Splitting polygons to remove donuts using ArcGIS Pro?

How do I split the polygon surrounding a donut polygon (like in the picture) using ArcGIS Pro? I know how to do it manualy but there are too many polygons to do it.
0
votes
0answers
17 views

Applying decimal place change in ArcGIS Pro?

I am trying to visualize the decimals of the data in column TPvsTIM. This column's data is the result of the following: TPvsTIM = Temps_TP / ToBreak (both being long integers with numeric values) ...
1
vote
1answer
25 views

Seeking ArcGIS Pro tool to calculate network distance from point to nearest line?

I am trying to calculate the network distance from a point to the nearest poly line feature as pointed in the image below. Is there any ArcGIS Pro tool that can calculate network distance?
0
votes
0answers
13 views

Removing labels for deleted point features in ArcGIS Pro?

I am new to ArcGIS pro. I have a number of points on a map that have been inputted into ArcPro from a KML file. I have deleted some of the points as they aren't required but the labels for the deleted ...
1
vote
1answer
41 views

Autoincrementing one character in calculate field of ArcGIS Pro?

I am using ArcGIS Pro. I have this set of points where I like an unique id (uid). The only thing they need to be unique is a counter of some sort at the end. I have another field with some id that ...
1
vote
1answer
16 views

Vary symbol rotation to point towards fixed point?

How would I write an expression in the expression builder to rotate a marker symbol towards a fixed grid reference? It does not need to be too accurate (no haversine required) as the points are ...
0
votes
0answers
17 views

How do I remove ObjectID from table export? [duplicate]

I am trying to generate data for a program that only accept semi-colon separated text files with specific field values as input. I understand ArcGIS needs ObjectID in tables to keep track of stuff, ...
0
votes
1answer
57 views

ModelBuilder Speed. Runs very Slow

I've built out a model but it takes what feels like a very long time to run. About 60 seconds for each iteration and I only have 200 records. I am not sure what is normal or expected for these types ...
2
votes
1answer
18 views

Modify script so only empty fields are changed in ArcGIS Pro?

I currently use a script that converts the integer in OBJECTID to a string and combines it with another string (in this case UAW,) to populate a field Field = str(!OBJECTID!) + "UAW" Now that I have ...
1
vote
0answers
16 views

Configuring popup to automatically redirect to webpage using ArcGIS Pro / Online?

Is there a way to redirect the user to a specific webpage on clicking a certain polygon on a map? Instead of a popup, the user must be sent to a website. If this is possible how can this be ...
1
vote
1answer
25 views

Object in webscene layer gets jagged when processing complete model

After converting a Revit model to a WebScene I see some edges are jagged: Where the edges in the original are sharp: When this jagged part of the model is processed separately the results are as ...
-1
votes
0answers
12 views

Adding 2 numbers obtained with “GetCount_Management” [duplicate]

I'm trying to add the value of two variables (obtained with GetCount_Management function) and save it into a new variable. However, I'm getting the following error: TypeError: unsupported operand ...
0
votes
1answer
26 views

How to efficiently reference/connect data without overlap

I am doing an analysis that places a buffer around X property, then identifies all the parcels within that buffer to store in a database and perform analysis on later. Currently, I have two separate ...
0
votes
0answers
18 views

Converting Text Field to Numeric in ArcGIS Pro?

I'm trying to convert text to numeric, but am unable to in ArcGIS Pro. Is there a Python function? I tried int(!FieldName!) but I think NULL values are messing it up?
0
votes
0answers
45 views

ArcGIS Pro connection to PostgreSQL Database

I am connecting a PostgreSQL database to ArcGIS Pro and it connects but when I attempt to open the attribute table I receive a "Shape Integrity Error" and cannot view it. I am able to view the ...
0
votes
1answer
25 views

Is there a way to programmatically access an ArcGIS Pro project's default geodatabase?

In the ArcGIS Pro workflow, one typically creates a project that is set up with its own file geodatabase. Is there a way to refer to this geodatabase generically in a python script? I have been ...
2
votes
1answer
50 views

Trouble with Select by Location

I'm having trouble selecting individual the corresponding polygon in my parcel data based on the location of a property. It seems obvious, but what am I missing? I have a list of geocoded properties ...
0
votes
1answer
34 views

Add makeFeatureLayer layer to map in ArcGIS Pro using ArcPy

I am making a feature layer and applying an expression to essentially apply a definition query to the source feature class. I then want to add the created feature layer to the map. I am aware of ...
1
vote
0answers
26 views

Point density from XY table in ArcGIS Pro

I have a large 1.1gb CSV table of points in Lat/Long WGS84 for which I'd like to generate a point density raster. I'm taking the following steps but the process is extremely slow. I welcome any advice ...
1
vote
1answer
22 views

Can't select by attribute for new attributes added by a join in ArcGIS Pro

I'm new to ArcGIS and am following some tutorials. I did a join to add some data to the attribute table of one of my layers. Now, when I go to select by attribute and look for those attributes they ...
0
votes
0answers
19 views

ArcGIS Pro Display Filters not working?

I love the new Display Filters feature in ArcGIS Pro. I've used them a few times and they're great! However, recently when I've tried to utilize them they don't seem to work anymore. Below is a ...
1
vote
1answer
15 views

Failure to Revoke ArcGIS Pro Advanced license using Python API

I am scripting the provisioning and de-provisioning of users for my place of employment. I have the script in place to license users but I am having trouble getting the revoke script to work. I can ...
4
votes
2answers
79 views

Changing coordinates of geotagged photos

I've geotagged photos stored locally on my computer, which were converted into points. But I am not happy about where those points are placed by (not very accurate GPS). On the map, I know for sure, ...
0
votes
0answers
47 views

Script sometimes stuck at arcpy.SplitRaster_management

my problem is that my script sometimes stuck then it use arcpy.SplitRaster_management. import arcpy import os #nearly 700 rows of script fclist: [ ...] # some fc rasterlist = [...] # many raster ...