Contents
How to check the modified date in Sde geodatabase?
It should connect to your SDE Geodatabase using the ArcPy class ArcSDESQLExecute and your connection file, then execute the SQL statement, return a list of records with the owner name, object type, creation date, and date last modified, then write the list to the output CSV file. Here is the output when I ran my script: And here is my CSV file:
How to compress a Geodatabase file in ArcGIS?
To compress a file geodatabase, right-click on it in the Catalog tree and click Administration > Compress File Geodatabase… and click OK. To compress a feature dataset, or stand-alone feature class or table, right-click on it in the Catalog tree and click Manage > Compress File Geodatabase… and click OK.
Is there a way to reproject a geodatabase?
You cannot reproject a geodatabase since it does not have a coordinate system. The spatial reference information is stored within each feature class, raster, and other geodatabase objects. The geodatabase is just a container which handles metadata information.
Can you use ArcCatalog to look at feature classes?
Have you ever tried using ArcCatalog to look at a listing of your feature classes in an SDE Geodatabase to see when they were modified, only to be disappointed that no dates are displayed? I was: If you’ve been around a while, remember that 1984 Wendy’s commercial with the old lady that kept saying “Where’s the beef?”:
How to use listfeatureclasses in ArcGIS 10.2?
Lists the feature classes in the workspace, limited by name, feature type, and optional feature dataset. The workspace environment must be set first before using several of the List functions, including ListDatasets, ListFeatureClasses, ListFiles, ListRasters, ListTables, and ListWorkspaces. The wild_card limits the results returned.
Which is a valid feature type in ArcGIS?
The feature type to limit the results returned by the wild_card argument. Valid feature types are: Annotation —Only annotation feature classes are returned. Arc —Only arc (or line) feature classes are returned. Dimension —Only dimension feature classes are returned. Edge —Only edge feature classes are returned.
How to iterate through a list in ArcPy?
I have the portion of code that iterates through these items and is the source of my issue below: arcpy.env.workspace = inputGDB dataset_list= arcpy.ListDatasets () for dataset in dataset_list: featureclass_list=arcpy.ListFeatureClasses (“”,””,dataset) for feature in featureclass_list: inpath=arcpy.Describe (feature).catalogPath