|
POST
|
Hi Jack, you may have better luck with this question in the Geoprocessing forum: https://community.esri.com/community/gis/analysis/geoprocessing
... View more
07-03-2017
12:17 PM
|
0
|
1
|
2503
|
|
POST
|
The tool is creating the polygons entirely in native code (c++). There is no interop between managed and native. I am thinking that once you had ~made~ the polygons in your code they drew equally fast....that the performance concern was in their creation....
... View more
06-23-2017
08:15 AM
|
1
|
4
|
3746
|
|
POST
|
I cannot reproduce this. It works for me. A couple of things which may just be copy-paste issues into the post.... 1. You add the layer to "myMap" 2. You attempt to retrieve it from MapView.Active.Map? Are they the same? also does RefLayer.Name == layerName? I can't tell from your code. Is the layer a BasicFeatureLayer?
... View more
06-22-2017
04:12 PM
|
1
|
1
|
1325
|
|
POST
|
Stephen, I think you will have better luck in the runtime forums with this question. https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-net or https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-wpf
... View more
06-21-2017
09:55 AM
|
0
|
0
|
1204
|
|
POST
|
Hi Gintautas, Providing a query definition control for re-use on your own UIs in the backlog. I will update this thread with a more definite status post-UC. >> It is possible to use query definition building dialog from ArcMap ArcObjects No, not possible
... View more
06-15-2017
09:51 AM
|
0
|
2
|
1685
|
|
POST
|
Thanks for this Christian, Your code looks fine. We can reproduce. We will look at optimizations for both PolylineBuilder.CreatePolyline and createOperation.Create. It could be, too, that a single builder create call that creates polyline_s_ (plural) in one shot (not a loop) would be a useful enhancement.
... View more
06-07-2017
11:16 AM
|
1
|
7
|
3746
|
|
POST
|
That is definitely the way to go. Python is outside of my wheelhouse I'm afraid. There is a start guide here: http://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm You may find this forum helpful for python expertise: https://community.esri.com/community/developers/gis-developers/python
... View more
06-07-2017
09:21 AM
|
0
|
0
|
1581
|
|
POST
|
Hi Scott, there are two patterns available with edit operations: First: Using specific coarse-grained methods that do very specific kinds of edits - such as Create, Clip, Cut, Modify, etc. (https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#performing-edits-with-editoperation). This is the preferred pattern. Second: There can be cases where your data spans GIS and non-GIS data that you need to edit atomically (within a single edit operation) and for this purpose there is the edit operation Callback method. (https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#editoperation-callback) This choice (between coarse-grained edit operation methods and the callback method) is mutually exclusive. That is, you either invoke the callback method or coarse grained operation methods (using whichever combination of Create, Modify, Cut, etc. methods are desired) but not both. So, the fix then, is to change the code to use either the callback or the create. To use the callback approach, replace the code inside "rowCursor.MoveNext()" with a block of code that looks something like this (pulled from this snippet https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geodatabase#creating-a-row). Notice use of RowBuffer.CreateRowBuffer and Table.CreateRow to do the create and not the editoperation.Create. using (RowBuffer rowBuffer = enterpriseTable.CreateRowBuffer())
{
// Either the field index or the field name can be used in the indexer.
rowBuffer[assetNameIndex] = "wMain";
rowBuffer["COST"] = 700;
rowBuffer["ACTION"] = "Open Cut";
// subtype value for "Abandon".
rowBuffer[tableDefinition.GetSubtypeField()] = 3;
using (Row row = enterpriseTable.CreateRow(rowBuffer))
{
// To Indicate that the attribute table has to be updated.
context.Invalidate(row);
}
} To use editoperation.create, delete the enclosing callback statement which should leave your existing code relatively intact (from "if (parcelShapes != null) down) looking something like this (pulled from this snippet https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Editing#edit-operation-create-features) //Do your loop here....
while(rowCursor.MoveNext()) {
//then inside the loop...
//Do a create features and set attributes
var attributes = new Dictionary<string, object>();
attributes.Add("SHAPE", polygon);
attributes.Add("NAME", "Corner Market");
attributes.Add("SIZE", 1200.5);
attributes.Add("DESCRIPTION", "Corner Market");
createFeatures.Create(featureLayer, attributes);
} //exit the loop
//Call this when you are all done with the loop
//FYI: should be no need to use the editOperation.ExecuteAsync flavor
editOperation.Execute(); Use of the editOperation.Create would be the preferred approach (unless you have non-GIS data) and it is typically an easier pattern to implement.
... View more
06-02-2017
10:42 AM
|
3
|
0
|
2934
|
|
POST
|
Jack, try this. I think this meets your needs. Step by step is in the word document. The attached is a 2.0 project (which you can use if you have the beta software) but you should be able to re-create the project using the Word doc in 1.4.
... View more
04-04-2017
05:39 PM
|
0
|
2
|
6806
|
|
POST
|
Hi Jack, thanks for this. I will pass this data, etc. on to the mapping team. Varying by color and size is supported (via Visual Variables - please refer to my link to the ArcGIS Pro user guide in my previous reply) but varying by shape (of the marker) is not.
... View more
04-03-2017
09:29 AM
|
0
|
0
|
6806
|
|
POST
|
Jack, what you are describing is the purpose of our "DictionaryRenderer". However, currently, there is only built in support for the mil2525d specification. It has similar requirements to yours - shape, color, symbol, etc. all driven off multiple attribute values of each row (you can see a sample here: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Authoring/DictionarySymbolPreview). Would you mind sharing more details of your requirements please as well as a dataset perhaps? It is hard to tell what is possible and what enhancements would be needed without more details Note: If you click on "Advanced Editor" in the Geonet comment screen (just above the toolbar I think) you will get an "Attach" icon at the bottom of the screen which will allow you to attach a zip file or whatever. ***EDIT*** I want to add - there are "Visual Variables" in Pro that you an set up with attributes or expressions involving attributes to control transparency, orientation, size, etc. (but not ~shape~). The user doc. is here: http://pro.arcgis.com/en/pro-app/help/mapping/symbols-and-styles/symbolize-feature-layers.htm. Look for "Vary transparency by...", "Vary symbology by...", etc. in the TOC. They are referring to this guy on the symbology pane. Disclaimer: I have not personally fiddled with these options.
... View more
03-29-2017
09:33 AM
|
0
|
0
|
6806
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 1 | 3 weeks ago | |
| 1 | 01-08-2026 02:03 PM | |
| 1 | 01-08-2026 02:15 PM | |
| 3 | 12-17-2025 11:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|