<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AGSRasterLayer with AGSImageServiceRaster: Renderer for removing NoDataValues in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsrasterlayer-with-agsimageserviceraster-renderer/m-p/1116796#M7214</link>
    <description>&lt;P&gt;Thanks for your helpful and precious input. I will try that and post results.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 11:20:58 GMT</pubDate>
    <dc:creator>wuep</dc:creator>
    <dc:date>2021-11-15T11:20:58Z</dc:date>
    <item>
      <title>AGSRasterLayer with AGSImageServiceRaster: Renderer for removing NoDataValues</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsrasterlayer-with-agsimageserviceraster-renderer/m-p/1111248#M7199</link>
      <description>&lt;P&gt;I tried to reduced the black part of my raster layer. Unfortunately with no success. Has any one a better idea on how to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;        let url = "https://gis.lsfm.zhaw.ch/server/rest/services/Basis-Inhalte/orthophoto_gruental_3857_png/ImageServer"

        let imageServiceURL = URL(string: url)!
        
        // create an image service raster from an online raster service
        let imageServiceRaster = AGSImageServiceRaster(url: imageServiceURL)
        self.rasterLayer = AGSRasterLayer(raster: imageServiceRaster)
        let blendRenderer = AGSBlendRenderer (
            elevationRaster: AGSRaster(),
            outputMinValues: [],
            outputMaxValues: [],
            sourceMinValues: [],
            sourceMaxValues: [],
            noDataValues: [255],
            gammas: [100],
            colorRamp: AGSColorRamp(type: AGSPresetColorRampType.demScreen, size: 100),
            altitude: 0,
            azimuth: 0,
            zFactor: 1,
            slopeType: AGSSlopeType.none,
            pixelSizeFactor: 1,
            pixelSizePower: 1,
            outputBitDepth: 8)
        
        self.rasterLayer.renderer = blendRenderer
        map.operationalLayers.add(self.rasterLayer!)
        mapView.map?.backgroundColor = UIColor .clear
        
         self.rasterLayer.load { [weak self] (error) in
            if let error = error {
                print("error: \(error)")
            } else {
                if let center = self?.rasterLayer.fullExtent?.center {
                    self?.mapView.setViewpoint(AGSViewpoint(center: center, scale: 8000))
                }
            }
         }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Picture.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/26202i152C72EDFFB0BEC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Picture.png" alt="Picture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 14:07:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsrasterlayer-with-agsimageserviceraster-renderer/m-p/1111248#M7199</guid>
      <dc:creator>wuep</dc:creator>
      <dc:date>2021-10-26T14:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: AGSRasterLayer with AGSImageServiceRaster: Renderer for removing NoDataValues</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsrasterlayer-with-agsimageserviceraster-renderer/m-p/1111260#M7200</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm still learning and banging around trying to learn how to use Image server for multi temporal data layers.&lt;/P&gt;&lt;P&gt;I'm utilizing/trying to follow the Mosaic Dataset workflow documentation (which may be different from your workflow), I THINK that building the footprint has taken care of this issue for me? When you build the footprint, you can choose to build it based on Radiometry so therefore exclude No Data areas.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again, I'm new and still don't fully grasp the nuances.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 14:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsrasterlayer-with-agsimageserviceraster-renderer/m-p/1111260#M7200</guid>
      <dc:creator>AngelaGray</dc:creator>
      <dc:date>2021-10-26T14:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: AGSRasterLayer with AGSImageServiceRaster: Renderer for removing NoDataValues</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsrasterlayer-with-agsimageserviceraster-renderer/m-p/1116796#M7214</link>
      <description>&lt;P&gt;Thanks for your helpful and precious input. I will try that and post results.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 11:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/agsrasterlayer-with-agsimageserviceraster-renderer/m-p/1116796#M7214</guid>
      <dc:creator>wuep</dc:creator>
      <dc:date>2021-11-15T11:20:58Z</dc:date>
    </item>
  </channel>
</rss>

