All Questions
Tagged with layers arcgis-pro
69
questions
0
votes
2
answers
163
views
arcpy.mapping ListLayers to arcpy.mp listLayers
I am working on updating a Python 2 script (arcpy.mapping) to a Python 3 script (arcpy.mp).
I've successfully updated the following:
aprxFile=r"G:\usr\Drinking Water Programs\Monroe 2023-02\Maps\...
1
vote
0
answers
55
views
ArcGIS Pro tool equivalent to QGIS "Create layer from extent"
Is there a tool or combination of tools in ArcGIS Pro that can create a feature class that corresponds to an existing feature class extent similar to the QGIS tool Create Layer from Extent?
I want to ...
2
votes
1
answer
358
views
Turning off layer visibility in ArcGIS Pro with Python
I have code that exports several maps. For a set of maps, I want to make sure one layer used in a previous map is turned off. I don't want to remove it completely.
Anyone know what I am doing wrong?
...
0
votes
0
answers
35
views
Creating a MultiPolygon field that includes multiple
I have been tasked with creating a new polygon layer to include lat/long of atleast 5 vertices. I have a sample of the fields of another customer they work with and I cannot seem to find out anywhere ...
1
vote
2
answers
348
views
Adding a layer to multiple maps within the same project with ArcPy [duplicate]
Using ArcGIS Pro 3.0
I am looking to apply a definition query on a feature class from a geodatabase and add it as a layer onto 3 maps. My thought was to use a for loop to loop through my maps and add ...
1
vote
2
answers
935
views
Selecting layer from the current map using Python on ArcGIS Pro
I'm trying to learn how to use Python notebooks on ArcGIS Pro. I'm trying to add a new field to one of the layers on my Map. I added the layers to my map online. This is the code I have so far:
import ...
2
votes
2
answers
99
views
How to bring layer to top faster when there are dozens of layers?
In the image you can see that I have map pages overlapping each other.
I would like to bring the bottom map to the top so I can see the whole page.
Dragging and dropping takes for ever because I have ~...
1
vote
1
answer
194
views
How iterate with cim.featureTable.fieldDescriptions?
I have the next code:
#Importar librerías necesarias
import arcpy
import pandas as pd
#Obtiene el Mapa activo
aprx = arcpy.mp.ArcGISProject("CURRENT")
current_map = aprx.activeMap
...
0
votes
1
answer
803
views
Combining two raster layers in ArcGIS Pro
I am trying to create a raster map with cells with the value 0 (outside study area), and the other cells with value 1 (the study area)
I have two input layers for this (the image below)
How can I make ...
1
vote
0
answers
504
views
ArcPy Apply Symbology from Layer is not working in script
I'm trying to apply symbology on all the layers in my TOC that match a certain string. The apply symbology step of the script makes the layers in TOC glitch, which means it gets executed but the ...
0
votes
1
answer
868
views
ArcGIS Pro: Raster Layer in Incorrect Location
I have a very large raster layer (67g uncompressed) that was merged from multiple tif files in ArcGIS Pro. However, I have not been able to get it in the correct location (USA) and it is displaying ...
0
votes
1
answer
114
views
Adding feature class to active map from geodatabase
An extension of the question answered here:
Adding feature class to Map in CURRENT project using ArcPy in ArcGIS Pro?
This method adds the feature class to the first map in the project, but what if I ...
1
vote
1
answer
2k
views
Using ArcPy to add layer to map
I am having trouble adding my result to the current map using ArcPy. I keep getting this error problem, "ValueError."
Here is my script:
Result = arcpy.analysis.Clip('FeatureClipped','...
0
votes
0
answers
79
views
Layer Blending in ArcGIS Pro and Publishing to service
I've been working on a service to publish and have made a very clean map using layer blending. However, when publishing as a Web Map, a web layer WMS and a Map image, it removes the blending of my ...
2
votes
2
answers
496
views
Zooming using getLayerExtent property of MapFrame not always zooming using ArcPy with ArcGIS Pro [closed]
To see this problem:
Start ArcGIS Pro 3.0.0 (or any version you wish to test)
Create a new project using the Map template, call it TestProject in C:\temp and tick the checkbox to make a new folder
...