POST
|
Hi Cristian, Have you solved your problem with geoprocessing? I have the same problem as you.
... View more
11-08-2017
05:53 AM
|
0
|
0
|
1115
|
POST
|
Hi Max, I thought about TabControl too, but WPF inspector shows different: I send you view of my work results with ListBox: Stackoverflow.com rules ☺ Best regards, Gintautas
... View more
11-06-2017
03:22 AM
|
1
|
1
|
2519
|
POST
|
Hi Max, I had the same task few months ago. As I know there is no style exposed to public, but you can make it by yourself. This is a listbox with separators and horizontal items placement. You can find some solutions on the internet. After you can tune your solution using WPF inspector or Snoop which lets you to look inside wpf based application UI. You can find font information, triggers and other useful information. It would be nice to have exposed to public that listbox style for future compatibility.
... View more
11-05-2017
11:09 PM
|
0
|
3
|
2519
|
POST
|
Hi Jana, I have the same issue but with ".geodatabase" file. I have tried to load the same data and it worked from Runtime samples code, but did not work from my. I found that my application is UWP and sample application is WPF. I have generated new ArcGIS Runtime for WPF application, pasted my code and it worked. I am new to ArcGIS Runtime too, but I haven't found that you can load ".gdb" databases to Runtime application. I have made my ".geodatabase" file from ArcMap. At startup I have got errors like you, but I checked and eliminated errors.
... View more
10-31-2017
04:17 AM
|
0
|
0
|
613
|
POST
|
Sorry, it must be "MINIMUM" value for parameter not "MIN". It was parameter name in the original code. After pasting code I have changed to "MIN".
... View more
10-06-2017
06:48 AM
|
0
|
0
|
2182
|
POST
|
I have wrote that is a part of code You need to organize all async/wait things and etc. "raster" parameter could be RasterLayer or raster path (string). I could. send you more code, but there are snippets on executing geoprocessing from ArcGIS Pro like this https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Geoprocessing.
... View more
10-06-2017
06:36 AM
|
0
|
1
|
2182
|
POST
|
Hi Drew, In ArcGIS Pro1.4 there was no way to get statistics about raster except using geoprocessing. This is a part of code I use in my application: var parameters = Geoprocessing.MakeValueArray(raster, "MINIMUM"); var environments = Geoprocessing.MakeEnvironmentArray(workspace: sWorkspace); return Geoprocessing.ExecuteToolAsync("GetRasterProperties_management", parameters, environments, CancelableProgressor.None, GPExecuteToolFlags.AddToHistory); The worst thing that you can get only one type of statistics at time. To get "MAX" you need to call geoprocessing another time with "MAX" parameter. ArcGIS Pro 2.0 has raster object, but I have not checked if it has statisrtics like IRaster in ArcObjects.
... View more
10-06-2017
01:29 AM
|
0
|
3
|
2182
|
POST
|
Hi Thomas, I have a good news for you. I have found workaround for featureclasses but it works with rasters too. Change your workflow upside down and it will work: 1. Create layer from lyrx ( LayerFactory.Instance.CreateLayer(new Uri(uri), map); ). 2. Change created layer datasource to your raster datasource ( rasterLayer.SetDataConnection(updatedDataConnection); ). 3. Clear cache ( rasterLayer.ClearDisplayCache(); ) There is ArcGIS Pro sample how to change datasource. I hope it will help you.
... View more
08-07-2017
05:53 AM
|
2
|
1
|
2250
|
POST
|
Hi Thomas, I am not alone Worst thing is that I have tried to make the same workflow from code but without success. That's why I reported bug, sent peace of code and etc. They agreed that it does not work. I have reported many issues before 2.0 release (1.4.1 and 2.0 Beta) and thought that they will be fixed, because solution must be one line of code or something like that. But ... One bug they closed with explanation that it was fixed in 2.0. I have checked and it is not. Geonet is not the right place to report problems. I think the fastest way to have solution is to report the same bug from different users. Please contact your Esri distributer or your company GIS administrator and you will get access to create cases for Esri software issues. This way is not very simple. You must document each case, workflow, data... This way is our chance to solve our problems.
... View more
07-28-2017
11:53 AM
|
1
|
0
|
2250
|
POST
|
Hi Charles, Thank you for the explanation. I have wrote method void RunOnMCTThread(Action action) using your information and it works fine.
... View more
07-27-2017
11:40 PM
|
0
|
0
|
968
|
POST
|
Hi, Some ArcGIS Pro samples ( Framework\DockPaneBookmarkAdvanced or Framework\DockpaneSimple) have Utils class with different implementations of RunOnUiThread and IsOnUiThread methods. I thought that it could be useful when you call some methods which must be called on MCT from different places. Sometimes you are on MCT, sometimes not. I have tried methods from both projects, but I failed. IsOnUiThread always said that code is on UI thread, but really it was not. So I started investigate why sample code works, but my not. I have looked at the methods which were used with RunOnUiThread and found that all of them use QueuedTask.Run inside. I have commented QueuedTask.Run and samples failed too. Maybe I didn't understood the working RunOnUiThread functionality or it is bug?
... View more
07-27-2017
05:25 AM
|
0
|
2
|
1541
|
POST
|
Hi Thomas, There are many problems with the GeoProcessing Tool "Apply Symbology From Layer" especially from API. Some problems are related to display cache. I reported them to Esri support and they marked them as bugs. That tool in 1.4.1 worked better than in 2.0 (I mean from API). To check if problem related to cache make following workflow: 1. After applying lyrx from API open layer properties 2. Goto Cache tab. 3. Clear cache 4. Set "Don't cache any data locally". 5. Press OK and close layer proeprties
... View more
07-19-2017
11:38 PM
|
1
|
2
|
2250
|
POST
|
Hi Vladislav, I think supports. We are using in our ArcGIS Pro addins interop for c++ library
... View more
07-04-2017
07:04 AM
|
0
|
0
|
500
|
POST
|
Group object property appearsOnAddInTab must be set to false
... View more
07-04-2017
02:46 AM
|
1
|
0
|
725
|
Title | Kudos | Posted |
---|---|---|
1 | Thursday | |
1 | a week ago | |
1 | 2 weeks ago | |
1 | a week ago | |
1 | 05-28-2024 12:06 AM |
Online Status |
Offline
|
Date Last Visited |
Friday
|