-
How do you serialize the selection state of Features in a FeatureLayer?
We may be entirely going about this the wrong way, but we currently store the 'state' of the FeatureLayer by storing several of its properties on a wrapper class and then serializing that class. So, for FeatureLayers we store the data path, name, renderer json, labelling info, and definition expression as just…
-
Authentication retrying indefinitely after update to 300
Hi, I've tried to update ArcGIS Runtime to Version 300 today and noticed an issue: When credential creation fails for a federated service, the challenge handler is called repeatedly without stopping. I am aware of the new Error and PreviousFailureCount properties on CredentialRequestInfo. According to the description of…
-
Map lockup on CoreMapView.ViewInsets.set call
Hi, Have been having an issue where customers report the map locking up occasionally, sometimes for several minutes or until they force quit the application. Recently had the map lockup for me during development, so when I paused the debugger I found that it was stuck in a call to CoreMapView.ViewInsets.set It was stuck in…
-
NET 10 Support Maps SDK
Hi, From what I have been able to gather it looks like SDK 300.1 is going to be the NET 10 release. Based on the late April release of 300.0 are we still looking at a full three month time between 300.0 and 300.1 or is the goal to push this out faster to have a NET 10 release available as soon as possible. With Pro 3.7…
-
Interactive viewshed with Raster coordinate system
Hi, I have tried the sample code available in the below path. It is working fine for the given sample tif file which is in WebMercator coordinate system and also working fine with another tif file (which is also in WebMercator coordinate system). But when trying to use a tif file which is having WGS84 projection, it is not…
-
Optimizing Runtime
Is the any recommendations on how to optimize .NET Runtime to run with larger RPF datasets? My app will experience slow down when ingesting large maps.
-
Dot Net Methods to do Spatial Join operations
Hello - I would need some help pointing me to the library methods or the like to achieve the equivalent operation of Esri Spatial Joint geoprocessing tool in ArcGIS Pro 3.5 I have a feature of center-lines network (like streets and highways) then I have a feature layer of points. I was given the radius tolerance of a…
-
Error when adding Portal layer to map (Geodatabase field Not found)
We have a tool in our application that allows adding map layers from many sources. Recently, a customer has asked us to include data from a service they have published to their ArcGIS Server. There are many layers in this service. Most layers load without issue. A few will not load and fail with "Geodatabase field not…
-
SQLite Database Ingest
Using Runtime v200.8.1, .NET 8 Does the SDK have the capability of ingesting a map in the form of SQLite database? Adding more context: Exported maps from TAK.GOV's WinTAK application are in SQLite. I have looked through the documentation and have implemented support for the different Raster formats in the app that my team…
-
Is it possible to open Layer Package (*.lpkx) in the Maps SDK?
We had an old app built on ArcMap which we have been transitioning to the Maps SDK for the last several years. One of the features of this app was exporting data as a Layer Package (*.lpkx). We have old users who have 100s of these old LPKX files that they wish to import into the new version of the app built on the Maps…
-
Can you display a raster vertically in a SceneView?
I have 3D cube of atmospheric data (wind speed, temperate, etc.). We typically display this data to the user as horizontal 'slices' at each altitude from the dataset. This works great for RasterLayers in a 2D MapView. I was curious if I could display a vertical slice of this data in a scene view? We are already generating…
-
GeometryOffsetEffect equivalent
Hello everyone, I'm converting application from ArcGIS pro to ArcGIS .NET SDK. When draw a line, I need to add a second line to make it like "shading effect", like image below. In ArcGIS pro, i use second SolidStrokeSymbolLayer with GeometryOffsetEffect, but it does not exist in ArcGIS .Net SDK. So how to do it in ArcGIS…
-
Query all ENC features on a single click
I have this code that works well for querying the ENC feature that is clicked on. What I want to do, is be able to display information on every feature that is located at the clicked-on point (common case is you have a buoy with a light, so I want to be able to display the information about the light and the buoy). I would…
-
ArcGIS Maps SDK for .NET – AddRastersParameters.InputFile fails with CSV (works in ArcGIS Pro)
I’m working with ArcGIS Maps SDK for .NET(WPF) to add additional rasters to a mosaic dataset using Spoiler (Highlight to read)await mosaicRaster.AddRastersAsync(addRastersParameters)await mosaicRaster.AddRastersAsync(addRastersParameters)I tried setting InputFile directly to a raster path, but that failed…
-
Character marker support
I'm converting ArcGIS Pro SDK to ArcGIS .Net SDK, i have some predefined symbols, which heavily depend on CIMCharacterMarker. I use Pro SDK to export it to json, and then read it in .net SDK using Symbol.FromJson method, create graphic from polyline and this symbol. It display on map, but font family is not correct even…
-
Place buttons on map as markers
Hello, I am working on a project that uses the ESRI .Net SDK in WPF. On the map view, I need to place buttons that act as place markers and are interactable. I tried using WPF buttons and mapping them to locations on the map, but performance quickly degrades once a large number of buttons are placed. I need all the…
-
PopupViewer - Enhancement Request
I'm in the process of retiring a custom popup viewer in favor of the PopupViewer in esri's toolkit. It's generally an improvement but I have an enhancement request that I think would be fairly easy to implement and make the control more functional. My app builds a tree of the various layers/features that were identified…
-
Offline 3D Elevation Data/Scene
Hello, I'm looking for some help getting offline 3D elevation data working properly in a WPF/.NET 9 application (Windows 11) that uses ArcGIS Runtime SDK for .NET to power a 3D scene. The goal is to render 3D terrain with elevation and a custom imagery basemap, fully offline. When I use this elevation service:…
-
Is it possible to change raster resampling type?
Our RasterLayers on the map seem to employ a Bilinear resampling type by default and we can not figure out how to change this. We are loading a TIFF straight from file as a Raster with no additional rendering or settings. The loaded raster blurs and shifts as you zoom in due to what seems to be bilinear resampling of the…
-
Loading a RasterLayer with NAD_1983_Alaska_Albers ArcGIS Maps SDK: LayerViewState Error: RasterLayer Internal Error
The file (.tif and .xm) from this USGS site and download n10_susc.zip (574 MB) from Attached Files list: https://www.sciencebase.gov/catalog/item/65ccea5bd34ef4b119cb3bac Use n10_ak.tif and n10_ak.tif.xml. The other files n10_conus.tif and n10_conus.tif.xml works fine. RasterLayer rl = new RasterLayer(filePath); await…
-
Popup deprecations... how should I load attachments?
I've got my own popup UI and I'm trying to adjust to the deprecations within the Popups namespace. I'm used to calling FetchAttachmentsAsync() on a PopupAttachmentManager instance, but with that class now being deprecated, it's not clear how to accomplish the equivalent. All deprecations in this part of the SDK indicate…
-
DatumTransformation returns the wrong in and out SpatialReferences for the requested
I donwloaded Projection_Engine_Data_200_8_0 and expanded in my local directory. I set TransformationCatalog.ProjectionEngineDirectory to this directory. I did the following to retrieve DatumTransformation: SpatialReference inSP = SpatialReference.Create(3338); // Alaska Albers SpatialReference outSP =…
-
Adding basemap vector tile layer
Hello, Our application uses ArcGIS Maps SDK for .NET. 200.8. We're currently adding base maps using the following gallery: https://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer https://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer…
-
How do you get a colormap on a TIFF?
I have rasters that require a specific color per cell value. Here's a few of the scenarios Scenario 1: I have a raster that represents true/false where cells are either 0 for true or 1 for false. In this case I can use the ColormapRenderer with 2 colors. This seems to correctly apply the color by assigning color index to…
-
RasterLayer in alaska-albers (wkid=3387) cannot be displayed in BaseLayer in web mercator (wkid=3857)
WPF app with MapView BaseLayer created from the tiled service, "https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer". I created RasterLayer from USGS tif file and associated xml file with wkid=3387 and put it into OperationalLayers. I have another USGS tif file which has embedded spatial…