|
POST
|
Hi Mark, Thanks for reporting the problem. With the repro data , I can reproduce the problem at my end as well. have created an internal issue to look into this regression. Thanks, Preeti
... View more
03-14-2022
11:16 AM
|
0
|
0
|
910
|
|
POST
|
Hi Jeremy, We understand and acknowledge the trouble you are facing with layer loading errors. We have an issue in our backlog to improve the error reporting mechanism. I have added this use case to our issue. There is no timeline yet when we will add this support but more use cases like this definitely help us prioritize them more critically. Thanks, Preeti
... View more
03-14-2022
10:44 AM
|
1
|
1
|
1276
|
|
POST
|
Hi, You can access stylx file created from ArcGIS Pro 2.8.3 using SymbolStyle.OpenAsync() method. See https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Symbology.SymbolStyle.html See a working sample that opens a stylx file: https://github.com/Esri/arcgis-runtime-samples-dotnet/tree/278bdad17a79148e77841efac878908d321631ca/src/WPF/ArcGISRuntime.WPF.Viewer/Samples/Symbology/SymbolsFromMobileStyle ``` SymbolStyle ss = await SymbolStyle.OpenAsync("PathToStyleFile"); ``` Thanks, Preeti
... View more
11-18-2021
09:30 AM
|
0
|
0
|
959
|
|
POST
|
Hi, Try setting the local raster i.e "myRaster" raster object in code above , to null as well. It might be raster object that is perhaps locked. Thanks
... View more
10-29-2021
08:48 AM
|
0
|
1
|
1689
|
|
POST
|
Hi, In Runtime, you can create a Graphic with text symbol with a fill background with something like following : var textGraphic = new Graphic(new MapPoint(0, 2, SpatialReferences.Wgs84));
textGraphic.Symbol = new TextSymbol() { Text = "Simple", Color = Color.Red, Size = 25, BackgroundColor = Color.Yellow }; Above code will add a graphic that looks like image below: Or you can create a renderer with this symbol and apply renderer to the graphicsOverlay. But if you are looking at using different background for different text graphics based on some attribute, I am afraid that it is currently not supported. We do have this feature listed in our future candidates. I will add your use case to our backlog issue and would appreciate if you could you please share your requirement and specific workflow with as much details as possible. An elaborate workflow adds more some weight to the feature and help us prioritize it. Thanks, Preeti
... View more
10-19-2021
03:24 PM
|
1
|
1
|
2470
|
|
POST
|
Hi, Adding a text symbol with different background derived from an attribute is currently not supported but is on our list of future candidates. If it were a handful of symbols you could override symbol for those graphic. But I am sure it is not the case. I will add your use case to our backlog issue and would appreciate if you could you please share your requirement and specific workflow with as much details as possible. An elaborate workflow adds more some weight to the feature and help us prioritize it. Thanks, Preeti
... View more
09-30-2021
01:53 PM
|
0
|
0
|
830
|
|
POST
|
Looking at you code in your initial post, I see you mentioned you are using a DictionaryRenderer. I think you might be mixing up creating a dictionary of attributes to a DictionaryRenderer. DictionaryRenderer is a renderer based on arcade script in a stylx file. The stylx file contains symbols and values is published from pro. When this stylx is used to create a dictionary renderer, elements (graphics or features) are rendered sing symbols from this symbol style file based on the attribute value configured in dictionary renderer. https://developers.arcgis.com/net/styles-and-data-visualization/display-symbols-with-a-dictionary-renderer/
... View more
09-07-2021
08:57 AM
|
0
|
1
|
4400
|
|
POST
|
John, again as I mentioned mil2525d is a dictionary style that creates symbols and assembles a symbol at runtime based on different attributes in the data. Your data needs to be aligned with the specs otherwise it may render the correct symbols from dictionary renderer. If I understand correctly, you could achieve the workflow of tapping the map and adding symbol without stylx as well but if you may use a simple stylx file if you are really wanting to use advanced symbols from Pro. Here is a devsummit video link that touched some of the advance symbology stuff. You can skip to 47:02 hrs to get to the topic. https://www.youtube.com/watch?v=m6ZR1DuYlrQ&list=PLaPDDLTCmy4Ys8vfmC7DbX3FHSsyosvh7&index=29 Another resource that might help understand this would be Symbol editor sample https://github.com/Esri/arcgis-runtime-demos-dotnet/tree/main/src/SymbolEditor
... View more
08-02-2021
09:53 AM
|
0
|
0
|
6278
|
|
POST
|
John, mil2525d.stylx is a special dictionary based stylx file that adheres to military specifications and work with data that have associated attributes. There are base symbols for specific attributes but essentially what symbol is used by a feature is assembled based on attributes in data and all this logic is driven by the arcade script backing the stylx. All this happens internally when you map the attributes based on the dictionary stylx being used. Here is some links from ArcGIS Pro front on : Mobile style files : https://pro.arcgis.com/en/pro-app/latest/help/projects/styles.htm ( see Web styles and Mobile styles sections particulary) Dictionary symbols : https://pro.arcgis.com/en/pro-app/2.7/help/mapping/layer-properties/dictionary-renderer.htm and here are few .Net Samples that showcase use of mil2525d and a custom dictionary in a Runtime application https://developers.arcgis.com/net/uwp/sample-code/graphics-overlay-dictionary-renderer/ https://developers.arcgis.com/net/uwp/sample-code/custom-dictionary-style/ In your workflow what you need is a simple mobile style file (a local .stylx or published on web referred as webstyles). Mobile style are stylx files capable of working in runtime apps. They are just a collection of vector symbols from ArcGIS Pro. Once created these symbols can be looked up by searching key/category/name etc via a runtime app. I recommend reading through this topic https://developers.arcgis.com/net/uwp/sample-code/read-symbols-from-mobile-style/. Create a mobile style using symbols you want to use in similar way and look for symbol you want to use to render your graphic. Hope this helps. - Preeti Preeti
... View more
07-29-2021
10:24 AM
|
0
|
2
|
6306
|
|
POST
|
You can set different symbols of sketch graphic by accessing symbols via MyMapView.SketchEditor.Style e.g MyMapView.SketchEditor.Style.LineSymbol = someOtherSymbol; More info https://developers.arcgis.com/net/wpf/api-reference/html/T_Esri_ArcGISRuntime_UI_SketchStyle.htm
... View more
06-23-2021
04:36 AM
|
0
|
3
|
1670
|
|
POST
|
Alternatively you could also use SymbolDisplay toolkit control to display the symbols to get the palette/picker experience. https://github.com/Esri/arcgis-toolkit-dotnet/blob/807302b3b613b93c54731c722be101eaf0fc62a9/src/Samples/Toolkit.Samples.Forms/Toolkit.Samples.Forms/Samples/SymbolEditorSample.xaml Another great example is the SymbolEditor demo available here: https://github.com/Esri/arcgis-runtime-demos-dotnet/tree/main/src/SymbolEditor
... View more
04-27-2021
09:47 AM
|
0
|
0
|
3569
|
|
POST
|
You can query layer for its feature templates and use those templates to create a palette. For e.g this layer http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/WildfireSync/FeatureServer/0 has templates. This info is available after layer has loaded. You can fetch these templates and create your palette. The benefit of using templates is that it will create a feature with the attributes pre-defined in it. If there are no templates then you will have to query layer's renderer info, find the symbols and create your symbol palette. You will have to do some additional work to assign attributes at the time of feature creation and choose the symbol selected from the palette. Note, this second workflow will vary depending on the renderer defined in the layer.
... View more
04-26-2021
11:35 AM
|
2
|
0
|
3586
|
|
POST
|
Hello Mark, Can you please confirm what version of ArcGIS Runtime SDK are you using. The issue you are describing looks similar to a bug that was introduced in version 100.8 and BUT was then fixed for release100.9. I would appreciate if you could give it a try with latest release 100.10. - Preeti
... View more
02-01-2021
03:31 PM
|
1
|
1
|
1432
|
|
POST
|
>I'm using the SDK, not ArcGIS Pro (hence posting in this area of the forum). No problem at all in posting here Lewis. My reason behind asking you to check in ArcGIS Pro is because ArcGIS Runtime SDK is essentially using the same rule engine. So if there were issues in rule engine or mappings etc to begin with you will see problems reflect in SDK as well. But, if you find differences between ArcGIS pro rendering and SDK rendering for same data , using same dictionary and same mappings etc. and SDK rendering seems incorrect then there is definitely a problem. > If you have any more info regarding the scale/orientation of the composite labels, please let me know. More than happy to help but can you please share some screen shots of what you are seeing. It is difficult to assess the problem without seeing any image or repro code.
... View more
02-01-2021
02:46 PM
|
0
|
0
|
2882
|
|
POST
|
Lewis, I am not sure if for older an version on stylx file mappings were incorrect at some point. That would be something to check with ArcGIS pro team. What version of ArcGIS Pro do you have? How does the symbol for your data renders in ArcGIS Pro when you map to X and X1 vs Z and Z2? I tried this in ArcGIS Pro 2.7 and as you can see in the image attached altitude fields are mapped to z and z2. I think you mentioned that mapping to z and z2 works correctly . If that's the case then I guess it would be right fields to map zmin and zmax to z and z2.
... View more
02-01-2021
02:24 PM
|
0
|
2
|
2889
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 09-04-2025 04:44 PM | |
| 1 | 04-14-2025 10:39 AM | |
| 1 | 12-17-2024 01:28 PM | |
| 1 | 01-16-2025 02:56 PM | |
| 1 | 12-26-2024 11:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|