<?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 Natural Neighbor - unexpected results in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233836#M3265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a smooth raster gradient between 1 and 0 that I can then use in Raster Calculator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached (this is a mockup drawn in photoshop - my actual data is offline)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have input a series of points with value = 1 (red)&lt;/P&gt;&lt;P&gt;and a series with value = 0 (blue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect a nice smooth gradient between the points but I actually get a kind of salt and pepper effect (as shown).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that the effect is very much reduced (but not totally) by using the default cell size however the default it too large, I need a nice small cell size for my RasterCalculator step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know what's going on here and how I can completely eliminate these defects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="3740" alt="results mockup.jpg" class="jive-image image-1" src="/legacyfs/online/3740_results mockup.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Aug 2014 13:59:30 GMT</pubDate>
    <dc:creator>BenLeslie1</dc:creator>
    <dc:date>2014-08-21T13:59:30Z</dc:date>
    <item>
      <title>Natural Neighbor - unexpected results</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233836#M3265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a smooth raster gradient between 1 and 0 that I can then use in Raster Calculator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached (this is a mockup drawn in photoshop - my actual data is offline)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have input a series of points with value = 1 (red)&lt;/P&gt;&lt;P&gt;and a series with value = 0 (blue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect a nice smooth gradient between the points but I actually get a kind of salt and pepper effect (as shown).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that the effect is very much reduced (but not totally) by using the default cell size however the default it too large, I need a nice small cell size for my RasterCalculator step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know what's going on here and how I can completely eliminate these defects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="3740" alt="results mockup.jpg" class="jive-image image-1" src="/legacyfs/online/3740_results mockup.jpg" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233836#M3265</guid>
      <dc:creator>BenLeslie1</dc:creator>
      <dc:date>2014-08-21T13:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Natural Neighbor - unexpected results</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233837#M3266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; try making your grid with "contours" evenly spaced at a nice interval say 0.1&amp;nbsp; instead of points, that should help make your surface smoother&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 15:36:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233837#M3266</guid>
      <dc:creator>JorgeOrellana</dc:creator>
      <dc:date>2014-08-21T15:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Natural Neighbor - unexpected results</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233838#M3267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a Euclidian distance function on a line feature. Then you can rescale this to go from 0 to 1.&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 07:22:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233838#M3267</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2014-08-22T07:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Natural Neighbor - unexpected results</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233839#M3268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What tool do you use to convert contours into a raster?  I tried TopoToRaster without luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By-the-way I only want to define areas of height=1 and height=0, in between I want it to be a smooth computer generated slope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2014 06:42:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233839#M3268</guid>
      <dc:creator>BenLeslie1</dc:creator>
      <dc:date>2014-08-26T06:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Natural Neighbor - unexpected results</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233840#M3269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really&amp;nbsp; miss $$ROWMAP and $$COLMAP for making test data like this.&amp;nbsp; You can still get at it in the Python window if you're crafty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure to turn on Spatial Analyst (Customize &amp;gt; Extensions) first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14135142468825006 jive_text_macro" jivemacro_uid="_14135142468825006" modifiedtitle="true"&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.env.extent = arcpy.Extent(0, 0, 100, 100) &lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.env.cellSize = 1&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.env.workspace = "C:\\TEMP" # must be a folder&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; arcpy.gp.MultiOutputMapAlgebra_sa("scalegrd = $$ROWMAP * 1.0 / ( $$NROWS - 1 )")&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then add scalegrd to your map from the Catalog window. MOMA only works on Esri grid format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 02:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/natural-neighbor-unexpected-results/m-p/233840#M3269</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-10-17T02:52:42Z</dc:date>
    </item>
  </channel>
</rss>

