|
POST
|
How can I select an Item in the Catalog pane? There is the SelectedItems property in the Project class but I don't see a method to select some item.
... View more
11-18-2017
06:21 AM
|
0
|
3
|
1126
|
|
POST
|
Thanks. I've implemented tab switchers as ListBox with custom items using WPF Snoop to inspect ESRI styling.
... View more
11-18-2017
06:15 AM
|
1
|
0
|
4867
|
|
POST
|
Yes, I've implemented tab switchers as ListBox with custom items to mimic native ArcGIS Pro control. I hope Pro team will add this and other their controls to API.
... View more
11-18-2017
06:14 AM
|
0
|
0
|
4867
|
|
POST
|
Hi Gintautas, Yes, I've inspected standard controls to see what styles ESRI use, but I hoped they expose this stuff for developers. Also I believe that should be TabControl with custom style instead of just ListBox with buttons with changing of main area on their clicks. Anyway thank you! Max
... View more
11-06-2017
02:51 AM
|
0
|
2
|
4867
|
|
POST
|
I need to place tab control that should look like standard one: Is there a style to apply to TabControl to make it look like ArcGIS Pro one?
... View more
11-03-2017
10:53 AM
|
0
|
11
|
6152
|
|
POST
|
Annette, But I've attached the test data that is FGDB with unsimplified polygon, so it is definitely can be stored in database without applying the specified formula. Also I'm able to output this polygon to a new feature class without any error. Anyway thanks for information! Max
... View more
09-20-2017
06:29 PM
|
0
|
0
|
1111
|
|
POST
|
I need to add temporary layer or standalone table when user specifies the path to a dataset. To accomplish this task I create an instance of the Item via ItemFactory: var item = ItemFactory.Instance.Create(path, ItemFactory.ItemType.PathItem); And then I check if a layer or standalone table can be created from the item using corresponding methods of LayerFactory and StandaloneTableFactory: if (LayerFactory.Instance.CanCreateLayerFrom(item))
return LayerFactory.Instance.CreateFeatureLayer(item, MapView.Active.Map);
if (StandaloneTableFactory.Instance.CanCreateStandaloneTableFrom(item))
return StandaloneTableFactory.Instance.CreateStandaloneTable(item, MapView.Active.Map); But both CanCreateLayerFrom and CanCreateStandaloneTableFrom methods don't work properly. They always return true regardless of what the type an item of. If I create an item from a feature class, the CanCreateStandaloneTableFrom returns true for this item. If I create an item from a table, the CanCreateLayerFrom returns true for the item. It is definitely wrong. With this behavior the code above works incorrectly. Also both CreateFeatureLayer and CreateStandaloneTable create an item in the TOC even if they return null. Please fix this issues. Also can you suggest a workaround while you are fixing the bugs?
... View more
09-19-2017
07:27 PM
|
0
|
0
|
930
|
|
POST
|
Hi Annette, Thank you for explanation! Can you say, this formula is just heuristic or it is something that absolutely right in any case? I'm going to not perform SimplifyAsFeature for this data to preserve those segments since I don't think they are degenerated. Or I should definitely simplify the polygon with this method? Max
... View more
09-18-2017
06:40 PM
|
0
|
2
|
1111
|
|
POST
|
I noticed that GeometryEngine.SimplifyAsFeature method produces strange results sometimes. For this polygon: the method produces this result: In my opinion such results are at least unobvious. Can you explain why I get it? I've attached the test data.
... View more
09-14-2017
12:07 AM
|
0
|
4
|
1310
|
|
POST
|
Hi Craig, We have a feature class A and feature class B. If some features from B are inside of a feature from A we want to transfer labels from those B-features to some field of containing A-feature. Currently we transfer values of display field, but we want to change algorithm a bit: 1) transfer label; 2) if there is no label for a feature then take display field value. I hope you will add this functionality to Pro SDK since ArcObjects has it. Max
... View more
09-12-2017
06:22 PM
|
1
|
0
|
1371
|
|
POST
|
ArcGIS Pro allows to enable labeling for a feature layer where each feature will be labeled with value of some field or with result of some expression. Is it possible to get text of label for a Feature with ArcGIS Pro SDK?
... View more
09-11-2017
10:19 PM
|
0
|
4
|
1566
|
|
POST
|
How can I get the datum of a spatial reference in Pro SDK? In ArcObjects I can use IGeographicCoordinateSystem.Datum but it seems I can't get a datum in Pro SDK. I need to know values of the following properties: Datum.Spheroid.SemiMajorAxis Datum.Spheroid.SemiMinorAxis Datum.Spheroid.Flattening Is there a way to get all these values?
... View more
09-08-2017
12:52 AM
|
0
|
1
|
758
|
|
POST
|
Colin, Yes, of course. But I don't see an email in your profile on GeoNet. Max
... View more
08-29-2017
10:24 PM
|
0
|
0
|
1326
|
|
POST
|
Hi Colin, Thanks for your answer. Can you say, are you planning to provide grouping functionality along with sorting? There is no such feature in ArcObjects but maybe ArcGIS Pro will have it. Grouping can be implemented via sorting so if you haven't plans on this feature it will not be a big problem. But it would be great to have built-in grouping instead of implementing it manually. Max
... View more
08-28-2017
07:57 PM
|
0
|
0
|
1326
|
|
POST
|
I noticed that ArcGIS Pro SDK currently doesn't provide functionality to perform sorting of table. The only workaround is ORDER BY postfix clause but it works only for GDB. I need universal solution that can deal with different types of tables – FGDB, SDE, shapefiles. In ArcObjects we have ITableSort interface that gives us ability to sort datasets. How can I sort tables at now with ArcGIS Pro SDK? Are you planning to add functionality similar to ITableSort?
... View more
08-13-2017
07:51 PM
|
0
|
4
|
1657
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-25-2018 09:14 AM | |
| 1 | 11-20-2017 12:35 PM | |
| 1 | 02-16-2017 08:55 PM | |
| 1 | 11-18-2017 06:15 AM | |
| 1 | 01-13-2017 07:15 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|