Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 103382

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

0 votes
0 answers
416 views

How to specify Python Executable file as Interpreter ArcGIS Pro Custom Script Tool

I am converting a stand-alone script to a ArcGIS Pro custom script tool. When I run the script, everything runs according to plan, however I get an error when I run it as a tool. AttributeError: modu …
ENIAC-6's user avatar
  • 916
1 vote
1 answer
812 views

Why do ArcPy SQL expressions use three double quotes?

I am using ArcGIS Pro 2.4 and I am trying to understand why ArcPy SQL expressions use three double quotes. ESRI's "Specifying a query in Python" page, https://pro.arcgis.com/en/pro-app/arcpy/get-start …
ENIAC-6's user avatar
  • 916
2 votes
1 answer
154 views

Running Python Toolbox in Background

I would like my Python Toolbox to be processed in the background. On this ESRI Technical Support Page, it states "Since ArcGIS Pro is itself a 64-bit application, a separate process for background geo …
ENIAC-6's user avatar
  • 916
3 votes
1 answer
85 views

Seeking dataset to create reproducible ArcPy example for ArcGIS Pro

I would like to create a reproducible example for ArcPy (for ArcGIS Pro) and cannot locate any example feature classes or rasters that come with installation. I am looking for something like the Tem …
ENIAC-6's user avatar
  • 916
0 votes
1 answer
258 views

Tabulate Area Truncates Field Names in ArcGIS Pro?

I'm trying to use the Tabulate Area tool in ArcGIS Pro (version 2.2.1) to cross tabulate two rasters: one raster of zones (where value = true crop type) and a second raster is a supervised classificat …
ENIAC-6's user avatar
  • 916
1 vote
1 answer
563 views

Test Schema Lock does not catch open feature class from within ArcGIS Pro

I am working on a script tool to be run in ArcGIS Pro (version 2.4.0 with Python 3.6.8) and wish to give the user a warning message and also time to close a feature class so as to avoid the script bre …
ENIAC-6's user avatar
  • 916
2 votes
1 answer
54 views

Transfer NoData value with MosaicToNewRaster in arcpy

I am trying to create a mosaic dataset that keeps the properties of the original rasters. However, when I try to use arcpy's MosaicToNewRaster, the nodata type of -999999.0 is not carried over. I woul …
ENIAC-6's user avatar
  • 916
1 vote

Transfer NoData value with MosaicToNewRaster in arcpy

Thanks to user2856's comment, using gdal from my cloned arcgispro-py3 environment worked (code from: https://www.youtube.com/watch?v=sBBMKbAj8XE). from osgeo import gdal import glob, os directory_tif …
ENIAC-6's user avatar
  • 916
5 votes
2 answers
373 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 N …
ENIAC-6's user avatar
  • 916
0 votes
0 answers
75 views

NDVI processing template does not scale from -1 to 1 on WorldView-2 Mosaic Dataset using Arc...

I am trying to apply the NDVI raster function to a mosaic dataset with WorldView-2 tiles. When I use the NDVI raster function and "Create new layer", the values displayed range between -1 and 1 as I w …
ENIAC-6's user avatar
  • 916
1 vote
1 answer
360 views

Access layer of raster stored in memory using ArcPy to create NDVI from subset of multi-band...

I am trying to create a final output of an NDVI raster for a number of Landsat images run through a for loop in Python 3 (for ArcGIS Pro). I am able to produce the NDVI rasters when I save the interme …
ENIAC-6's user avatar
  • 916
1 vote
0 answers
164 views

Add Rasters to Mosaic Dataset eliminates bands using ArcGIS Pro

I am trying to create a mosaic dataset that can have any MAXAR imagery added to it (i.e. 4 band GeoEye or 8 band WorldView-2). In order to do so, I have created a Mosaic Dataset without specifying the …
ENIAC-6's user avatar
  • 916
0 votes
1 answer
1k views

Using "IN" within where clause of arcpy.MakeFeatureLayer_management

I am using ArcGIS Pro 2.4.0, with Python 3.6.8. I found the following similar posts but could not figure out how to apply them: Using Python Search Cursor results to Select Features by Attributes and …
ENIAC-6's user avatar
  • 916
0 votes
1 answer
38 views

Missing Outputs with ArcPy RasterToASCII and ThreadPoolExecutor

When I use ThreadPoolExecutor, I am missing a random number of expected outputs. I tried making an MRE to show what I am trying to do. The first MRE works but when I run a second MRE (which is closer …
ENIAC-6's user avatar
  • 916