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
0
votes
0answers
8 views

Table to Excel tool fails in ArcGIS Pro v2.3.3 [on hold]

Running the Table to Excel tool from toolbox or Python window fails. Updated patches and installed new software, but still get the following output: Table to Excel tool: Failed script Table To Excel....
1
vote
1answer
19 views

Dragging and dropping from Catalog Favorites of ArcGIS Pro

I'm slowly transitioning from ArcMap to ArcGIS Pro (2.3.0) and I'm facing a quite frustrating UX problem: I can't drag and drop layers from the Catalog pane to the map if it comes from the Favorites ...
1
vote
0answers
16 views

Extracting features with Export Training Data for Deep Learning tool in ArcGIS Pro

The stats file generated from the tool: images = 3400 *3*30*30 features = 6412 features per image = [min = 1, mean = 1,89, max = 10] classes = 1 cls name cls value images features min size mean ...
0
votes
1answer
14 views

Find which line has the highest Z value of a set of lines intersecting a polygon

I've a dataset of polygons representing buildings and a dataset of polylines representing buildings. The dataset with lines has a Z value for each line, the polygon dataset doesn't. There are several ...
0
votes
0answers
16 views

999999 error when executing StageService_Server to create service definition file in ArcGIS Pro

Oh, the dredded 999999 error. I am trying to create a service definition in arcpy for ArcGIS Pro. I succeed in creating a .sddraft but I fail to create a .sd sharing_draft = mlist[0]....
0
votes
1answer
19 views

Remove unlisted values on Symbology on ArcGIS Pro?

I have a layer file which I use as reference for symbology for future layers. It is based on unique values, however there is over 100 unique values, and each one have their own icon. If I apply this ...
0
votes
1answer
18 views

Cluster analysis based on both location and attribute (seconds)? [on hold]

I'm looking to create clusters both on spatial density, as well as an attribute (time, in seconds). Essentially, I am trying to figure out what areas are choke points in terms of time spent at certain ...
-1
votes
0answers
12 views

Making land cover classification predictions of Landsat 8 imagery using pre-trained CNN model [on hold]

I am not very experienced in the field of image processing/deep learning/remote sensing. I have trained a model - perhaps incorrectly, to classify water bodies and land cover. Very simple. But I say "...
1
vote
1answer
38 views

What is arcpy.cim?

In the help for ArcGIS Pro 2.4's Python CIM access there is "Example 3: Modify layer symbology" which has this code: # Reference a project, map, and layer using arcpy.mp p = arcpy.mp.ArcGISProject('...
1
vote
1answer
22 views

Viewing ArcGIS Pro layer as JSON to illustrate CIM (Cartographic Information Model)

In order to work with the Cartographic Information Model (CIM) from ArcPy with ArcGIS Pro I am interested in viewing the JSON for a particular layer. In a YouTube video from Esri's 2019 Developer ...
1
vote
0answers
22 views

Making density map based on number of hospitals in statistical area using ArcGIS Pro

