|
POST
|
Hi Miles, It appears the error is caused during the reconcile/post operation. You should have a version that was created in the SDE geodatabase when the data was checked back in. Do you receive an error when you try to reconcile and post this version using the versioning toolbar in ArcMap?
... View more
02-17-2012
03:06 AM
|
0
|
0
|
1254
|
|
POST
|
I was executing code similar to this. Have you tried declaring the 'key' in the update cursor. Ex: for row in uC:
key = row.getValue(keyField)
if row.getValue(keyField) in updateDict:
row.setValue(testField1, updateDict[key][0])
row.setValue(testField2, updateDict[key][1])
row.setValue(testField3, updateDict[key][2])
row.setValue(testField4, updateDict[key][3])
row.setValue(testField5, updateDict[key][4])
row.setValue(testField6, updateDict[key][5])
uC.updateRow(row)
... View more
02-15-2012
07:56 AM
|
0
|
0
|
2078
|
|
POST
|
Hi Nathan, You can perform the following steps: 1. Use the 'Project' tool to project the feature dataset containing the geometric network from the parent to the child geodatabase 2. Create the replica using the 'Register existing data only' option
... View more
02-14-2012
06:06 AM
|
0
|
0
|
1876
|
|
POST
|
I cannot say for sure if this will be available in 10.1. Your best bet would to be to remove the raster layers in the MXDs by iterating through each layer in each MXD, and then adding a layer file of the mosaic dataset to the MXD. I am assuming that the raster imagery is used as background data, so specifying "BOTTOM" for the position with the 'addlayer' method should work in most cases.
... View more
02-13-2012
09:26 AM
|
0
|
0
|
1542
|
|
POST
|
If you have the 3D Analyst extension you can use the 'Raster Domain' tool. This will produce a polygon or polyline boundary shapefile/feature class.
... View more
02-13-2012
09:06 AM
|
4
|
0
|
11465
|
|
POST
|
In the previous post the user ran into an issue when attempting to update an SDE Raster Dataset in an MXD with another SDE Raster Dataset. I recommended to use Mosaic Datasets rather than SDE Raster Datasets for better data management and performance. At the moment, updating the MXDs with Mosaic Datasets would be best accomplished manually. You could create a layer file of the mosaic dataset and then add the layer file using the 'addlayer' method, but you don't have many placement options when adding the layer file.
... View more
02-13-2012
08:52 AM
|
0
|
0
|
1542
|
|
POST
|
Hi Michael, You won't be able to change data types (i.e. Raster Dataset to Mosaic Dataset). You can only change the data source if the data type matches (i.e. Raster Dataset to Raster Dataset or Mosaic Dataset to Mosaic Dataset).
... View more
02-13-2012
08:13 AM
|
0
|
0
|
3158
|
|
POST
|
1. All users in edit role will be able to make local copy of feature data, edit it, then synchronize changes with server? Yes, if the 'edit role' is applied to Folder B, any user that is a part of this role will be able to edit the data by making a local copy. 2. Data that I add to the map, prior to publishing...does it need to be data from an SDE gdb? Data needs to be from a SDE gdb if you want to apply the 'Feature Access' capability. 3. I assume the sql-server instance would not necessarily need to be open to the internet for direct-editing as described in my 1st post? The SQL Server instance will not need to be open to the internet.
... View more
02-13-2012
04:11 AM
|
0
|
0
|
841
|
|
POST
|
If you have ArcGIS Server I would recommend using Feature Services. You can implement security on the services described here. Users can then connect to the services through ArcCatalog using an internet connection (given you are using a Fully Qualified Domain Name), make a local copy of the data, make edits, and then synchronize their edits back to the database. Here is a link that discusses how to do this.
... View more
02-10-2012
09:43 AM
|
0
|
0
|
841
|
|
POST
|
Hi Michael, You could append all feature classes to a list, and then analyze all feature classes that do not contain 'vw'. Ex: list = []
lstFCs = arcpy.ListFeatureClasses()
for fc in lstFCs:
list.append(fc)
for n in list:
if "vw" not in n:
arcpy.Analyze_management(n, "BUSINESS")
now = datetime.datetime.now()
analyzeLog.write(n + " Analyzed at: " + now.strftime("%H:%M:%S") + '\n')
... View more
02-10-2012
04:17 AM
|
0
|
0
|
2081
|
|
POST
|
Change your database connection to the PTD user and then execute your script to see if that makes a difference.
... View more
02-03-2012
09:57 AM
|
0
|
0
|
2844
|
|
POST
|
Yes, that's it! I was able to reproduce it that way. Do your MXDs only contain SDE layers, or do they have a mix of data? You can alter the code to find layers that do not have '.sde' in the dataSource. Below is an example that will only show broken data sources for SDE layers in an MXD that also contains broken data sources for File Geodatabase feature classes and shapefiles: import os, arcpy, sys
from arcpy import env
env.overwriteOutput = True
mxd_match = ".mxd"
for root, dirs, files in os.walk(r"C:\temp\python"):
fListLength = len(files)
if (fListLength != 0):
n = 0
for f in files:
if f.endswith(mxd_match):
full_path = root + "\\" + str(f)
try:
mxd = arcpy.mapping.MapDocument(full_path)
broken = arcpy.mapping.ListBrokenDataSources(mxd)
for n in broken:
for lyr in arcpy.mapping.ListLayers(mxd, n):
if '.sde' not in lyr.dataSource:
if '.gdb' not in lyr.dataSource:
if '.shp' not in lyr.dataSource:
print "SDE broken data source is " + lyr.name
del mxd
except:
print arcpy.GetMessages(2)
... View more
02-03-2012
09:39 AM
|
0
|
0
|
2298
|
|
POST
|
Everything appears to be correct, and it worked for my MXDs with broken data sources. I would suggest logging a call with Tech Support.
... View more
02-03-2012
08:33 AM
|
0
|
0
|
2298
|
|
POST
|
You can get the lat/long locations by creating a tool, but as Logan mentioned, you will most likely need ArcObjects to display the lat/long in a menu. Here is a tool sample that obtains the coordinates from where you click and copies the values to clipboard: http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=0BF2E736-1422-2418-3416-5AA910449F6E
... View more
02-03-2012
08:03 AM
|
0
|
0
|
6562
|
|
POST
|
I tested with broken data sources, and it still returned the full path. Can you post your code? Be sure to wrap it in the tags ("#" symbol). Also, what service pack are you running for ArcGIS Desktop?
... View more
02-03-2012
07:42 AM
|
0
|
0
|
2298
|
| Title | Kudos | Posted |
|---|---|---|
| 4 | 05-07-2020 05:14 PM | |
| 1 | 03-25-2026 04:16 AM | |
| 1 | 03-16-2026 01:00 PM | |
| 1 | 12-22-2025 10:39 AM | |
| 1 | 01-20-2026 04:04 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|