Hi all,
I am upgrading a water utility to ArcMap and Enterprise 10.6.1 from v10.2.1. Part of the upgrade process is to change the coordinate system of all the datasets. I wrote ArcPy code to perform in-place transformation to a new coordinate system. Core logic is;
1. Project all root feature classes and feature classes in the datasets to a temporary geodatabase with intended coordinate system.
2. Truncate all feature classes and datasets in the original workspace.
3. Change the spatial reference of the original workspace datasets and root feature classes to the intended coordinate system.
4. Append projected data from the temporary geodatabase classes back to source datasets and classes.
This avoids dropping existing feature classes keeping all permissions etc same. And it seems to be working correctly.
However, some of the datasets have geometric network and I am struggling to transform these. Most of the commands such as "project" etc do not work on feature classes that participate in the GN. I was hoping to export the geometric network, drop or disable the geometric network, change coordinate system of the datasets using above method and re-import or re-enable the geometric network. Unfortunately, there is no tool to export the geometric network with feature classes that participate in it, all connectivity rules and weights. Even arcpy.Describe does not give me the connectivity rules and weights so that I can write my own "rebuild" geometric network code. Is there any option to programmatically export and import/rebuild a geometric network. Only link I can find is https://www.arcgis.com/home/item.html?id=fa4e4cdd3bf64be7a1287fd1fd12e2f1 which seems to a arcmap 10.2 addin and there is no 10.6+ version for it.
Any help is very much appreciated.
Thanks,
Vish