|
POST
|
Tim, I cannot reproduce this behavior on my machine, what version of ArcGIS (including service packs) are you using?
... View more
10-12-2012
07:54 AM
|
0
|
0
|
3097
|
|
POST
|
Tim, If you go into your geoprocessing options and check the box for 'Add results of geoprocessing operations to the display' do the results get added to your map?
... View more
10-11-2012
08:25 AM
|
0
|
0
|
3097
|
|
POST
|
For almost all use cases you should be able to use python to get at the information you are looking for. Take a look at the workspace describe properties: http://resources.arcgis.com/en/help/main/10.1/index.html#/Workspace_properties/018v0000002v000000 Use the release property to find the geodatabase release: arcpy.Describe('Database Connections\\test.sde).release Use the currentRelease property to find out if the geodatabase is current: arcpy.Describe('Database Connections\\test.sde).currentRelease With service pack updates the geodatabase version typically does not change but we do sometimes update geodatabase internals such as stored procedures. You can use the currentRelease property to determine if stored procedures may have been updated at the service pack and thus need to be updated on your server. The currentRelease property compares the version of Desktop (or Server) you are using to run Python to the geodatabase you are describing. Hope this helps,
... View more
09-27-2012
09:56 AM
|
0
|
0
|
5488
|
|
POST
|
Hi Jason, Unfortunately this is a bug with the CreateDatabaseConnection the bug number is NIM083195. For the time being you have three options. 1. You can use the CreateArcSDEConnectionFile gp tool to create the connection. 2. After creating the connection you can edit it using ArcCatalog or the Catalog window in ArcMap to make it point to the new version. 3. Run the tool from ArcMap or ArcCatalog, the issue is only reproducible using Python. Note, if you want to make a direct connection using the first option, you can use the direct connect syntax outlined here in the 10.0 help. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Making_a_direct_connection_from_ArcGIS_Desktop_to_a_geodatabase_in_SQL_Server/002q00000039000000/
... View more
09-20-2012
08:43 AM
|
0
|
0
|
1534
|
|
POST
|
This should do the trick: import arcpy arcpy.env.workspace = r'Database Connections\Test.sde' dataList = arcpy.ListTables() + arcpy.ListFeatureClasses() + arcpy.ListRasters() + arcpy.ListDatasets("", "Feature") for dataset in dataList: desc = arcpy.Describe(dataset) if desc.isVersioned: print desc.name
... View more
08-16-2012
07:44 AM
|
0
|
0
|
485
|
|
POST
|
Hi Mike, Asrujit is correct, the operations you are mentioning (register, unregister, analyze, etc) need to be done by the owner of the data. If you are not connected as the data owner the manage options will be greyed out.
... View more
08-14-2012
10:40 AM
|
0
|
0
|
439
|
|
POST
|
I tried to repro this on a number of machines here and was unable to. I would suggest contacting Tech Support so that they can help determine where this is failing.
... View more
08-06-2012
01:45 PM
|
0
|
0
|
1391
|
|
POST
|
Hi James, If you reference the full path to the data (feature class with attachments enabled) when you run the tool rather than the layer name from the TOC do the attachments get added successfully?
... View more
07-20-2012
07:58 AM
|
0
|
0
|
1391
|
|
POST
|
Yes thats it! that would be perfect! Please hurry as this would be Indispensable to me!. Many thanks! This is in ArcGIS 10.1, it will be shipping soon. http://resources.arcgis.com/en/help/main/10.1/index.html#/Working_with_the_Attachments_geoprocessing_tools/00170000017z000000/
... View more
07-03-2012
01:56 PM
|
0
|
0
|
1467
|
|
POST
|
My best guess is that the conflict error is incorrect and you *should* be getting a different error due to insufficient privileges on the version you are trying to reconcile/post. Make sure that you selected the appropriate target version in the reconcile version tool. Also, that when you test in ArcMap you are pointing to the same versions you are using in the tool. If this is not the case I would recommend you contact support so that they can help you get to the bottom of this.
... View more
06-17-2012
02:49 PM
|
0
|
0
|
680
|
|
POST
|
Alan, To further add on to what Jake said... Prior to 10.1 (10.0, 9.x, 8.x) if you wanted to use a Geodatabase with all of the cool Geodatabase functionality (versioning, archiving, topology, relationship classes, terrains, geometric networks, etc) on a DBMS (Oracle, SQL Server, Postgresql, Informix, DB2) you had to perform a few steps. First, you needed to install ArcSDE onto your machine, usually this was your DBMS server. This install included the files needed to run ArcSDE command line utilities, the application server, as well as the ArcSDE post installer. After installing this onto your machine you would need to run the ArcSDE post installer. The main purpose of this post install was to install the Geodatabase into your enterprise database. This includes all the stored procedures, functions, privileges, and schema needed to provide the functionality I mentioned earlier. The post install could also be used to set up your application server. The application server can be used to connect from a client machine to the DBMS/Geodatabase. It is used more or less to manage the connection requests coming in from clients and provide a way for the clients to 'talk' to the DBMS. For a while this was the only way to connect to a Geodatabase. At some point (I think 9.0) we added the ability to make direct connections (2-tier: client-DBMS) to the DBMS. This made the use of the application server (3-tier: client-app server-dbms) optional. For some people this meant they stopped setting up the application server and started using direct connections. Others continued using the application server. The ArcSDE command line utilities are a method for the Geodatabase administrator to manage data, users, the application server service. Fast forward to 10.1 - We have tried to allow you to manage your Geodatabase completely within ArcGIS applications (ArcCatalog, ArcMap, ArcGIS Server, etc). This is done through the use of dialogues in ArcMap/Catalog and the use of geoprocessing. The first thing we did was to break out the installation of the geodatabase schema tasks into geoprocessing tools. If you want to create an enterprise geodatabase there are now two options. Option 1, you can use the 'Create Enterprise Geodatabase' geoprocessing tool. This tool will create a new empty geodatabase in an existing instance. The second option is to use the 'Enable Enterprise Geodatabase' tool will allow you to install the Geodatabase schema in an already existing instance. The new functionality that Jake mentioned that allows you to now connect to a enterprise database (not a geodatabase) is what allow ArcGIS to then enable geodatabase behavior in your enterprise geodatabase. This second option would be used where you have already set up a database, have user permissions assigned and maybe have loaded some data (essentially converting your database to a geodatabase). The first option would be used if you are starting from nothing. Esri recommends using direct connections for making connections to your geodatabase, it is not mandatory that you install the application server. Much of the commonly used functionality found in the ArcSDE command line utilities is now available either through ArcGIS applications mentioned earlier or through geoprocessing (disconnecting users, identifying locks, loading data, investigating data, etc). For most users the install of these utilities should not be necessary. If you determine that you really need the application server or the command line utilities they are available as a separate install. So, this has been a pretty long winded answer to a pretty straightforward question. Answer is, it's not mandatory to install the application server or command line utilities. If you want to take advantage of Geodatabase behavior you do need to run one of the geoprocessing tools to install the Geodatabase.
... View more
05-11-2012
08:38 AM
|
6
|
1
|
3363
|
|
POST
|
The following code should help. I put in an excessive amount of comments to make this clear as I don't know your skill level with Python. import arcpy #Create a table in memory to hold the codes and their descriptions for a particular domain. cvdTable = arcpy.DomainToTable_management(r'C:\vancouver.gdb', 'type', 'in_memory/cvdTable', 'codeField', 'descriptionField') #Create an empty dictionary. d = {} #Create a cursor to loop through the table holding the domain and code info rows = arcpy.SearchCursor(cvdTable) # Loop through each row in the table. for row in rows: # For each row in the table populate the key with the code field and the value from the description field d[row.codeField] = row.descriptionField #Cleanup del row del rows # Create a search cursor on the table with the domain rows2 = arcpy.SearchCursor(r'C:\vancouver.gdb\TESTFC') # Loop through the records in the table. for row2 in rows2: # Print the dictionary value for each code that is returned from this search cursor print d[row2.PipeType] #Cleanup del row del rows Hope this helps.
... View more
04-12-2012
12:06 PM
|
1
|
0
|
5776
|
|
POST
|
I talked to Support and they say that they added your customer ID to the bug and you should now see it through the customer care portal (http://customers.esri.com).
... View more
04-12-2012
11:03 AM
|
0
|
0
|
862
|
|
POST
|
This is a bug, NIM079735 - The change version tool does not accept table view as input. The workaround is to create a connection file that uses the version that you want to access and then access your table through that connection file.
... View more
04-11-2012
09:15 AM
|
0
|
0
|
862
|
|
POST
|
Phil, It appears that the issue with using insert cursors against versioned data was only partially fixed. Using insert cursors should work against the Default version, however they still appear to be broken against other edit versions in 10.0 SP4. A new bug has been submitted for this: NIM079496 - When editing non-Default versions using insert cursorts the inserts are not being applied in 10.0 SP4. This works in 10.1 Pre-release and we plan to ensure this gets fixed in an upcoming service pack. If you have access to a 10.1 Desktop machine you could use this to perform your updates as the fix is on the client side not the geodatabase/server side. Russell
... View more
03-30-2012
02:21 PM
|
0
|
0
|
1716
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-10-2025 06:48 AM | |
| 4 | 05-21-2025 08:31 AM | |
| 3 | 05-20-2025 12:14 PM | |
| 1 | 08-29-2013 08:26 AM | |
| 1 | 08-20-2014 11:38 AM |
| Online Status |
Offline
|
| Date Last Visited |
17 hours ago
|