Solved: I have a tool to automate map export to TIFF for thousands of tiles. The active view (ArcGIS Pro 3.0.3) is exported to three (or more) TIFFs for evry tile
ArcPro GIS operations using esri arcpy library (plus a few more extensions). I have a licensed version of arcpro v 3.3.2 and it's running conda when running python 3.11. I am accessing a cloned arcgispro-py3-clone environment. So when I first set the pyenv it seems to be successful...
Branched to a new question from: How to use ArcPy Geometry MeasureOnLine Hey do you know how you would invoke the 'within' method? Been struggling with that one. It's on the Geometry site, but, alas no good sample 😕 Geometry—Help | ArcGIS for Desktop arcpy ...
arcpy.mapping.ExportToPDF(mxd, OutF)
In the code above, we first set the workspace to the folder containing your shapefile. Then, we specify the shapefile you want to work with. We use the arcpy.Describe function to obtain a description of the shapefile, and then we access the extent property of the description to get the ...
You cannot use os.walk to iterate through a gdb, rather use a combination of os.walk to find directories with gdb extension and then use arcpy.da.Walk to iterate through the gdbs. Something like this should work: OutPutWorkspaces = 'C:/FOLDER_RESULT/Result.gdb' matchFC1 = [] matchFC2...
Input zone raster:sink_areas Input weight raster:elevation Output raster:sink_max UseMinusto subtract the minimum value from the maximum value to find the depth. Input raster 1:sink_max Input raster 2:sink_min Output raster:sink_depth
import urllib.parse, urllib.request, os, arcpy, json If a token is required to access a secured service, use the snippet below. If not, skip to step 3. username = "adminaccount" password = "adminpassword" tokenURL = 'https://machine.domain.com/portal/sharing/rest/generateToken/' ...
The Raster Calculator tool is not intended to be used in scripting environments and is not available in the standardSpatial AnalystArcPy module. To learn more about scripting and Map Algebra, see the help topicWhat is Map Algebra? TheRaster Calculatortool is specifically designed to offer the fol...
spatialThe Language of ANALYSIS CONTENTS Foreword How to use this book Chapter 1 An introduction to spatial analysis Chapter 2 The vocabulary of spatial analysis Understanding where Measuring size, shape, and distribution Determining how places are related Finding the best locations and paths Detecting ...