Unable to load local .tiff file using RasterElevationSource class

417
3
Jump to solution
08-17-2022 02:20 AM
LiChunfeng
New Contributor III

When I called "ArcGISRuntimeEnvironment.setLicense()" to remove watermark, RasterElevationSource class can not load local .tiff file. It hint "unlicensed feature" why?

0 Kudos
1 Solution

Accepted Solutions
Nicholas-Furness
Esri Regular Contributor

You cannot load a local .tiff file with a Lite license.

However, you could use ArcGIS Pro to create a tile package (.TPK to .TPKX file) of elevation from the TIFF. Since TPK and TPKX are proprietary Esri formats, they can be used with the Lite Runtime license. That can then be used as an elevation source using AGSArcGISTiledElevationSource.

View solution in original post

0 Kudos
3 Replies
Nicholas-Furness
Esri Regular Contributor

Using local raster files requires a Standard level license. You are most likely using the free Lite license.

LiChunfeng
New Contributor III

So How to load local .tiff file in using the free Lite license or which format to convert tiff to use to display elevation?

0 Kudos
Nicholas-Furness
Esri Regular Contributor

You cannot load a local .tiff file with a Lite license.

However, you could use ArcGIS Pro to create a tile package (.TPK to .TPKX file) of elevation from the TIFF. Since TPK and TPKX are proprietary Esri formats, they can be used with the Lite Runtime license. That can then be used as an elevation source using AGSArcGISTiledElevationSource.

0 Kudos