|
POST
|
The definition queries and the results are shown below FACILITY_TYPE LIKE 'TCR' - with records FACILITY_TYPE LIKE '%TCR%' - No record FACILITY_TYPE LIKE 'TCR%' - No record What is wrong in the queries w/ wild card character? Thanks.
... View more
06-28-2017
05:37 AM
|
0
|
2
|
1340
|
|
POST
|
Below is the piece of code (an Add-In tool) I used for updating a feature layer loaded in a .mxd void Update_Layer(IFeatureLayer sourceLayer, IFeatureLayer targetLayer) { IWorkspace ws = ((IDataset)targetLayer).Workspace; IPropertySet propSet = ws.ConnectionProperties; IVersion version = ((IVersionedWorkspace)ws).FindVersion(propSet.GetProperty("Version").ToString()); // version - myTestversion m_workspaceEdit = (IWorkspaceEdit)version; .... } The targetLayer loaded in .mxd is myTestVersion. In this updating, the results show that the featureClass in both myTestVersion and SDE.Default got updated. I only want to update myTestVersion. I don't know why it happens. Thanks if you can help.
... View more
06-27-2017
06:52 AM
|
0
|
0
|
480
|
|
POST
|
My objective is to check if a feature (in FeatureClass A, termed A.feature here) overlaps another feature in FeatureClass B (termed B.feature here). How can I apply the Topology rules to do it programmatically? Thanks if you can help.
... View more
06-26-2017
06:53 AM
|
0
|
0
|
419
|
|
POST
|
Problem solved by re-set FW=4.0 from 4.5 (also including the runtime verion). Thanks.
... View more
05-19-2017
11:36 AM
|
0
|
0
|
443
|
|
POST
|
I developed an Add-In in VS2012 on my development environment. But when I deployed on other CPU's, the Add-In causes ArcMap crashing. The exception received shows that System.NullReferenceException: Object reference not set to an instance of an object at ... Line 76 Line 76: m_mxDoc = (IMxDocument)m_app.Document; // where the IApplication m_app is null; What's the possible solution for solving this problem? Thanks.
... View more
05-12-2017
04:39 AM
|
0
|
1
|
762
|
|
POST
|
I created an Add-Ins App using VS2012, FW4.5. It works well on ArcMap 10.2 of my CPU. However it does not work when it is loaded on other 2 CPUs. In one of CPUs, ArcGIS 10.2 (same version as my one), clicking the Add-In icon leads to the close of the ArcMap. In another CPU in which ArcGIS 10.4 Desktop is used. After clicking on the tool icon, an error message pops out: "Add-In Version Not Match". From the thread Error: No GUI components found in this Add-In. Add-In version does not match , I checked the Config.esriaddinx file, in which <Targets> <Target name="Desktop" version="10.2" /> </Targets> Will the 10.2 be the problem of "Version Not Matched"? Thanks if you can share your experience.
... View more
05-10-2017
10:43 AM
|
0
|
1
|
1375
|
|
POST
|
I re-built my Add-Ins programmed in VS2012 after my CPU was re-formatted. Unfortunately, the image icon does not display. What's the possible solution to debug it? Thanks.
... View more
05-04-2017
10:35 AM
|
0
|
0
|
1007
|
|
POST
|
I fixed the problem by replace the SDE Connection using ESRI's procedure (Repairing MXD Data Connections ). Thanks.
... View more
04-11-2017
06:43 AM
|
0
|
0
|
484
|
|
POST
|
Recently, I executed the ArcGIS Desktop Patches, which include: ArcGIS-1022-DT-GFSSO-Patch.msp ArcGIS-1022-DT-OCPU-Patch.msp ArcGIS-1022-DT-OSSLU-Patch.msp After that, All of the connections to the SDE FeatureClass layers in my MXDs are lost and can't be repaired. Anyone knows the approach how to fix it? Thanks.
... View more
04-11-2017
06:09 AM
|
0
|
1
|
718
|
|
POST
|
This is .Net (Silverlight) program. I want to add a Graphic item to a GraphicsLayer. The related code is listed below GraphicsLayer newGLyr = new GraphicsLayer(); for (int i = 0; i < gLayer.Graphics.Count; i++) { Graphic g = gLayer.Graphics; if (!isDuplicate(newGLyr, g)) newGLyr.Graphics.Add(g); } However, I got the runtime error: Specified argument was out of the range of valid values. Parameter name: Graphic is already associated with another layer. How can this be fixed? Thanks.
... View more
03-24-2017
07:09 AM
|
0
|
0
|
811
|
|
POST
|
Tried in the same way as you recommended. I have used an alternative approach done this work. What I used is ESRI's ArcDataBinding components (Bind a geodatabase table to a .NET control ). Thanks for your response.
... View more
02-21-2017
12:09 PM
|
0
|
0
|
1431
|
|
POST
|
The feature classes in my app are stored in our SDE for Oracle DB. In Oracle SQL Developer, I can query tables in the DB. However, I can't run SQL on a FeatureClass, e.g., like the SQL statement below: SELECT * from myFCName Is it possible to do such a kind of query? Thanks.
... View more
02-21-2017
10:53 AM
|
0
|
3
|
2067
|
|
POST
|
I created an Add-In project on VS2010. When I run debugging after clicking the tool button on ArcMap, such an error pops out: xxxx.pdb not loaded. Then, I checked the folder where the Add-In tool file locates, I could not see the xxx.pdb. It means when I compile the project, the .pdb is not generated. How can this problem be fixed? Thanks.
... View more
02-17-2017
07:40 AM
|
0
|
0
|
1326
|
|
POST
|
The problem was due to the expiration of the license. Solved after updating the license issue. Thanks.
... View more
02-13-2017
04:12 AM
|
0
|
0
|
504
|
|
POST
|
Software: ArcGIS Server 10.1 Description: Tried to Add / Update a .soe but failed. The VS2010 was launched but the .soe program code is not attached in the open ArcSOC. The message in ArcGIS Server Manage Logs is below: Failed to login, invalid username or password. I had no such problem before. Unknown why it happens. Appreciate if you can help.
... View more
01-26-2017
10:06 AM
|
0
|
2
|
1495
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-18-2023 10:02 AM | |
| 3 | 07-14-2023 12:29 PM | |
| 1 | 04-02-2021 12:16 PM | |
| 1 | 07-24-2017 11:31 AM | |
| 1 | 04-04-2016 03:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-01-2025
11:58 AM
|