|
POST
|
Yes you could MultiLayerSymbol to author a symbol that has lines and points. But what you are trying to achieve in your workflow is possible when renderers uses an Arcade Expression. Note, ArcGIS Runtime SDK does not have support for authoring ArcCade expressions yet. So this should be setup in one of the ways as listed in release notes. https://developers.arcgis.com/net/latest/wpf/guide/release-notes.htm. Arcade expressions on renderers in a web map or mobile map are now honored in ArcGIS Runtime. Expressions can be used in place of raw field values on these renderers to support smart mapping styles such as Predominance, Relationships, etc. These expressions can be authored using ArcGIS Pro or the Map Viewer web application in ArcGIS Enterprise or ArcGIS Online.
... View more
05-08-2019
06:09 PM
|
0
|
0
|
989
|
|
POST
|
You could use StrokeSymbollayer and set a capstyle property. See https://developers.arcgis.com/net/latest/wpf/api-reference/html/P_Esri_ArcGISRuntime_Symbology_StrokeSymbolLayer_CapStyle.htm
... View more
05-07-2019
03:21 PM
|
0
|
0
|
2414
|
|
POST
|
Kirk, Looks like you found a bug!. I will create an internal issue for this.
... View more
05-01-2019
05:31 PM
|
0
|
1
|
1118
|
|
POST
|
It may be difficult to answer this accurately because it depends on so many factors like size of data, hardware used. As to why you application crashed , you will have to provide you test code with data or you may also contact support for help. Cheers, Preeti
... View more
04-10-2019
03:53 PM
|
0
|
0
|
3074
|
|
POST
|
Creating and loading Mosaic Raster data is possible through ArcGIS Runtime SDK as we saw in code that I sent earlier. But if the data is too big you need to evaluate your need and chose the best practice. Essentially it depends on the needs of the application. One would dynamically create inside the app using SDK if data changes are very frequent, size is small. If that is not the case then I recommend creating them pre-hand. You have multiple options if you want the map to load - Create raster dataset in Desktop and open using SDK. Too big of data will take time to load and render. - Create Mosaic using GeoPackage Data Management tools and use Runtime SDK to open raster from geopackage. - You can also publish them as ImageServices using an ArcGIS Server. - If data is changing frequently and is smaller in size it mosaic raster can be created in the app also.
... View more
04-05-2019
01:28 PM
|
0
|
2
|
3074
|
|
POST
|
You, won't have to install anything for Rasters to load to a sqlite gdb for a MosaicRasterDataset. Hopefully code below will help. First code is a button click code that will create mosaic raster dataset and second will add the created mosaicraster to map. private async void Create_MosaicClick(object sender, RoutedEventArgs e)
{
try
{
RasterLayer layer;
string destinationSQLiteGDB = "C:\temp\MosaicLocation\GdbWithRasters.geodatabase";// This will be qlite gdb which will get created and will hold all your rasters. string rasterType = "*.tif"; \\change to format of rasters in your folder. string filterType = ".tif$"; string localFolderPath = "C:\FolderWithRasters";// path to folder containing raster files
SpatialReference sr= new SpatialRefernce(wkid); // specify the spatialrefernce of your mosaic raster dataset
if (!System.IO.File.Exists(destinationSQLiteGDB))
{ MosaicDatasetRaster raster = MosaicDatasetRaster.Create(destinationSQLiteGDB, "myMosaicRasterds", sr);
await raster.AddRastersAsync(new AddRastersParameters() { InputDirectory = localFolderPath, Filter = filterType });
}
}
catch (System.Exception ex)
{
MessageBox.Show(ex.Message, "Error");
return;
}
}
//TO ADD MOSAIC DATASET CREATED ABOVE TO MAP YOU WILL DO SOMETHING LIKE THIS
private void AddToMap_Click(object sender, RoutedEventArgs e)
{
try
{
var mdsRaster = new MosaicDatasetRaster(destinationSQLiteGDB, "myMosaicRasterds");
layer = new RasterLayer(mdsRaster);
layer.LoadStatusChanged += Layer_LoadStatusChanged;
mapView.Map = new Esri.ArcGISRuntime.Mapping.Map(new Basemap(layer));
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error");
}
}
... View more
03-28-2019
12:26 PM
|
0
|
4
|
3074
|
|
POST
|
There is a section in that guide topic shows how you can add rasters from a local folder.But currently the way ArcGIS SDK Runtime works is that local raster files need to be added to a sqlite geodatabase. Section is titled: "Create a new mobile mosaic dataset and add raster files to it". We would be interested in understanding your use case as to why do you prefer/need to load rasters from a local folder directly to create MosaicRasterDataset instead of loading into a Sqlite geodatabase. What are the limitations you are facing by having them load into a database ? how does it affect your workflow?
... View more
03-27-2019
12:19 PM
|
0
|
6
|
3074
|
|
POST
|
Hi, Did you look at the guide topic that provides an example of how to use the MosaicDatasetRaster class: Add raster data—ArcGIS Runtime SDK for .NET | ArcGIS for Developers - Preeti
... View more
03-26-2019
03:33 PM
|
0
|
8
|
3074
|
|
POST
|
Hello Jeff, Thanks for notifying about size for attachments with filenames greater than 40 characters. I am able to repro the problem and have logged a bug to address in future release. I am glad at least you have a workaround. Again, thanks for bringing this to out attention. Let me know if you have any further questions on this. -- Preeti
... View more
01-24-2019
10:57 AM
|
1
|
0
|
1334
|
|
POST
|
I can try using the specific configuration combination that you have but I think in absence of any repro data/code it might be difficult to identify the problem. In the meantime I suggest checking the Hosted feature service's capabilities.
... View more
01-22-2019
10:28 AM
|
0
|
1
|
1429
|
|
POST
|
>Can I change the global selection color just before or after the selection has been made? Yes you can change the selection color before or after the selection has been made but note that features that were previously selected will have the new selection color also.
... View more
01-18-2019
12:19 PM
|
0
|
0
|
1630
|
|
POST
|
I created another dataset with two fields. With this dataset I created a FeatureService and update the code a little bit. - changed instance type of ArcGISMapImageLayer to FeatureLayer. - updated following lines of code ``` //!!!!!!!this is not working!!!!!!!!!! DateTime onedate = new DateTime(2018, 1,1, 16, 0, 0); Only pass one date i.e Jan 1st 2018, 4 PM as the date TimeExtent extent = new TimeExtent(onedate); this._mapView.TimeExtent = extent; await this.Lyr.LoadAsync(); this._map.OperationalLayers.Add(this.Lyr); await _mapView.SetViewpointAsync(new Viewpoint(this.Lyr.FullExtent)); //****AND in geoView_Tapped added logic to render point graphics**** if (feature.Geometry.GeometryType == GeometryType.Point) { Graphic gr = new Graphic(feature.Geometry as MapPoint, this._pointSymbol); _gLyr.Graphics.Add(gr); } ``` Note that when data has two fields passing one date means StartTime and EndTime must be same . For e.g for the dataset attached, if I want to query for Jan 1st that both start field or end field should have same date value.
... View more
01-14-2019
05:31 PM
|
0
|
1
|
1458
|
|
POST
|
I can repro the issue you reported with Hurricane mapservice on sampleserver6. But I am failing to repro the with another time-aware dataset using same repro app. Can you by chance try to test using a different dataset. In the meantime I will try to figure out what's wrong with Hurricanes MapService. Seems like a data related issue.
... View more
01-11-2019
03:10 PM
|
0
|
3
|
1458
|
|
POST
|
Armand, also, it be very useful if you explain your use case for using multiple selection color for different graphic overlays?
... View more
01-07-2019
02:34 PM
|
0
|
2
|
1630
|
| 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 |
a month ago
|