Search Results
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 |
A site-package created by Esri to expose ArcGIS Desktop (ArcMap and ArcGIS Pro) geoprocessing, mapping, etc, to Python.
0
votes
How to Release Locks on a featureclass in Arcpy
Had a similar issue and found that compacting the geodatabase effectively removed the locks that were persisting.
arcpy.management.Compact(<your_gdb>)
ESRI documentation on arcpy.management.Compact() …
0
votes
1
answer
801
views
Using arcpy.mapping.ListLayers() with no filter, but some layers are missing in list
I am trying to use arcpy.mapping.ListLayers() to access and change some of the properties on specific layers in my mxd prior to printing to PDF. Here is a screen cap of my layer list:
When trouble …
6
votes
2
answers
865
views
Using Python, Batch Project output won't drop into feature dataset?
When attempting to batch project in ArcGIS 9.3 or 10 (using either arcpy or arcgisscripting), I cannot get my geoprocessing results to drop into the feature dataset that I specify. …
9
votes
2
answers
10k
views
Creating line of varying distance from origin point using Python in ArcGIS Desktop?
I'm trying to create a line feature from a single point, using a set distance and angle using ArcGIS and Python (ArcPy). …
1
vote
How to divide a feature class into ranges?
Slight variation on @blah238's really great answer. Updated with arcpy.da goodness with appropriate tips'o'the cap documented:
The relevant function:
def getOIDChunks(inputFC, oidfield, groupsize): …
2
votes
Avoiding exclusive schema lock error with ArcPy?
If the preference is to remove specific SDE user locks, there is a way to do this via arcpy. … Example from the above link is very useful:
import arcpy
admin_workspace = "Database Connections/[email protected]"
arcpy.env.workspace = admin_workspace
user_name = "GDB"
# Look through the users in the …