I have the longitude and latitude of hospitals in Australia and I want to make a density plot (Symbology - graduated colours) to visualise the distribution of hospitals by a statistical area (defined ...
0
votes
1answer
31 views

Dataset does not exist or is unsupported SaveLayerToFile

I am trying to save a layer from an MXD to a lyrx file in a geodatabase using ArcGIS Pro. aprx.importDocument(current_document_name) mlist = aprx.listMaps() infra_layers = mlist[0].listLayers() arcpy....
0
votes
1answer
22 views

Merging multiple satellite bands for science data set rasters?

I am using MODIS satellite imagery data for one specific derived band. The problem I am running into is that it is a MCD19 SDS layer, which contains different bands for each orbit overpass at a ...
1
vote
1answer
29 views

How to create vector polygons that show areas of overlap (2, 3, 4 times, etc.)? [closed]

I have polygon shapefile containing several thousand features. The attribute table contains, among other fields, year (1943-2019). https://imgur.com/a/C2JTIjX These polygons (wildfires) often ...
0
votes
1answer
33 views

Point cloud - Why don't all the points show up in AGOL or ArcGIS Pro?

Whenever I upload a LAS file in ArcGIS Pro, not all the points are shown. And there are even less points when I upload it to AGOL. Is there a maximum of points ArcGIS Pro and AGOL can show ? If yes,...
0
votes
2answers
32 views

Importing ArcPy installed with ArcGIS Pro in PyCharm

I am trying to import arcpy in a script, which is running in a PyCharm environment using the Python 3.6.6 installation that comes bundled with ArcGIS Pro 2.3.2 as the base interpreter. I get the ...
0
votes
1answer
27 views

How to add a hosted Feature Layer from AGOL to my local ArcGIS Pro through Python?

I`m trying to find a way to add an online layer to my local map, through Python. I know how to grab the layer info, but don't know how to use it. onlinelayer = gis.content.search(mylayer)[0] itemid= ...
0
votes
1answer
15 views

ESRI layer does not support “SHOWLABELS”

I am trying to create a script that exports labels to annotation using the tool in ArcPro 2.4. I have created the contour layer, converted it to Layer and that works fine, but I am stuck on the ...
0
votes
0answers
18 views

Feature Class to Feature Layer in Feature Dataset

I'm trying to find overlapping annotations. The annotations are stored in file gdb, named by their feature and scale (ie Roads_10_A) My technique is to list annotation of a certain scale from a gdb, ...
1
vote
1answer
27 views

ArcGIS Pro Field Calculator Python IF statement

I'm attempting to populate a newly created field with values dependent on an existing field. The new field has text data type. The existing field is double data type. This is the python code I've ...
1
vote
0answers
12 views

How to make ApplySymbologyFromLayer_management work on “CURRENT”, on ArcGIS pro?

I can't make the ApplySymbologyFromLayer_management work on ArcGIS Pro by any means. The following code runs smoothly but don't give any results: import arcpy aprx = arcpy.mp.ArcGISProject("CURRENT")...
5
votes
2answers
71 views

Automating line adjustment to a point or a series of points in ArcGIS Suite?

There are multiple toolboxes in ArcGIS Suite that deal with geographic transformation and correction, such as Spatial Adjustment, Rubbersheeting, and Snap. I'm not sure how to best use a tool to ...
0
votes
1answer
24 views

Controling affine transform of raster in ArcGIS Pro

I have a png file which I created from a field equation. I need to plot that on my map. I am plotting it on a map with Coordinate System being GCS WGS 1984 (EPSG: 4326). Since it is not georeferenced,...
0
votes
0answers
28 views

Showing all points of point cloud layer using ArcGIS Pro

I have a point cloud file of some trees. I first convert this to a LAS using some converter tool. I then open this LAS file in ArcGIS Pro and somehow it doesn't show all points there is. Even if I set ...
0
votes
0answers
23 views

How to make one feature class of multiple revit layers? [closed]

So I want to show some revit models on a 2D map. This is pretty easy to do. You can just load the revit model into the 2D viewer in ArcGIS Pro. Now comes the issue. I want to make a feature class of ...
0
votes
1answer
18 views

Setting Symbol Template for ArcGIS Pro GraduatedSymbolsRenderer from ArcPy

Is it possible to set a Symbol Template for a GraduatedSymbolsRenderer using ArcPy for ArcGIS Pro? The reason I ask is that running the test code below gives an error of: Traceback (most recent call ...
-1
votes
0answers
20 views

Querying using Boolean operator in ArcGIS Pro [duplicate]

If it is possible in ArcGIS Pro to use a Boolean operator to select 2 raster values (in the same raster) at the same time, then how do I do it?
0
votes
0answers
22 views

Using Boolean operator in ArcGIS Pro [duplicate]

I have 2 datasets: Dataset1: raster = 6 classes of land use: water, forest, urban, agriculture, etc. Dataset 2: raster = 3 classes of risks: 1: low , 2: medium, 3: high What Boolean (logic) operator ...
0
votes
0answers
18 views

ArcGIS Pro Layer to KML With Multiple Images Per Feature Only Displays One Image in Google Earth

Question: Why is it that when I use Layer to KML in ArcGIS Pro 2.4.1 I can only view one image per feature on Google Earth Pro? All the attachments are listed inside the popup on GE, but the links for ...
0
votes
1answer
50 views

Labels not displaying after calling arcpy.da.SearchCursor

I'm attempting to create labels for a feature class that labels each feature "[ParentFeatureName] - [ThisFeatureID]". I found a code snippet on Esri support that should fit the bill (with the variable ...
0
votes
2answers
26 views

Opening ArcGIS Pro application from ArcGIS Pro Project (.aprx) file using ArcPy?

I need to open an ArcGIS Pro project (.aprx) file in the ArcGIS Pro application inside of an arcpy script. Does anyone know of a way to accomplish this? I am using ArcGIS pro 2.4.1. By open, I ...
1
vote
0answers
17 views

Can't modify the layer using a script tool on the current map

I want a tool that does two things: Update symbology, and hide some fields. I created a script tool for that: import arcpy in_features = arcpy.GetParameter(0) ref_lyrx = r"C:\ArcGIS\LAYER\...
0
votes
0answers
14 views

Create new network dataset in Arcgis Pro

I am trying to create a new network dataset in ArcGIS Pro. I have created a feature dataset and imported the roads layer in it. After that i created topology and fixed the issues in road dataset. ...
0
votes
1answer
27 views

Calling for layer in ArcPy with ArcGIS Pro

Every single example I see online, the code has the mapname.listLayers() in order to call the layer. Don't we have a way to call the layer by its name instead? The reason I'm asking this is because ...
0
votes
0answers
11 views

Choose which pointfeature with the same xy-coordinates to display

I have a shapefile with point features. The attributes (that matter for this question) are elevation and value. Multiple features only differ in elevation - in other words they have the exact same xy-...
3
votes
1answer
51 views

Creating a subclass that inherits from an ArcPy superclass?

I would like to create a subclass that inherits methods from the arcpy Describe class, as in: import arcpy class my_sublass(arcpy.Describe): pass However, arcpy.Describe is a function (that ...
0
votes
1answer
24 views

Get ArcGIS Pro Portal user

I'm trying to get the user I used to login to Portal in ArcGIS Pro, but I can't find how. Is it possible? I manage to fetch the Portal information using arcpy.GetPortalDescription() , but not the ...
0
votes
0answers
17 views

Why does Modify Vertices seem to fail for no reason in ArcGIS Pro?

I could be working on a project for a while, between two maps and having no trouble modifying features. Then suddenly I will try to adjust the vertices on a line, and I get an error message: modify ...
0
votes
1answer
29 views

Change path in Anaconda environment to point to ArcGIS Python interpreter on Windows?

I want to have an Anaconda environment that will use the Python interpreter installed with ArcGIS Pro. I am working in Windows. I have been using Anaconda Prompt to configure virtual environments, ...
0
votes
1answer
24 views

ApplySymbologyFromLayer on ArcGIS Pro not working?

I created a python tool on Pro with the following code, and manage to run it without any errors or warnings. However, I do not see any changes on my layer: workspace = "C:\whatever.gdb" arcpy.env....
1
vote
1answer
31 views

Can't send the string output (from a Python tool) to work as a input for a tool in a model (ArcGIS Pro)

I have a model that uses the Feature Class to Feature Class tool. It needs 3 inputs (Input layer, location and output name). My goal is that a user would choose a layer, the model would create a new ...
1
vote
1answer
44 views

Classifying powerlines in LiDAR using ArcGIS Pro?

I have a LAS dataset that includes powerlines. The dataset is unclassified, but I have access to a feature class that includes the powerlines as lines. Is there a tool or method in ArcGIS Pro that ...
1
vote
2answers
26 views

Finding cell width of Raster using ArcPy with ArcGIS Pro?

I've been trying to find the cell size, or height/width/mean, of a cell by utilizing arcpy in the Python Window in ArcGIS Pro version 2.3.3., I run the following code: import arcpy env = arcpy.env ...
0
votes
0answers
25 views

Questions on Area and Perimeter with Python in ArcPro

I was given a file and asked to get an area and perimeter by utilizing the field calculator with python. To get the area I did the following: Area = !shape.area! To get that perimeter did ...
0
votes
0answers
29 views

Changing custom parameter of WMS layer in ArcMap or ArcGIS Pro using ArcPy?

In a web mapping application developed with ArcGIS JavaScript API (3.29) I am utilizing a WMS service describing Radar data from https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r-t.cgi . This ...
0
votes
1answer
25 views

Adding rasters to mosaic dataset from CSV list using ArcPy?

I have a CSV list containing paths to 800 TIFF files that I want to add to a mosaic dataset. So using the Add Rasters to Mosaic Dataset tool, I need to create a loop which changes the input_path ...
1
vote
1answer
16 views

Features lost when extruding polygons between two TINs

I am trying to transform a collection of adjacent simple polygons to a collection of simple polyhedrons. My approach is to create two constant-elevation rasters representing the upper and lower ...
0
votes
2answers
35 views

AGOL View layer symbology is not updated when updating hosted feature layer

I have a feature layer called map in AGOL. I want to change the symbology, so I open arcgis Pro and I open this map and overwrite it with new symbols. I see that the feature layer in AGOL is updated ...
0
votes
0answers
29 views

Boolean operator

What Boolean operator should I use to select a raster layer of land use and a raster layer of risk flood (medium and high risk together)? the raster layer has 4 classes: water, urban, agriculture, ...
0
votes
1answer
40 views

Seeking ArcGIS Pro tool to get min and max latitude and longitude coordinates?

I am very new to ArcGIS Pro and have been struggling with getting the minimum and maximum latitude/longitude of an area in ArcGIS Pro. I am looking to get four coordinates of a rectangle that ...