POST
|
Okay thanks! (So this could be a reason to buy a new laptop ;-))
... View more
01-03-2017
06:01 AM
|
0
|
0
|
452
|
POST
|
I know I do not meet the hardware requirements and this is the error I'm getting: I don't think it's possible, becaus OpenGL4.1 is not supported for Intel HD Graphics 4000. But maybe someone knows a simple workaround ?
... View more
12-30-2016
03:12 AM
|
0
|
2
|
1315
|
POST
|
When I use a VM (win7, fresh VS2015community, fresh Pro 1.3.1) all goes well, luckily. I can debug again! 😉 Thank you all for the help, though!
... View more
11-19-2016
12:20 PM
|
0
|
0
|
448
|
POST
|
Fully uninstalled and installed VS2015 (Community). And also uninstalled and installed ArcGIS Pro. Installations with firewall and virusprotection disabled. Also done some restarts in between. No effect at all. Still the same problem. I'm going to give it a go on a VM.
... View more
11-12-2016
02:47 AM
|
0
|
0
|
448
|
POST
|
Hi Wolfgang, Thanks for the research. I'll try to re-install / repair VS as you proposed. I'll share the results.
... View more
11-06-2016
12:07 PM
|
0
|
1
|
448
|
POST
|
Win 10 pro VS Community 2015 update 3 ArcGIS Pro 1.3
... View more
11-03-2016
01:11 PM
|
0
|
0
|
448
|
POST
|
Hi Yuan, I removed all AddIn's, created a new (Pro) project/solution and added a button. Started a debug-session. Same result. Map starts loading (the 3 vertical lines), then suddenly stops. I get the System.AggregateException on a certain moment again. Running tasks: Not Flagged 5808 Awaiting Async: <Initialize>d__0 Not Flagged 5807 Blocked System.Threading.WaitHandle.InternalWaitOne Task: <WaitForViewState>b__2c Regards, Collin Kleiboer.
... View more
11-03-2016
12:47 PM
|
0
|
0
|
1211
|
POST
|
I tried with the base map and also with only a local featureclass (both 2D). But the results are the same. See my response to Wolfgang below...
... View more
11-01-2016
01:37 PM
|
0
|
0
|
1211
|
POST
|
Hello Wolfgang and Charles, Thanks for responding. Both your code work, but only if I create a new project during the debugging. If I want to start debugging with a recent project, it fails to load the mapview. The problem (in my opinion) is not in the code, but in my environment/settings. Occasionally I was able to see some exception message: System.InvalidOperationException: The map viewer is not initialized. at ArcGIS.Desktop.Mapping.MapView.ValidateCanCallMapViewer(Boolean throwEx) at ArcGIS.Desktop.Mapping.MapView.ZoomTo(Geometry geometry, Nullable`1 duration, Boolean maintainViewDirection) at effe2.Button2.<>c__DisplayClass1_0.<OnClick>b__0().... Are there known issues with a not initializing mapviewer (in debug mode) on a saved ArcGIS Pro project? Maybe in combination with particular debug settings or other VS extensions (like WebEssentials)? Best regards, Collin Kleiboer
... View more
11-01-2016
01:34 PM
|
0
|
0
|
1211
|
POST
|
Hello Charles, Thank you. It looks like it has to do with the use of the MapView in the code. I created a very simple test AddIn with only 1 button. After commenting the bold lines below, it works like it should. The initial problem remains: the MapView is not loading well when debugging (white map), TOC loads only after focussing. using System; using ArcGIS.Desktop.Framework.Contracts; //using ArcGIS.Desktop.Mapping; using ArcGIS.Core.Geometry; using ArcGIS.Desktop.Framework.Dialogs; using ArcGIS.Desktop.Framework.Threading.Tasks; namespace effe { internal class Button1 : Button { protected override void OnClick() { //testen try { QueuedTask.Run(() => { string test = "{ \"xmin\" : 1, \"ymin\" : 2,\"xmax\":3,\"ymax\":4,\"spatialReference\":{\"wkid\":4326}}"; Geometry geom = GeometryEngine.ImportFromJSON(JSONImportFlags.jsonImportDefaults, test); //IDisposable x = MapView.Active.AddOverlay(geom); MessageBox.Show("toegevoegd: " + geom.ToString() + " json: " + geom.ToJson()); } ); } catch (Exception ex) { MessageBox.Show("FOUTJE: " + ex.ToString()); } } } }
... View more
10-31-2016
01:42 PM
|
0
|
2
|
1211
|
POST
|
It seems I can't debug an ArcGIS Pro Addin in VS. Every time it struggles and gives me a System.AggregateException. It seems like the map is not being loaded well. I've tried to do some changes in the firewall, but no results. If I run the project directly, no problems. It happens only if I run it via debug in VS. Any ideas? "An unhandled exception of type 'System.AggregateException' occurred in mscorlib.dll Additional information: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. "
... View more
10-31-2016
03:48 AM
|
0
|
15
|
2836
|
POST
|
Hi Uma, Thanks for your help. It's simpler than I thought, I just have to use the MapView. Your url's are pointing to an unknown source, so I'll repeat them here: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Exploration/OverlayExamples https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-MapExploration#graphic-overlay Thanks! Best regards, Collin Kleiboer GisSense BV
... View more
10-15-2016
12:09 AM
|
0
|
0
|
295
|
POST
|
I want to display a (temp) geometry in ArcGIS Pro. In ArcMap there is the IGraphicsContainer, which I can use. I'm looking for something similar in Pro SDK, but can't find it. Is this upcoming or do I need to create a workaround?
... View more
10-13-2016
12:41 PM
|
0
|
2
|
1008
|
POST
|
Hello, I'm developing a SOE with JAVA. I have a featureclass which must be updated. I use the ITable.updateSearchedRows() method. I'm developing in 10.2.1 and all goes well. Now when I publish my SOE to a 10.2.0 ArcGIS Server, I'm getting a strange error: AutomationException: Field is not editable. I found out that it only occurs when updating the geometryfield (other fields succeed). ((ITable) fc).updateSearchedRows(qf, featureBuffer); Also when I tried to create a workaround with an updateCursor, it still struggles on the geometry-field. Example: IFeatureCursor fcur = fc.IFeatureClass_update(qf, false);
IFeature feat2 = fcur.nextFeature();
feat2.setShapeByRef(feat2.getShapeCopy());
feat2.setValue(feat2.getFields().findField("FUNCTIONEEL_ID"), "testcollin1");
fcur.updateFeature(feat2);//errorline
AutomationException: Shape or row not found I tried the IFeature.store() as well, but same result... Both environments (10.2.0 and 10.2.1) have the same mapservice (published from the same mxd) and use the same DB-layers, so it's not a data thing. Can it be that this is an issue in 10.2.0? And that it is being solved in 10.2.1? Or is it just that a 10.2.1 JAR is not 100% working on a 10.2.0 environment? I would like to know this before I might downgrade my dev.env. to the 10.2.0 version. Regards, Collin Kleiboer GisSense
... View more
02-14-2014
04:17 AM
|
0
|
1
|
619
|
Title | Kudos | Posted |
---|---|---|
7 | 04-22-2021 08:53 AM | |
7 | 04-22-2021 05:06 AM | |
7 | 04-22-2021 05:15 AM | |
1 | 02-08-2018 03:00 PM | |
1 | 03-21-2017 03:05 AM |
Online Status |
Offline
|
Date Last Visited |
02-24-2023
01:31 PM
|