Does using local GeoTiff file as a raster data in the operational layer of the map require certain liscense?
Hi Bikash,
To access the local raster layer such as .tiff file you need to have "Standard" license. Please look at the documentation link:
License your app—ArcGIS Runtime SDK for .NET (WPF) | ArcGIS for Developers --> Licensing capabilities --> Standard.
Hope that helps.
Hey Nagma,
Thanks for quick response. When it is licensed for developer use only, I can access the local raster layer right to test it?
Hi Bikash
Yes, you are right, with licensed for developer use only, you could access the local raster layer.
Thanks Nagma! It works. The only problem is when i keep zooming out, the .tiff data dissapears automatically before I can even see the whole raster data on my screen. Is there a default setting that makes it happen or is it just the .tiff file that only appears in certain zoom levels?
Hi Bikash,
Are you using Xamarin,there is a bug logged regarding this issue:
BUG-000109070 |
---|
RasterLayers disappear when zooming out in Xamarin UWP application for .NET SDK v100.1.]
I am using WPF with .NET SDK v100.1. Does it have that bug too?
Hi,
Currently in ArcGIS Runtime SDK for .NET v100.1 (i.e. UWP, WPF, and Xamarin) we display the raster data at the native raster resolution. The alternative is to re-sample the raster as you zoom out. For a future release we are investigating implementing re-sampling dynamically as you zoom in/out, and allowing you as the developer to generate the resampled data via the API and persist that alongside the raster dataset. The persisted approach is usually referred to as pyramids.
You can achieve the same approach today by using ArcGIS Pro or ArcMap to generate pyramids for your raster data in advance and then use that raster within your ArcGIS Runtime apps. For more information see Build Pyramids—Data Management toolbox | ArcGIS Desktop.
Cheers
Mike
Hi Michael,
Thank you for the information. Really appreciate it. So, If I understand correctly, the raster file needs to be updated using ArcGIS Pro or ArcMap for the raster data to not dissapear when zooming out?
Thanks,
Bikesh