POST
|
Hi , Anyone has any thoughts on this. Please share. Thank you.
... View more
03-05-2024
02:03 AM
|
0
|
1
|
102
|
POST
|
Hi @Wolf and @UmaHarano - can you please help me here. Apologies for tagging you both directly. since this is something product level inside logic, I thought you both will help me quickly. Thanks in advance.
... View more
02-14-2024
07:52 AM
|
0
|
2
|
215
|
POST
|
Hi Team, We are using GetTable().GetDefinition().GetObjectIDField() method to get the ObjectID fieldname and which is working well on Featureclasses having ST_Geometry field. But for the feature class having SDO_Geometry as shape field, this function is returning empty value. FYI: I am using ArcGIS Pro SDK v2.9. Can you please help me to understand - 1. is it correct behaviour? 2. In case if we need to use SDO_Geometry as shape, do we need to take any additional care? 3. What is the table internally this method relies on? 4. Any other related details while working with SDO_Geometry. Thank you in advance.
... View more
02-13-2024
02:49 AM
|
0
|
5
|
303
|
POST
|
Hi All, I am trying to setup ArcGIS 10.9.1 enterprise system on AWS environment. As part of this, we are using AWS ALB to route traffic towards portal (both portal and server is federated). Initial user request using FQDN --> AWS ALB --> Portal URL redirection. While using ALB, i getting below gateway timeout error message. When i checked in the ALB error logs - we are getting this 'Gateway Timeout' (504) errors when request is coming one of the random port to port 6443. For this - i allowed ALL inbound traffic. Still no luck. Rather than ALB, if i use server IP address to point to FQDN - site is working as expected, but only issue is coming from SSL certificate validation failure. Followed the information mentioned in https://community.esri.com/t5/arcgis-enterprise-questions/aws-application-load-balancer-alb-in-place-of/td-p/55624 - no luck for me. @GirishYadav1 @JonathanQuinn Can you please help me if i am missing anything while using ALB for ArcGIS Enterprise Thanks In advance.
... View more
01-09-2023
03:39 AM
|
0
|
0
|
478
|
POST
|
Hi All, Once I closed the ArcGIS Pro (version 2.8) - getting below error message. Managed Debugging Assistant 'DisconnectedContext' : 'Transition into COM context 0xdaa009c0 for this RuntimeCallableWrapper failed with the following error: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)). This is typically because the COM context 0xdaa009c0 where this RuntimeCallableWrapper was created has been disconnected or it is busy doing something else. Releasing the interfaces from the current COM context (COM context 0xdaa002d0). This may cause corruption or data loss. To avoid this problem, please ensure that all COM contexts/apartments/threads stay alive and are available for context transition, until the application is completely done with the RuntimeCallableWrappers that represents COM components that live inside them.' I have cross-checked my code and there are no threads created without await and we are coming out from the process after completion of these await statement. For ex, await QueuedTask.Run(() => { activateSelectToolAsync(); }); return false; Is there any way - we can see which process is creating issue? Appreciate your help on this.
... View more
06-01-2021
03:29 AM
|
0
|
2
|
5634
|
POST
|
Hi, I hope this will help. 1. create project using MapTool. 2. in the constructor, public CaptureContainer() { IsSketchTool = true; SketchType = SketchGeometryType.Point; //.Point; //UseSnapping = true; SketchOutputMode = SketchOutputMode.Screen; var systemCursor = System.Windows.Input.Cursors.Arrow; Cursor = systemCursor; } 3. protected async override Task<bool> OnSketchCompleteAsync(Geometry geometry) { await QueuedTask.Run(() => { var sourceSelection = ActiveMapView.SelectFeatures(geometry, SelectionCombinationMethod.New); foreach (KeyValuePair<BasicFeatureLayer, List<long>> eachSel in sourceSelection) { CIMDataConnection currentDataConnection = eachSel.Key.GetDataConnection(); var objsting= currentDataConnection.ToJson(); JObject jsonObject = JObject.Parse(objsting); MessageBox.Show("connection string is from : "+(string)jsonObject["workspaceFactory"]); } }); return true; } Hope this helps. Thanks, Sreeni.
... View more
05-11-2021
01:27 AM
|
0
|
0
|
1121
|
POST
|
Hi, 1. Select 'Map Tool' project template to create the add-in. 2. Changed the cursor as normal cursor in the constructor(), public CaptureCoordinates() { IsSketchTool = true; SketchType = SketchGeometryType.Point; //.Point; //UseSnapping = true; SketchOutputMode = SketchOutputMode.Screen; var systemCursor = System.Windows.Input.Cursors.Arrow; Cursor = systemCursor; } 3. This will give us "onsketchcompleteasync" functionality. This will return the selected geometry as Geometry object. within this method, use protected async override Task<bool> OnSketchCompleteAsync(Geometry geometry) { long targetID=0; string strTargetLayerName = null; await QueuedTask.Run(() => { var sourceSelection = ActiveMapView.SelectFeatures(geometry, SelectionCombinationMethod.New); foreach (KeyValuePair<BasicFeatureLayer, List<long>> eachSel in sourceSelection) { targetID = eachSel.Value[0]; strTargetLayerName = eachSel.Key.Name; } var inspTargetInspector = new Inspector(); var selectedTargetFeatures = ArcGIS.Desktop.Mapping.MapView.Active.Map.GetSelection(); inspTargetInspector.Load(selectedTargetFeatures.Keys.First(), targetID); if (inspTargetInspector.Shape.GeometryType == GeometryType.Polyline) { var objpolyline = inspTargetInspector.Shape as Polyline; //Below logic will change based on the logic. For now, we are just printing X, Y coordinates of each point in the polyline. for (int i = 0; i < objpolyline.PointCount; i++) { MessageBox.Show("Points are : " + objpolyline.Points[i].X.ToString() + " " + objpolyline.Points[i].Y.ToString()); } } }); return true; } After running application --> click on the add-in --> select the feature which we want to get coordinates. I hope, This will help you to get started as a draft. I am sure we can tweak this code further. Thanks. Sreeni.
... View more
05-11-2021
12:08 AM
|
0
|
1
|
1645
|
POST
|
Hi All, We are using ArcGIS Pro SDK 2.7. We want to add a vertex/point to the polygon. We have tried multiple ways to achieve this. 1. a. Read existing polygon points into List . b. Add the desired points (needs to add into polygon) to the list c. Update the geometry with latest geometry. Snippet; var selectedTargetFeatures = ArcGIS.Desktop.Mapping.MapView.Active.Map.GetSelection(); var inspTargetInspector = new Inspector(); inspTargetInspector.Load(selectedTargetFeatures.Keys.First(), targetID); Polygon objTargetPolygon = inspTargetInspector.Shape as Polygon; ReadOnlyPointCollection objTargetPolyPointCollection = objTargetPolygon.Points; ICollection<MapPoint> objMapPoints = new List<MapPoint>(objTargetPolyPointCollection.Count); objTargetPolyPointCollection.CopyPointsToList(0, objTargetPolyPointCollection.Count - 1, ref objMapPoints); objMapPoints.Add(resultMultipoint1.Points[0]); objMapPoints.Add(resultMultipoint2.Points[0]); Polygon polygon = PolygonBuilder.CreatePolygon(objMapPoints, SpatialReferences.WGS84); inspTargetInspector.Shape = polygon; //create and execute the edit operation var op = new EditOperation() { Name = "Add vertex", SelectModifiedFeatures = false, SelectNewFeatures = false }; op.Modify(inspTargetInspector); op.Execute(); But here Problem is - all these new points are creating under new Part. We want all these points into existing polygon part. 2. We tried to follow runtime sdk approach. a. Create PolygonBuilder object b. Tried to read Part, Point index in ProximityResult , AddPoint in particular index -- We dont have access to these functionality in Pro SDK. Code Snippet: PolygonBuilder builder = new PolygonBuilder(objTargetPolygon); // Create builder from existing polygon builder.Parts[0].InsertPoint(index, new MapPoint(x, y)); // Insert point into specific location graphic.Geometry = builder.ToGeometry(); // Create geometry and assign it back to the graphic / feature https://community.esri.com/t5/arcgis-runtime-sdk-for-net/command-addvertex/td-p/758557 ---------------- Can someone please help us - how can we add vertex/point into existing polygon. Also, @Wolf @UmaHarano - is there any plans to make it available all these functionalities in ArcGIS Pro SDK.
... View more
04-14-2021
04:16 AM
|
0
|
2
|
1610
|
POST
|
Thanks @KirkKuykendall1 for your reply. I haven't tried this option. Let me check this option and hopefully this will resolve the issue. Thanks again.
... View more
03-16-2021
01:38 AM
|
0
|
0
|
692
|
POST
|
Hi All, We are creating a buffer geometry and we would like to utilize this buffer geometry for some analysis, which is going to utilize in Oracle spatial functions . FYI: We have utilized geometry.ToJson() to convert the geometry into JSON and then read the coordinates. This method is working well, If the geometry is having only rings. Steps: Read JSON geometry, capture the coorinates, pass these coordinates to Oracle procedure, create SDO_Geom based on this coordinate string and then convert back to ST_Geometry using Oracle spatial functions. But, If the Geometry has CurveRings - then we were unable to follow the same process. Can someone please help me - how to pass this geometry into Oracle spatial effectively.
... View more
03-10-2021
12:18 AM
|
0
|
2
|
1065
|
POST
|
Charles Macleod: Thank you for your response.I will take a look into these options and will update you. Thanks again.
... View more
04-29-2020
10:54 PM
|
0
|
0
|
702
|
Title | Kudos | Posted |
---|---|---|
1 | 04-08-2020 09:39 PM |
Online Status |
Offline
|
Date Last Visited |
03-05-2024
10:26 AM
|