<?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 Is it possible to change raster resampling type? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/is-it-possible-to-change-raster-resampling-type/m-p/1658541#M13741</link>
    <description>&lt;P&gt;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 data.&amp;nbsp;&lt;BR /&gt;We assume this is the case because when we load the same exact file into ArcPro, the observed behavior in the Maps SDK mimics that of a bilinear resampling type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For our purposes, we exclusively want Nearest Neighbor resampling. We need the fixed, well-defined edges that you get from nearest neighbor resampling.&lt;/P&gt;&lt;P&gt;Is there any setting/hack we can implement to force nearest neighbor? Or a property we can set on our TIFFs to change the default? I've seen some solutions on this forum use AppContext switches for very specific issues. Is there potentially a switch that will help us?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 18:57:32 GMT</pubDate>
    <dc:creator>JBuchanan</dc:creator>
    <dc:date>2025-10-16T18:57:32Z</dc:date>
    <item>
      <title>Is it possible to change raster resampling type?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/is-it-possible-to-change-raster-resampling-type/m-p/1658541#M13741</link>
      <description>&lt;P&gt;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 data.&amp;nbsp;&lt;BR /&gt;We assume this is the case because when we load the same exact file into ArcPro, the observed behavior in the Maps SDK mimics that of a bilinear resampling type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For our purposes, we exclusively want Nearest Neighbor resampling. We need the fixed, well-defined edges that you get from nearest neighbor resampling.&lt;/P&gt;&lt;P&gt;Is there any setting/hack we can implement to force nearest neighbor? Or a property we can set on our TIFFs to change the default? I've seen some solutions on this forum use AppContext switches for very specific issues. Is there potentially a switch that will help us?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 18:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/is-it-possible-to-change-raster-resampling-type/m-p/1658541#M13741</guid>
      <dc:creator>JBuchanan</dc:creator>
      <dc:date>2025-10-16T18:57:32Z</dc:date>
    </item>
  </channel>
</rss>

