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 53383

A site-package created by Esri to expose ArcGIS Desktop (ArcMap and ArcGIS Pro) geoprocessing, mapping, etc, to Python.

1 vote

Speeding up Python Script tools get of raster properties using ArcPy?

You could try cutting out ArcPy by converting it to an array and then using numpy's minimum function. …
PolyGeo's user avatar
  • 65.4k
1 vote

Loop a Select by Attribute on all features (ArcPy)

I think you want a for loop to iterate through your polygon features. So if you have the list of features in your Expression variable: Expression = ... if stuff: ... for i in Expression: arcpy …
Clay's user avatar
  • 512
-1 votes

ArcPy PrintMap is cutting off part of layout?

You didn't say what version of Arc, but here's some additional properties of MapDocuments. It looks like you can control many more options (try searching that page for 'print' to pick out the import …
Clay's user avatar
  • 512
1 vote
Accepted

ArcGIS 10.2.1 arcpy handling quote mark styles

My response to the user is to ensure all quote marks are consistent either ' or ". That is the answer. But to explain the failing code you need to understand "the computer" is not having the pro …
Community's user avatar
  • 1
6 votes

Usage of 'in' in Python

in provides a quick logical test for determining if a value is contained in a list, dict, or string. if from_g in dct_max: either from_g is found in dct_max (true) or it's not (false). The rest o …
Clay's user avatar
  • 512