Contents
Can ArcPy test for availability of Sde connection before trying to use it?
Can ArcPy test for availability of SDE Connection before trying to use it? In a Python script that I use to publish ArcGIS 10.0 Geoprocessing Services I have some code: The reason I have it is that from time to time the maximum number of SDE Connections that the server can support may have been exceeded.
How is ArcGIS copy features Tool extremely slow when exporting to ArcSDE?
ArcGIS Copy Features tool extremely slow when exporting to ArcSDE? I have about 10 points in a file gdb that I am attempting to copy over to an sde feature set. In arcpy and in model builder it takes about a minute to execute. Do you know of any tips to speed this up?
Is there any way to test for availability in ArcPy?
If the SDE Connection is to an ArcSDE which is responding within a reasonable time. Does ArcPy have any means of testing SDE connections before trying to use them? try: if arcpy.Exists (PropertyTax_Parcels): arcpy.AddMessage (“Checking core Layer found? Yes and online”) except: raise Exception (“Layer not found”)
Do you know of any tips to speed up ArcPy?
In arcpy and in model builder it takes about a minute to execute. Do you know of any tips to speed this up? In SSMS I can query the table almost instantaneously, so there must be a bottleneck somewhere that I am not aware of, since the network is close to zero latency.
How to update data sources in enterprise geodatabase?
Here are several examples of updating the data sources for enterprise geodatabase layers: The enterprise geodatabase connection file specified in the current_connection_info parameter does not need to be the actual connection file used to create the layer.
How to change data source in ArcGIS Pro?
This script changes the data source of a relate on a layer. The script changes the dataset and the file geodatabase of the relate. This script changes the data source of a layer where the feature dataset names are different between the existing and new geodatabase. Updating the feature dataset requires modifying the CIM.