Tagged Questions
2
votes
1answer
49 views
Explicitly locking a file geodatabase
I need to lock a file geodatabase (or only a single Mosaic dataset) at the beginning of a python script (and release it in the end).. I looked and looked and couldn't find any explicit arcpy command ...
2
votes
1answer
34 views
How to replicate an unversioned SDE geodatabase to a file geodatabase?
I need to implement a process for creating a file geodatabase copy (a read-only snapshot, essentially) of a production SDE geodatabase without using versioning, adding global ID columns, etc. I cannot ...
1
vote
1answer
40 views
mosaic raster to file geodatabase yields missing raster sections
Since upgrading to ArcGIS 10.1 (SP 1) from 10.0, I've been encountering an issue when running the arcpy.MosaicToNewRaster_management() tool with output to a file geodatabase. I'm principally working ...
1
vote
2answers
132 views
How to list Feature Classes of Multiple geodatabase in Multiple Folder?
I'm new in python scripting and try to list polyline feature classes of multiple Geodatabases. The Geodatabases are in many nested folders.For example in folder "A" I have 20 folders and in each ...
5
votes
1answer
104 views
How much database bloat is reasonable?
I use personal geodatabases to hold all the data for my projects (probably around 10-20 feature classes across 2-4 datasets on average). I use the personal gdb because I like being able to hook into ...
1
vote
0answers
57 views
Are multiple separate feature classes more efficient than repeatedly deleting all features from the same feature class?
Quick Version: Is it more efficient, in terms of database performance, to have multiple separate temporary feature classes or one feature class that you repeatedly empty out and fill?
I am working ...
1
vote
0answers
123 views
Clipping .mdb in place and schema locks
I have an .mdb with a feature class that I want to clip in place - that is, I want to clip it with another polygon, and then store the results back in the original .mdb. I am doing this with arcpy. My ...
3
votes
2answers
301 views
arcpy - how to check if a domain contains a particular coded value?
How can I check if a domain contains a particular coded value?
How to check if domain already exists? shows how to verify whether a domain exists in a geodatabase.
However, I can't see how to check ...
4
votes
2answers
537 views
How to programmatically work with featureclasses from multiple geodatabases?
I have produced a Python script which creates multiple buffers of specific (listed) featureclasses within a geodatabase. This is achieved by running each feature through a for loop.
I would like to ...
4
votes
1answer
181 views
String format for geodatabases in ArcPy scripts
Several ArcPy functions take strings as geodatabase identifiers. I've looked through the ESRI docs, but can't find a good reference for the various acceptable formats. I'm looking for examples of ...
5
votes
1answer
177 views
Changes in synchronized replica not shown in ArcMap or ArcCatalog without refreshing
I am synchronizing a one-way replica in ArcEditor using Python. I tried adding RefreshActiveView and RefreshCatalog to the code, but I still need to refresh the synchronized database to see the ...
4
votes
2answers
417 views
How to check if domain already exists?
I am trying to check the existence of domains in my file geodatabase which contains 4 domains (automatically populated after I created some annotation feature classes). My code is as follows:
import ...
9
votes
1answer
471 views
How to get the size of a file geodatabase feature class on disk?
Is there a simple way to determine the amount of hard drive space a feature class takes up? I feel like I'm missing something simple, but I don't recall a method that does so. You would think that ...
6
votes
2answers
760 views
Creating geodatabase from CSV using python
I have a file with weather data (daily) for multiple weather stations for multiple years. I am looking for some python script to automate the database creation process and its interpolation on a daily ...
3
votes
1answer
814 views
How to list all of the contents of a geodatabase with arcpy?
This seems like a simple problem, but I have not found a way to accomplish it. I am writing a script that needs to record the paths of everything inside of a geodatabase to a text file, and later copy ...
0
votes
1answer
177 views
Insert cursor raises exception on geodatabase
world,
I'm having trouble to insert a line geometry into a personal geodatabase (using Python/ArcGIS 9.3.1). Everything works fine if the target feature is a shapefile. My guess is that calling:
...
3
votes
1answer
548 views
Referencing Feature Dataset in File Geodatabase with ArcPy
It's probably an obvious one but since I'm new to arcpy I'd appreciate any help.
I'm trying to develop an arcpy script which will eventually loop through number of rasters and feature classes stored ...
4
votes
1answer
353 views
Determining ESRI File Geodatabase release version?
Is there any method in Python, ArcObjects, or the File GDB API for determining the release version (9.3, 10.0, etc.) of a file geodatabase? There is a need to find all of our shared 10.0 version file ...

