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
7
votes
1answer
1k 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. ...
4
votes
2answers
3k 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: ...
4
votes
1answer
264 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 ...
57
votes
5answers
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, ...
5
votes
1answer
542 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 ...
1
vote
2answers
360 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 ...
6
votes
5answers
4k views

Avoiding arcgisscripting RuntimeError: Not signed into Portal from ArcPy with ArcGIS Pro?

Sometimes when I run a Python script from IDLE that uses the ArcPy installed with ArcGIS Pro 1.4.1 the script will abort with RuntimeError: Not signed into Portal: RESTART: C:\temp\test.py Traceback ...
9
votes
3answers
3k 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 ...
5
votes
2answers
7k views

Opening ArcGIS Pro map in ArcMap?

According to Esri, ArcGIS Pro is not a replacement for ArcGIS For Desktop and both can to be used side by side. I tried migrating/importing Map Document, etc. to ArcGIS Pro but I do not see the same ...
4
votes
1answer
513 views

ArcGIS Pro cannot read SQL Server databases with “-” in their name

I am using the latest ArcGIS Pro 2.2.1 and trying to use a geospatial database that is hosted in an Azure SQL Server. The issue is that ArcGIS Pro fails to query databases that have "-" in their name. ...
4
votes
1answer
1k 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 ...
3
votes
2answers
452 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 =...
2
votes
2answers
56 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?...
1
vote
2answers
226 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 ...
1
vote
1answer
785 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 ...
1
vote
1answer
360 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 ...
1
vote
2answers
158 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 ...
-1
votes
2answers
441 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....
10
votes
1answer
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?
11
votes
2answers
4k 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 ...
10
votes
1answer
634 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 ...
3
votes
1answer
583 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 ...
3
votes
1answer
753 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 ...
2
votes
1answer
322 views

Querying for extent of layer in arcpy.mp?

We're migrating automated mapping scripts from ArcGIS Desktop to ArcGIS Pro — Python 2.7 to 3, arcpy.mapping module to arcpy.mp module. All these scripts iterate through a loop to select various ...
2
votes
1answer
616 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 ...
1
vote
1answer
321 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....
10
votes
3answers
4k 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 ...
8
votes
1answer
776 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") ...
4
votes
1answer
644 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 ...
4
votes
1answer
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 ...
4
votes
2answers
105 views

Running arcpy.AlterField_management 2,000 times takes too long?

I am trying to replace field names of a table stored in a file geodatabase using a dictionary as a lookup table. My field names got cut off from the Tabulate Area tool (Tabulate Area Truncates Field ...
3
votes
0answers
522 views

Exporting feature class to SQLite database using ArcPy with ArcGIS Pro? [closed]

I am trying to export 5 feature classes from Geodatabase to SQLite database using arcpy script. I have ESRI script that creates empty SQLite Database all I need now is just to update the script to ...
3
votes
1answer
305 views

Splitting polyline with ArcGIS Pro snapping environment?

I would like to take advantage of the 64-bit environment and speedier screen refreshing for some editing we do. Although I personally don't find the ribbon interface very intuitive, the ArcGIS Pro ...
3
votes
1answer
205 views

Finding Network Analyst tools in ArcGIS Pro?

I am trying to run some network analysis within 3D buildings to study handicap accessibility, best routes, emergency evacuation routes, etc. In ArcMap 10.3 there is a simple and easy to use toolbar ...
3
votes
1answer
83 views

How does ArcGIS Pro 1.0 choose default color for first layer added to Map?

When I add my first vector dataset to the Map in an ArcGIS Pro 1.0 project that I created using the Map.aptx project template, it always comes in using a gaudy brown color like in the graphic below. ...
3
votes
1answer
143 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 ...
2
votes
2answers
905 views

After upgrading ArcGIS Pro getting “Failed to Initialize Python Interpreter” error

I just upgraded ArcGIS Pro to version 2.2 from within the application. After the upgrade, when I open a project, this dialog comes up: Also, the Python window shows this: Finally, I cannot seem to ...
2
votes
1answer
177 views

Remove polyline vertex outside polygon in Arcpy

I am trying to remove polyline vertex which are outside the buffer polygon and not creates new vertex on intersection. I found a script which remove vertex but inside polygon. What is more it ...
2
votes
1answer
475 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....
2
votes
2answers
1k views

Map Publishing in ArcGIS Pro gives errors 00216 and 00230?

I'm receiving two errors (00216 & 00079) (below) that need resolution before I will be able to share a map I've created to ArcGIS Online (from ArcGIS Pro's interface). The map document was ...
2
votes
1answer
206 views

Expanding IDW interpolation to borders of country in ArcGIS Pro? [duplicate]

I am new to ArcGIS. I have a data set with air pollution concentrations for 20 locations in the Netherlands. I would like to interpolate this data with IDW, so that I can estimate the approximate ...
2
votes
0answers
111 views

Understanding why arcpy.CreateScratchName() gets slower with more file geodatabases in folder?

In my ArcGIS Pro 1.4.1 application, I noticed that a short section of ArcPy code that creates a scratch name, and then uses that to create a file geodatabase (always in the same folder with the same ...
2
votes
4answers
1k 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 ...
1
vote
1answer
144 views

Exporting from ArcGIS Pro results in clipped output

I'm trying to export a world map from ArcGIS Pro 2.2.4, using the > Share > Map Export option. The map is zoomed to the full extent of the world: But the resulting PNG or PDF is clipped to a square ...
1
vote
0answers
339 views

Toolboxes not appearing in ArcGIS Pro? [duplicate]

I upgraded to ArcGIS Pro 2.2 today and now I can't access the toolboxes in the geoprocessing pane. When I try to select toolboxes, they do not appear and are not available as an option. I think that a ...
1
vote
2answers
107 views

Seeking border of Netherlands to use in ArcGIS Pro?

I am a beginner in ArcGIS Pro. I asked a question before (Expanding IDW interpolation to borders of country in ArcGIS Pro?), but I feel like I do not understand the basics enough, so a more basic ...
1
vote
1answer
120 views

Creating vectors based on U and V values using ArcGIS Pro?

I am conducting an exposure assessment and need to isolate downwind populations from numerous points of exposure in the US. I have a shapefile that separates the entire US into 36x36 km cells. Each ...
1
vote
2answers
959 views

Displaying Buffer overlap in ArcGIS Pro with Intersect?

I have created some buffers around some points in ArcGIS Pro, and I am wanting to recognize the area of the buffers that overlap with another buffer within the same layer with a different color. How ...
1
vote
2answers
448 views

How should the raster calculator be used?

I have a set of rasters (in a geodatabase) and I'm trying to do a simple operation with them. Please see code below. I'm indicating with an arrow at the end of the code the operation I'm trying to do: ...
1
vote
1answer
72 views

Is there limit to number of elements in layout of ArcGIS Pro project manipulated by ArcPy?

Has anyone encountered, or aware of, a limit to the number of elements in an ArcGIS Pro layout that is manipulated by ArcPy? The reason I ask is that I have created an ArcGIS Pro 1.4.1 project that ...