I have an SDE geodatabase with several feature classes, tables, relationship classes, and domains. All the feature classes are currently in WGS84 coordinate system.
I need an exact copy of the entire geodatabase, but with all feature classes projected in the appropriate state plane coordinate system.
I used the feature class to feature class tool to copy the feature classes from one gdb to another and set the environment output coordinate system to state plane, but I lost all of the relationships and tables.
Is there a way to do this in one step without having to recreate all the relationship classes?
Answer
Thanks all for your responses. Unfortunately, none of the solutions mentioned did the trick for me, although I'm sure they would all work under slightly different circumstances.
The resolution is in the following steps:
- Feature Class to Geodatabase (multiple) to copy all feature classes from the original geodatabase to the new empty geodatabase.
- Set Environments on Feature Class to Geodatabase tool with Output Coordinate System specified in desired new coordinate system.
- Table to Table tool (multiple) to copy all tables from the original geodatabase to the new geodatabase.
- Manually recreate all relationship classes.
I wish there were a better solution to this, but I just couldn't get it to work without breaking all the relationship classes. I hope this helps someone in the future.
No comments:
Post a Comment