<?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: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227423#M3199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Dan, I try your suggestion as soon as I'm at the desk again. I'm very on the edge &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt; , as I lost almost a day. Unfortunately (...or good) I don't have ArcGIS at home.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, we actually running the splinewithbarrier() for two cell sizes, 50 m and 10 m and combine those in a later step with having 10 m density close to our faults or barriers, and 50 m elsewhere. So, the 50 m grid is smooth, but the 10 m grid has an ugly stepping, which is about 1 m between the steps. The original isoline distance is 10 m. I mean, for our purpose it's not completely bad, but it makes people uncertain. And that has to be improved. But, when thinking about, and scale effects are in play, than I wonder why from within the arcgis python client smoothing seems to be better. This would mean that internally some scale depend corrections to the smoothing factor are applied without notice in the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Feb 2015 12:34:28 GMT</pubDate>
    <dc:creator>TorstenLange</dc:creator>
    <dc:date>2015-02-21T12:34:28Z</dc:date>
    <item>
      <title>SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227419#M3195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm puzzled by different results I get from application of SplineWithBarrier (Spacial Analyst) using Modelbuilder and by external Python scripting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;import arcpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;points_shp = "pointShape.shp"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;faults_shp = "faultsShape.shp"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;outGrid = "r_out"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;arcpy.gp.SplineWithBarriers_sa(points_shp, "id", faults_shp, "10", outGrid, "1")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code I got from the model builder. While results there are as expected (smooth surface with discontinuities) I used it in an external script. The resulting surface derived from the external script, however, shows, that smoothing was skipped. Before I tried the version from model builder I followed the example from the ArcGIS help. Same result - the grid is created, but again smoothing step is skipped. My first code was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;import arcpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;points_shp = "pointShape.shp"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;faults_shp = "faultsShape.shp"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;outGrid = "r_out"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;arcpy.CheckOutExtension("Spatial")&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;outSplineBarriers = SplineWithBarriers(&lt;SPAN style="font-family: andale mono,times;"&gt;points_shp&lt;/SPAN&gt;, "id", &lt;SPAN style="font-family: andale mono,times;"&gt;faults_shp&lt;/SPAN&gt;, 10, 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;outSplineBarriers.save(outGrid)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;That's the syntax from the help:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;SplineWithBarriers (Input_point_features, Z_value_field, {Input_barrier_features}, {Output_cell_size}, {Smoothing_Factor})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Why is smoothing not activated? Where is my fault?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Thanks for any hint!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Torsten&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 16:34:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227419#M3195</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-20T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227420#M3196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;modelbuilder used "10" and "1" in double quotes&lt;/P&gt;&lt;P&gt;your script used numbers 10 and 1&lt;/P&gt;&lt;P&gt;they are not the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Feb 2015 22:47:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227420#M3196</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-20T22:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227421#M3197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, as I wrote, I tried both, the version from the model builder and the version proposed in the ArcGIS-help. Both versions run without any error, but no smoothing. I can, however, easily adjust cell size or the field of the Z values in both versions. I'm aware of the inconsistency refereing to the different application of the cell size and smoothing parameters (string vs "numbers"). But these two versions are coming from ArcGIS itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the problem, that running the exported model builder code inside the ArcGIS python client works perfect. If I run exactly the same code from the console smoothing doesn't happen. In the ArcGIS help, the smoothing factor is not applied in the examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also confused about the small difference in the function parameters:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;&lt;STRONG&gt;model builder:&lt;/STRONG&gt; arcpy.gp.SplineWithBarriers_sa(points_shp, "id", faults_shp, "10", outGrid, "1")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: andale mono,times;"&gt;&lt;STRONG&gt;ArcGIS help:&lt;/STRONG&gt; outSplineBarriers = SplineWithBarriers(&lt;SPAN style="font-family: andale mono,times;"&gt;points_shp&lt;/SPAN&gt;, "id", &lt;SPAN style="font-family: andale mono,times;"&gt;faults_shp&lt;/SPAN&gt;, 10,{1})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems, there happens some wrapping around some other code (e.g. the Java code that is used behind).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So actually, it would be helpful to have a code snippet that is supposed to work including smoothing from an external script. Just to see if there are problems with the environment or with different python versions etc. There was a suggestion from a colleage that ArcGIS uses two Python versions (32 and 64 bit).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 06:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227421#M3197</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-21T06:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227422#M3198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;{ } simply means an optional parameter... on a lark...try a factor of 0.9 instead of 1 since there is some suggestion that the smoothing factor shouldn't be randomly chosen &lt;A href="http://stackoverflow.com/questions/7906126/spline-representation-with-scipy-interpolate-poor-interpolation-for-low-amplitu"&gt; see this link &lt;/A&gt;near the bottom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 10:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227422#M3198</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-21T10:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227423#M3199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Dan, I try your suggestion as soon as I'm at the desk again. I'm very on the edge &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt; , as I lost almost a day. Unfortunately (...or good) I don't have ArcGIS at home.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indeed, we actually running the splinewithbarrier() for two cell sizes, 50 m and 10 m and combine those in a later step with having 10 m density close to our faults or barriers, and 50 m elsewhere. So, the 50 m grid is smooth, but the 10 m grid has an ugly stepping, which is about 1 m between the steps. The original isoline distance is 10 m. I mean, for our purpose it's not completely bad, but it makes people uncertain. And that has to be improved. But, when thinking about, and scale effects are in play, than I wonder why from within the arcgis python client smoothing seems to be better. This would mean that internally some scale depend corrections to the smoothing factor are applied without notice in the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 12:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227423#M3199</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-21T12:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227424#M3200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahhhh now I do see what might be the problem...if your cell size is approaching the contour spacing there is no intervening space (aka cells) to calculate values for which may be leading to the stepped appearance there.&amp;nbsp; You can only experiment with a small sample in the area where this is happening, then changing the cell size with the (perhaps varying) smoothing parameter.&amp;nbsp; Posting some screen shots might twig someone's memory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 15:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227424#M3200</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-21T15:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227425#M3201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I wrote mistakable - its not like that. The isolines are every 10 m - like 250, 260, 270 etc. 'Guess, contour level was the appropriate term. Distances between 10 m isolines of less than 10 m don't exist. It's about a rather gentle morphology of geological layers - no steep gradients. I could provide some screen shots on monday...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 16:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227425#M3201</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-21T16:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227426#M3202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh good...that is much better...screen shots on Monday then&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Feb 2015 16:51:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227426#M3202</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-21T16:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227427#M3203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that's how it looks. I got two screen shots, actually from our 3D geometrical modeling software to have a better view on the data. The grid cells are represented by the points now. What one can clearly see ist the difference between running from inside ArcGIS (graphical dialog or python client) and the from external script.&lt;IMG alt="resulting_grid_inside_arcgis.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/64359_resulting_grid_inside_arcgis.png" style="width: 620px; height: 405px;" /&gt;&lt;/P&gt;&lt;P&gt;Screen shot 1: inside Arcgis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="resulting_grid_with_external_script.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/64360_resulting_grid_with_external_script.png" style="width: 620px; height: 401px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen shot 2: Result from external script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 05:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227427#M3203</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-23T05:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227428#M3204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To me, it looks like the contours are where the gaps are in the latter figure.&amp;nbsp; Is that the case?&amp;nbsp; I would determine whether or not a smoothing factor &amp;lt;1 removes them and/or whether using a size other than 10 removes them given that 50 seems to be ok.&amp;nbsp; I can see no other reason if both are being viewed within the same software.&amp;nbsp; If the results are being viewed in different software then it may be due to the display environment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 07:53:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227428#M3204</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-23T07:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227429#M3205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some more screen shots now. I tried to use smoothing factors between 0 and 1, which doesn't work at all. Neither I can code the smoothing factor by floating point nor by string (0.9, "0.9"). The function actually takes for cell size and smoothing factor either values as strings or as number. But any smoothing factor between 0 and 1 crashes the process when it comes to smoothing, not matter if I give the value as floating point number or string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;Fuer Zellgroesse 50 m...&amp;nbsp; &lt;SPAN style="color: #e23d39;"&gt;( == this run is for 50 grid)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;java version "1.6.0_43"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;Java(TM) SE Runtime Environment (build 1.6.0_43-b01)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;ERROR: 'Spline mit Barrieren' fehlgeschlagen&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #e23d39;"&gt;( == failed)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;ERROR:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;Traceback (most recent call last):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp; File "contourgridder.py", line 189, in &amp;lt;module&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outSplineBarriers = SplineWithBarriers(tmp_points, o.Z_field, tmp_stoerungen, cell_size, o.r_glaettung)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt; &lt;SPAN style="color: #2873ee;"&gt; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\sa\Functions.py", line 7079, in SplineWithBarriers&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #2873ee; font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Smoothing_Factor)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\sa\Utils.py", line 47, in swapper&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = &lt;SPAN style="color: #2873ee;"&gt;wrapper(*args, **kwargs)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\sa\Functions.py", line 7072, in Wrapper&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Smoothing_Factor)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\geoprocessing\_base.py", line 498, in &amp;lt;lambda&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return lambda *args: val(*gp_fixargs(args, True))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;arcgisscripting.ExecuteError: 'Spline mit Barrieren' fehlgeschlagen&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: andale mono,times;"&gt;&lt;STRONG&gt;Fehler beim Ausführen von (SplineWithBarriers).&amp;nbsp; &lt;SPAN style="color: #e23d39;"&gt;( == Error during execution of SplineWithBarriers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; color: #303030;"&gt;Below are the new screen shots. See the huge difference between external script and sript in the ArcGIS python client. Actually, it looks to me now, that the smoothing factor indeed works, but maybe only as True or False (1 or 0) and that there is a difference in how smoothing is applied...?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; color: #303030;"&gt;&lt;IMG __jive_id="64658" alt="50_m_grid_blue_smoothed_yellow_not_smoothed.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/64658_50_m_grid_blue_smoothed_yellow_not_smoothed.png" style="width: 620px; height: 475px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; color: #303030;"&gt;&lt;STRONG&gt;Screen shot 1:&lt;/STRONG&gt; 50 m grid with &lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; color: #303030;"&gt;smoothing factors 1 (&lt;/SPAN&gt;blue) and 0 (yellow), isolines in red.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; color: #303030;"&gt;&lt;IMG __jive_id="64659" alt="10_m_grid_blue_smoothed_yellow_not_smoothed.png" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/64659_10_m_grid_blue_smoothed_yellow_not_smoothed.png" style="width: 620px; height: 475px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;Screen shot 2:&lt;/STRONG&gt; 10 m grid with &lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; color: #303030;"&gt;smoothing factors 1 (&lt;/SPAN&gt;blue) and 0 (yellow), isolines in red.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; color: #303030;"&gt;&lt;IMG __jive_id="64660" alt="10_m_result_from_ArcGIS.png" class="jive-image image-3" src="https://community.esri.com/legacyfs/online/64660_10_m_result_from_ArcGIS.png" style="width: 620px; height: 475px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;Screen shot 3:&lt;/STRONG&gt; 10 m grid from within ArcGIS smoothing factor &lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif; color: #303030;"&gt;1 (&lt;/SPAN&gt;blue), isolines in red.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 09:53:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227429#M3205</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-23T09:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227430#M3206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At this stage, I am not sure what you want to do.&amp;nbsp; My suggestion is use the 50m it looks great to me and I think trying to interpolate at 10 m is a bit overkill and introducing artifacts potentially due to floating point representation of the data.&amp;nbsp; If moving up from 10, to 20, 30, 40 and your 50, does make the artifacts go away, you will have determined the threshold.&amp;nbsp; Keep me posted on that process.&amp;nbsp; Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 10:31:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227430#M3206</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-23T10:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227431#M3207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your thoughts, Dan! Luck was on my side &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt; It turned out to be as tricky as simple. A member of staff of our local ArcGIS support asked me to perform some testings with very simple paths, as some raster functions seem to be sensitive here. He also suggested to change our system decimal delimiter, even though I was using strictly "." in my python scripts (German delimiter is ",").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last suggestion made the difference. I can now apply the range between 0 and 1 to the smoothing factor - no matter - as string or floating point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 08:03:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227431#M3207</guid>
      <dc:creator>TorstenLange</dc:creator>
      <dc:date>2015-02-24T08:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: SplineWithBarrier (Spacial Analyst): Different results between Modelbuilder and external PythonScript</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227432#M3208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Grief..... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 13:47:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/splinewithbarrier-spacial-analyst-different/m-p/227432#M3208</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-24T13:47:08Z</dc:date>
    </item>
  </channel>
</rss>

