Contents
Can you make a copy of a geodatabase?
The Copy tool can be used to make a copy of an existing geodatabase of the same type (for example, to make a copy of a file geodatabase). Both the schema and all the contents of the geodatabase will be copied.
Can you read an Excel file from ArcGIS?
Excel tables are read-only in ArcGIS as well as in Excel when you have a workbook open in ArcGIS. You will get error messages if trying to access an Excel file using an arcpy Update Cursor, but you can use Search Cursors to read data from an Excel file.
Can a python script be written in ArcPy?
I am writing a Python script that finds the difference between populations for U.S. counties from one year to another and writes that information to a new field in a xlxs file. Can it be done with ArcPy and what would the code look like?
How to create a dummy field in geodatabase?
In the original geodatabase, create a dummy featureclass with a dummy field that matches the field data type of the domain that you wish to copy. Copy/Paste the dummy featureclass into the new geodatabase and don’t delete it until you’ve assigned the domain to a field in another featureclass.
Is the ArcCatalog extension compatible with ArcGIS 10?
This is an ArcCatalog Extension that allows you to copy domains between geodatabases. I believe it is only up to date for 9.3.1 SP1, so it may not work with ArcGIS 10.
How to copy a domain to a table?
You can do a Domain To Table, but the Table To Domain always comes in as a coded value domain. This method is more hacky and only practical for 1 or a few domains. In the original geodatabase, create a dummy featureclass with a dummy field that matches the field data type of the domain that you wish to copy.
You cannot control access to individual datasets by modifying the permissions of individual files within a file geodatabase folder. However, you can share a file geodatabase folder as read-only with Windows Explorer. In this case, the read-only user can display and query but not edit the data.
What happens if you delete a file in a geodatabase folder?
Renaming and deleting individual files in a file geodatabase folder and copying files to another location cause data loss and can render the geodatabase unusable. For example, if you use Windows Explorer to move files to another geodatabase folder, you won’t be able to access the data.
How to move a shapefile to a geodatabase?
To move shapefiles, coverages, or data in another format into a file geodatabase, use the same method that you would use to move the data into a personal geodatabase. Select the dataset in the Catalog tree, right-click, then choose the Export > To Geodatabase command; use the To Geodatabase (multiple) command to export multiple datasets at once.
What’s the difference between a file and a personal geodatabase?
Personal geodatabases use UCASE and LCASE to convert string case, whereas file geodatabases use UPPER and LOWER. Dates and times in personal geodatabases are delimited using #, whereas in file geodatabases they are preceded by the word date.
Is the geodatabase the same in ArcCatalog and ArcMap?
Once in a file geodatabase, a dataset looks the same in ArcCatalog and ArcMap as in a personal geodatabase. Also, with the exception of spatial indexes and SQL queries, which are discussed next, you work with datasets the same way.