|
POST
|
Hi all I just downloaded this sample and I would like o make it work with SDE http://developers.arcgis.com/en/javascript/samples/ed_simpletoolbar/ It only shows the attributes of the seelcted featreu but I can not digitize a new polygon or remove it Thanks
... View more
06-27-2013
08:44 AM
|
0
|
5
|
1757
|
|
POST
|
Hi, We are using: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 SQL*Plus: Release 11.2.0.1.0 Production on Thu Jun 27 08:10:57 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
... View more
06-27-2013
04:13 AM
|
0
|
0
|
2261
|
|
POST
|
Environment: - ArcGIS 10.1 SP 1 - ArcSDE 9.3 or 10.0 - Model Builder, Python or VB.net - Oracle 11G I have a script that copies several feature datasets from one SDe instance to another SDE instance. This is the process: - delete feature datasets - copy feature datasets from one SDE instance to anothr SDE instance. Scenario ArcSDE database in 9.3 or 10.0 empty - copy layers works Scenario ArcSDE database in 9.3 or 10.0 with feature datasets - delete feature datasets - if the feature datasets does not have any topology it works - if the feature dataset does have topology it fails Same Python script runs fine in a workstation with ArcGIS 10.0. Answers to your questions. You've got a 10.1 SP? Yes I am working with ArcGIs 10.1 SP 1 Geodatabase in Oracle ? Yes it is Oracle 11G A you've got a model that operates on a topology, and when you execute ? it generates an error. It generates an error only when I try to delete the feature dataset that has topology. The copy works fine. Are you explicitly deleting tables in the model? No, I only delete feature datasets. Did the tables exist before running the model? When you copy a feature dataset with topology it creates all the associated tables listed above Do they still exist after the model is run? After the model it run, the feature dataset is not in SDE anymore, it looks like it deletes it, but it shows an error. Is there anything else done before the DROP requests are made which may be deleting the ancillary tables? No, nothing is done before. This is the code I am testing: # Import arcpy module import arcpy # Local variables: MDC_TPDistrict = "Database Connections\\Dsde3 MAIN.SDE\\MAIN.TPDistrict" # Process: Delete arcpy.Delete_management(MDC_TPDistrict, "FeatureDataset") =========================================== TRACE traceback (most recent call last): File "C:\Workspace\Delete.py", line 17, in <module> arcpy.Delete_management(MDC_TPDistrict, "FeatureDataset") File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\management.py", line 3658, in Delete raise e ExecuteError: DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1190_PolyErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1190_LineErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1190_PointErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1192_PolyErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1192_LineErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1192_PointErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1191_PolyErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1191_LineErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist ][MDC.T_1191_PointErrors]] Failed to execute (Delete). >>>
... View more
06-24-2013
03:45 AM
|
0
|
0
|
2261
|
|
POST
|
Hi I tested this module with a ArcSDE 9.3 and ArcSDE 10 geodatabases and it fails in both.
... View more
06-24-2013
03:30 AM
|
0
|
0
|
2941
|
|
POST
|
Trace shown by the Model builder that removes the feature dataset in 10.1 This same model builder works in ArcGIS 10.0 or ArcGIS 9.3. Also it works ArcGIs 10.1 when deleting forma file geodatabase or a personal geodatabase. Could it be a bug in ArcGIS 10.1 when deleting a feature dataset with topology in SDE? Executing (Delete): Delete "Database Connections\Dsde33 SDER.sde\SDER.PsBasin" FeatureDataset
Start Time: Fri Jun 21 12:44:23 2013
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_7_PolyErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_7_LineErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_7_PointErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_6_PolyErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_6_LineErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_6_PointErrors]]
Table not registered [ORA-00942: table or view does not exist
] [SDER.T_6_LineErrors]
Table not registered [ORA-00942: table or view does not exist
] [SDER.T_7_LineErrors]
Table not registered [ORA-00942: table or view does not exist
] [SDER.T_7_PointErrors]
Table not registered [ORA-00942: table or view does not exist
] [SDER.T_7_DirtyAreas]
Table not registered [ORA-00942: table or view does not exist
] [SDER.T_6_PolyErrors]
Table not registered [ORA-00942: table or view does not exist
] [SDER.T_7_PolyErrors]
Table not registered [ORA-00942: table or view does not exist
] [SDER.T_6_PointErrors]
Table not registered [ORA-00942: table or view does not exist
] [SDER.T_6_DirtyAreas]
Table not registered [ORA-00942: table or view does not exist
] [SDER.PSBasinWithoutVolumeCustomer]
Table not registered [ORA-00942: table or view does not exist
] [SDER.PumpStationBasin]
Table not registered [ORA-00942: table or view does not exist
] [SDER.PumpStationBasinOrig]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.PumpStationBasinOrig]]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_7_PolyErrors]]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_7_LineErrors]]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_7_PointErrors]]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_7_DirtyAreas]]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_6_PolyErrors]]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_6_LineErrors]]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_6_PointErrors]]
DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][SDER.T_6_DirtyAreas]]
The item was not found.
The item was not found.
Failed to execute (Delete).
Failed at Fri Jun 21 12:45:42 2013 (Elapsed Time: 1 minutes 19 seconds)
... View more
06-21-2013
08:54 AM
|
0
|
0
|
2261
|
|
POST
|
Hi, If the feature dataset has topology these are tables that store topology. I copied the same feature dataset to a Personal Geodatabase, opened access and here they are the tables: - T_1_DirtyAreas - T_1_DirtyAreas_DirtyArea_Index - T_1_LineErrors - T_1_LineErrors_Shape_Index - T_1_PointErrors - T_1_PointErrors_Shape_Index - T_1_PolyErrors - T_1_PolyErrors_Shape_Index The question is why ArcGIS 10.1 does not allow to delete these tables using the Model Builder or Python? It works when using the same model builder or python in ArcGIS 10.0 or in ArcGIS 9.3.
... View more
06-21-2013
06:26 AM
|
0
|
0
|
2261
|
|
POST
|
Hi all How can I check the PolyErrors table in SDE? Thanks
... View more
06-20-2013
11:51 AM
|
0
|
10
|
5602
|
|
POST
|
Hi all I am working in ArcGIs 10.1. Deleting with python 10.1 or Model Builder 10.1 a SDE feature dataset that has features classes and topology fails with the following error. The feature dataset is in a SDE 9.3 geodatabase. If I delete the same feature dataset with a python script in 9.3 it works fine.
# Import arcpy module
import arcpy
# Local variables:
MDC_TPDistrict = "Database Connections\\Dsde3 MAIN.SDE\\MAIN.TPDistrict"
# Process: Delete
arcpy.Delete_management(MDC_TPDistrict, "FeatureDataset")
=========================================== TRACE
traceback (most recent call last):
File "C:\Workspace\Delete.py", line 17, in <module>
arcpy.Delete_management(MDC_TPDistrict, "FeatureDataset")
File "C:\Program Files (x86)\ArcGIS\Desktop10.1\arcpy\arcpy\management.py", line 3658, in Delete
raise e
ExecuteError: DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1190_PolyErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1190_LineErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1190_PointErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1192_PolyErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1192_LineErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1192_PointErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1191_PolyErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1191_LineErrors]] DBMS table not found [DBMS table not found [ORA-00942: table or view does not exist
][MDC.T_1191_PointErrors]]
Failed to execute (Delete).
>>>
... View more
06-20-2013
09:54 AM
|
0
|
11
|
6880
|
|
POST
|
Found this solution: http://forums.arcgis.com/threads/86402-Desktop-Console-Applicaiton-does-not-close-window-in-10.1
... View more
06-19-2013
05:36 AM
|
0
|
0
|
576
|
|
POST
|
Thank you for your answer Domenico. But how do you fix the problem of the Console Window that does not close when running the application as a stand alone .exe with STA instead of MTA? Is there a solution using STA in 10.1 or is it a bug? Regards But remember that: In the Single-Threaded Apartment (STA), a single thread is dedicated to execute the methods of the object. In such an arrangement, method calls from threads outside of the apartment are marshalled and automatically queued by the system (via a standard Windows message queue). Thus, the COM run-time provides automatic synchronization to ensure that each method call of an object is always executed to completion before another is invoked. The developer therefore does not need to worry about thread locking or race conditions. In the Multiple Threaded Apartment (MTA), the COM run-time provides no synchronization, and multiple threads are allowed to call COM objects simultaneously. COM objects therefore need to perform their own synchronization to prevent simultaneous access from multiple threads from causing a race condition. Calls to an MTA object from a thread in an STA are also marshaled. and model ArcObjects threading model: http://resources.esri.com/help/9.3/arcgisengine/dotnet/2c2d2655-a208-4902-bf4d-b37a1de120de.htm As an ArcObjects developer, this means that if your application is not initialized as a single threaded application, the .NET framework will create a special single threaded apartment (STA) thread for all ArcObjects since they are marked as STA. This will cause a thread switch to this thread on each call from the application to ArcObjects. In turn, this forces the ArcObjects components to marshall each call, and eventually it may be about 50 times slower for a call to the COM component. Fortunately, this can be avoided by simply marking the main function as [STAThread].
... View more
06-18-2013
11:54 AM
|
0
|
0
|
2112
|
|
POST
|
Changing the type of thread in the source code from STAThread to MTAthread worked. http://support.microsoft.com/kb/828988
... View more
06-14-2013
05:50 AM
|
0
|
0
|
2112
|
|
POST
|
http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000002ns000000
... View more
06-13-2013
03:04 PM
|
0
|
0
|
2112
|
|
POST
|
Hi all It looks like this code does not work in 10.1, at least it does nto close the console window when running a program created withVS 21010, ArcGIS 10.1 and .Net 3.5. [C#]
namespace ConsoleApplication1
{
class Program
{
[STAThread]
static void Main(string[] args)
{
// ...
}
}
}
... View more
06-13-2013
02:59 PM
|
0
|
0
|
2112
|
|
POST
|
Hi all I wrote a Desktop Console Application in 9.3 and it works fine. Then I upgraded to 10.0 and it works fine too. I copied the application to a Windows server 2008R2 with ArcGIS 10.1 recompiled, etc, and now I have a problem when I run the .exe alone, the Console Window does not close, it stays open. I am using VS 2010 VB.NEt and if I run the application from VS 2010 IDE it works fine, but running it as a stand alone program the Console Window does not close. I am checking the code and commenting the following line: pFeatureClass = gputilities.OpenFeatureClassFromString(pathOutput) the stand alone program works fine. Anyone with a similar problem 'ESRI License Initializer generated code.
If (Not m_AOLicenseInitializer.InitializeApplication(New esriLicenseProductCode() {esriLicenseProductCode.esriLicenseProductCodeAdvanced}, _
New esriLicenseExtensionCode() {})) Then
Console.WriteLine(m_AOLicenseInitializer.LicenseMessage())
Console.WriteLine("This application could not initialize with the correct ArcGIS license and will shutdown.")
m_AOLicenseInitializer.ShutdownApplication()
Return
End If
'
' Initialize the Geoprocessor
'
GP = New ESRI.ArcGIS.Geoprocessing.GeoProcessor()
gputilities = New GPUtilitiesClass()
'
' Read App settings
'
prefixOutput = System.Configuration.ConfigurationManager.AppSettings.Item("prefixOutput")
prefixOutputOwner = System.Configuration.ConfigurationManager.AppSettings.Item("prefixOutputOwner")
outputFC = System.Configuration.ConfigurationManager.AppSettings.Item("outputFC")
' FFeature class
pathOutput = prefixOutput & prefixOutputOwner & outputFC
'
' create points
'
Console.WriteLine("Start")
Try
' pathOutput = SDE Feature Class where the program creates points
pFeatureClass = gputilities.OpenFeatureClassFromString(pathOutput)
Console.WriteLine("Create Points")
' CreatePoints()
pFeatureClass = Nothing
Catch ex As Exception
End Try
m_AOLicenseInitializer.ShutdownApplication()
Console.WriteLine("End")
[ATTACH=CONFIG]25192[/ATTACH]
... View more
06-11-2013
05:01 AM
|
0
|
8
|
4571
|
|
POST
|
It is a bug: http://connect.microsoft.com/VisualStudio/feedback/details/570166/visual-studio-2010-keeps-enabling-client-application-services-for-my-project
... View more
06-07-2013
09:45 AM
|
0
|
0
|
576
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-01-2026 12:34 PM | |
| 1 | 12-02-2022 08:17 AM | |
| 1 | 12-26-2025 05:02 AM | |
| 1 | 08-05-2025 04:28 AM | |
| 1 | 08-05-2025 04:33 AM |
| Online Status |
Online
|
| Date Last Visited |
Wednesday
|