|
POST
|
Hello - I've found that RequestShapeAsync returns geometries as expected for all DrawShape types.. except for LineSegment. I'm expecting this to operate like a Polyline except that it returns with a polyline geometry after the user's second mouse click -- resulting in a two point line segment. But what I seem to get is nothing. No geometry seems to be created at all. Any suggestions would be much appreciated. Thanks, Ed
... View more
05-17-2015
01:35 PM
|
0
|
2
|
4408
|
|
POST
|
So, it might not be the best way to do this, but a way I found to permit moving a point feature is to convert the geometry to an envelope right before the call to: Editor.EditGeometryAsync and when the edit is complete restore the geometry of the graphic to a point using Envelope.GetCenter(). Yes, the symbology of the graphic becomes an envelope during the actual editing of the geometry (the move) but it reverts to the original once the edit is complete. Ed
... View more
05-14-2015
06:51 PM
|
0
|
1
|
956
|
|
POST
|
Hello - Am trying to allow editing (specifically a MoveGeometry) for a selected point graphic. This seems to work OK for selected polyline or polygon, but not points. Here's what I try to do - which is entirely based on an Esri code sample: var editConfig = Editor.EditorConfiguration; switch (m_selectedGraphic.Geometry.GeometryType) { case GeometryType.Polygon: case GeometryType.Polyline: editConfig.AllowAddVertex = true; editConfig.AllowDeleteVertex = true; editConfig.AllowMoveGeometry = true; editConfig.AllowMoveVertex = true; editConfig.AllowRotateGeometry = true; editConfig.AllowScaleGeometry = true; break; case GeometryType.Point: case GeometryType.Multipoint: editConfig.AllowAddVertex = false; editConfig.AllowDeleteVertex = false; editConfig.AllowMoveGeometry = true; editConfig.AllowMoveVertex = false; editConfig.AllowRotateGeometry = false; editConfig.AllowScaleGeometry = false; break; } var resultGeometry = m_selectedGraphic.Geometry; var progress = new Progress(); progress.ProgressChanged += (a, b) => { }; var g = m_selectedGraphic; g.IsVisible = false; var r = await Editor.EditGeometryAsync(g.Geometry, null, progress); HERE an error is thrown saying that the operation is not supported on the geometry type (Point). Is there some other way to edit point features? Any suggestions would be much appreciated. Thanks, Ed
... View more
05-12-2015
10:35 AM
|
0
|
2
|
4776
|
|
POST
|
Have been looking through the documentation and sample for guidance for creating a line symbol with decorations (such as an arrowhead or hash mark) at the beginning and ending of a new polyline. No luck so far. Any suggestions would be much appreciated. Thanks, Ed
... View more
05-11-2015
03:40 PM
|
0
|
0
|
3858
|
|
POST
|
Sorry for what seems to be a simple question, but am looking for the method within the JavaScript API that indicates whether a given graphic from the map graphic layer is selected or not. Any info would be much appreciated. Thx, Ed
... View more
02-28-2015
03:04 PM
|
0
|
1
|
4221
|
|
POST
|
OK. Think I found my problem. Not really an ArcGIS Pro thing. Just that the Windows $PATH variable got over the maximum 2,048 character limit and Windows started losing track of where it kept its family treasures. Reducing the $PATH variable to below this size has returned things back to normal (fingers crossed). Wonder if this was also the root of my ArcGIS Pro installation not working? (May try again later) Ed
... View more
10-25-2014
11:10 AM
|
1
|
4
|
2384
|
|
POST
|
Should installing ArcGIS Pro have any impact on my ArcGIS 10.2.1 installation? I tried installing ArcGIS Pro. Found I couldn't get it to work and un-installed it. Now my ArcMap installation seems to be behaving oddly... slower and pausing between operations. Am thinking I need to uninstall/re-install my ArcGIS. Is this my imagination? Any insights would be much appreciated. Thx, Ed
... View more
10-25-2014
10:28 AM
|
0
|
7
|
6549
|
|
POST
|
Found the problem. I was not getting the value for UserSubID correctly when setting barriers and flags. When corrected the routine now works fine. Ed
... View more
10-16-2014
10:04 AM
|
0
|
0
|
1108
|
|
POST
|
When I create a feature cache in ArcMap, does this include features from layers that are invisible? Including either features from layers that are turned off or features from layers that are scale suppressed? Looked though the help and I can't find info on this. Thx, Ed
... View more
10-09-2014
02:31 PM
|
0
|
0
|
2773
|
|
POST
|
Hello - Have got a program that tries to perform a "Find Connected" trace on a network starting on a edge on which an edge flag has been placed and bounded by a set of edge barriers. It consistently fails at this line: tfs.FindFlowElements(esriFlowMethod.esriFMConnected, edgeElements, out junctionEIDs, out edgeEIDs); With this error message: + $exception {"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."} System.Exception {System.AccessViolationException} where tfs is a ITraceFlowSolverGEN Barriers are set on edges where an intersection is found between a selected polygon graphic and a line feature and the origin flag is set on the longest line feature found inside the polygon. The method where the trace is attempted is "ExecuteTrace." The full C# class is attached. I should also say that on occasion the trace has not failed, however its returned results that are the inverse of what I expected -- that is, everything OUTSIDE the polygon is traced when I thought everything INSIDE the polygon would be. Thanks in advance for any suggestions, Ed
... View more
10-02-2014
01:23 PM
|
0
|
1
|
4761
|
|
POST
|
Here's the scenario I think I'm seeing, but its very hard to reproduce so I thought I'd ask the question. 1. On reconcile I'm informed of conflicts. 2. I resolve an update-update conflict on a record that has a relationship to a feature in another class. 3. It appears that additional conflicts arise (update-delete conflicts) arise in the related feature class. This is occurring through a semi-automated process, so I don't have the conflict window available to see exactly what has happened. Just trying to understand if the above scenario is possible. Thanks for any info at all. Ed
... View more
09-11-2014
08:14 AM
|
0
|
0
|
4103
|
|
POST
|
Anyone have experience with the ArcMap Raster Editor add-in that can be downloaded from SourceForge.net? Thanks, Ed
... View more
09-08-2014
03:04 PM
|
0
|
1
|
3094
|
|
POST
|
Greg - Thanks much. I should have did this test myself but didn't think of it. Glad you did! Ed
... View more
05-30-2014
09:58 AM
|
0
|
0
|
1381
|
|
POST
|
Hello - I've been dealing with a few cases where a non-printable ASCII character, such as "ENQ" (ASCII 005), have gotten into my data from a load from another source. These can cause problems with interfaces so we're trying to eliminate them from the current data. My question is this. We don't want such characters to be added by users editing the data going forward. I know that the "ENQ" character can be added in Notepad++ by typing ctrl+E, and that typing ctrl+E in a field in the ArcMap Attribute Editor results in no character added -- which is good. I just cannot find definitive documentation that non-printable characters cannot be added by a user into a field using ArcMap. Is this the case? Any info would be greatly appreciated. Ed
... View more
05-30-2014
08:25 AM
|
0
|
2
|
1491
|
|
POST
|
OK, in this case I found I had inadvertently assigned a subtype to the AncillaryRole field on a point feature class. There should have been no subtype. Also, all values in this field were blank. Removing the subtype assignment allowed the network build to complete successfully. There used to be an error message when null subtype values were found. Anyway, this was my problem. Ed
... View more
05-15-2014
02:30 PM
|
0
|
0
|
2105
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 07:31 AM | |
| 1 | 05-11-2026 02:55 PM | |
| 1 | 01-07-2026 12:34 PM | |
| 1 | 01-04-2026 05:14 PM | |
| 1 | 12-17-2025 07:45 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|