<?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: Weighted Overlay - passing parameter as text error? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1134#M144</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I guess I would just suggest printing all of the parameters when you get them as text at the beginning of the script, and also printing all of the corresponding variables in the hard-coded version.&amp;nbsp; It sounds like there is some value or object type issue.&amp;nbsp; Perhaps you are getting something as text that you previously used as an object?&amp;nbsp; I don't know a whole lot about raster processing, so can't be much more help...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2014 20:36:31 GMT</pubDate>
    <dc:creator>AdamCox1</dc:creator>
    <dc:date>2014-03-25T20:36:31Z</dc:date>
    <item>
      <title>Weighted Overlay - passing parameter as text error?</title>
      <link>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1131#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For some reason when hardcoding the save path for the wieghted raster just before runtime it works perfectly. Like such...&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.env.cellSize = "90" arcpy.env.workspace = r'G:\Xcel\Route Tool\Potter\Scratch.gdb' landuseRaster = r'G:\Xcel\Route Tool\Potter\Data.gdb\Potter_Randall_Landuse_Raster' slope_Reclass_Raster = r'G:\Xcel\Route Tool\Potter\Scratch.gdb\slope_Reclass'&amp;nbsp; #Generate a list identifying what the individual input values should be reclassified as. remapLanduse = RemapValue([['Cropland and pasture',2],['Herbaceous Rangeland',1],['Nonforested wetland',10],['Other agricultural land',1],['Strip mines, quarries and gravel pits',2], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ 'Mixed rangeland',1],['Lakes',10],['Residential',3],['Commercial and Services',3],['Confined feeding operations',3],['Transportation, communications and services',10], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ['Transitional areas',3],['Shrub-brushland rangeland',1],['Other urban or built-up land',3],['Bare exposed rock',3],['Industrial',2],['Reservoirs',10],['Forested wetland',10],['Mixed urban or built-up land',3]])&amp;nbsp; remapSlope = RemapValue([[1,1],[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10]])&amp;nbsp;&amp;nbsp; #Define the input rasters, the field identifying the input values, the remap of their values, the weight of each raster, and the evaluation scale to use in the Weighted Overlay tool. myWOTable = WOTable([[landuseRaster, 80, "LANDUSE", remapLanduse], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [slope_Reclass_Raster, 20, "Value", remapSlope], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ], [1, 10, 1])&amp;nbsp; outWeightedOverlay = WeightedOverlay(myWOTable)&amp;nbsp; arcpy.AddMessage("Creating weighted raster...") weighted_Raster = env.workspace + '\weighted_Raster' outWeightedOverlay.save(weighted_Raster)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However when I try to pass the workspace to weighted overlay tool using parameter as text I receive a generic 999999 error? Like such....&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;subs&amp;nbsp; = arcpy.GetParameterAsText(0) Field = arcpy.GetParameterAsText(1) originValue = arcpy.GetParameterAsText(2) destValue&amp;nbsp;&amp;nbsp; = arcpy.GetParameterAsText(3) lines = arcpy.GetParameterAsText(4) Dem = arcpy.GetParameterAsText(5) landuseRaster = arcpy.GetParameterAsText(6) outwork = arcpy.GetParameterAsText(7)&amp;nbsp; arcpy.env.workspace = outwork + "\Scratch.gdb"&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.... run a few tools including generate 'slope_Reclass_Raster'&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;#Generate a list identifying what the individual input values should be reclassified as. remapLanduse = RemapValue([['Cropland and pasture',2],['Herbaceous Rangeland',1],['Nonforested wetland',10],['Other agricultural land',1],['Strip mines, quarries and gravel pits',2], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ 'Mixed rangeland',1],['Lakes',10],['Residential',3],['Commercial and Services',3],['Confined feeding operations',3],['Transportation, communications and services',10], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ['Transitional areas',3],['Shrub-brushland rangeland',1],['Other urban or built-up land',3],['Bare exposed rock',3],['Industrial',2],['Reservoirs',10],['Forested wetland',10],['Mixed urban or built-up land',3]])&amp;nbsp; remapSlope = RemapValue([[1,1],[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10]])&amp;nbsp;&amp;nbsp; #Define the input rasters, the field identifying the input values, the remap of their values, the weight of each raster, and the evaluation scale to use in the Weighted Overlay tool. myWOTable = WOTable([[landuseRaster, 80, "LANDUSE", remapLanduse], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [slope_Reclass_Raster, 20, "Value", remapSlope], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ], [1, 10, 1])&amp;nbsp; outWeightedOverlay = WeightedOverlay(myWOTable)&amp;nbsp; arcpy.AddMessage("Creating weighted raster...") weighted_Raster = env.workspace + '\weighted_Raster' outWeightedOverlay.save(weighted_Raster)&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 15:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1131#M141</guid>
      <dc:creator>NoahHuntington</dc:creator>
      <dc:date>2014-03-25T15:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Overlay - passing parameter as text error?</title>
      <link>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1132#M142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the issue is you are not escaping the '\' characters when you set the workspace path and when you create the output path string.&amp;nbsp; You should use r"\Scratch.gdb" or "\\Scratch.gdb" any time you need to construct a path.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 18:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1132#M142</guid>
      <dc:creator>AdamCox1</dc:creator>
      <dc:date>2014-03-25T18:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Overlay - passing parameter as text error?</title>
      <link>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1133#M143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think the issue is you are not escaping the '\' characters when you set the workspace path and when you create the output path string.&amp;nbsp; You should use r"\Scratch.gdb" or "\\Scratch.gdb" any time you need to construct a path.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Adam.&amp;nbsp; You are right about the filepath.&amp;nbsp; For some reason this still runs successful in the hardcoded script here.&amp;nbsp; I have corrected and still produce an error while trying to parse the user file path? I think there may be more at play here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Success:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
arcpy.env.cellSize = "90"
arcpy.env.workspace = r'G:\Xcel\Route Tool\Potter\Scratch.gdb'
landuseRaster = r'G:\Xcel\Route Tool\Potter\Data.gdb\Potter_Randall_Landuse_Raster'
slope_Reclass_Raster = r'G:\Xcel\Route Tool\Potter\Scratch.gdb\slope_Reclass'


#Generate a list identifying what the individual input values should be reclassified as.
remapLanduse = RemapValue([['Cropland and pasture',2],['Herbaceous Rangeland',1],['Nonforested wetland',10],['Other agricultural land',1],['Strip mines, quarries and gravel pits',2],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ 'Mixed rangeland',1],['Lakes',10],['Residential',3],['Commercial and Services',3],['Confined feeding operations',3],['Transportation, communications and services',10],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ['Transitional areas',3],['Shrub-brushland rangeland',1],['Other urban or built-up land',3],['Bare exposed rock',3],['Industrial',2],['Reservoirs',10],['Forested wetland',10],['Mixed urban or built-up land',3]])

remapSlope = RemapValue([[1,1],[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10]])


#Define the input rasters, the field identifying the input values, the remap of their values, the weight of each raster, and the evaluation scale to use in the Weighted Overlay tool.
myWOTable = WOTable([[landuseRaster, 80, "LANDUSE", remapLanduse],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [slope_Reclass_Raster, 20, "Value", remapSlope],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ], [1, 10, 1])

outWeightedOverlay = WeightedOverlay(myWOTable)

arcpy.AddMessage("Creating weighted raster...")
outWeightedOverlay = WeightedOverlay(myWOTable)
arcpy.AddMessage("The current workspace is: %s" % env.workspace)
arcpy.AddMessage("Saving weighted raster...")
outWeightedOverlay.save(env.workspace + '\\weighted_Raster')
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;...and fail&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
subs&amp;nbsp; = arcpy.GetParameterAsText(0)
Field = arcpy.GetParameterAsText(1)
originValue = arcpy.GetParameterAsText(2)
destValue&amp;nbsp;&amp;nbsp; = arcpy.GetParameterAsText(3)
lines = arcpy.GetParameterAsText(4)
Dem = arcpy.GetParameterAsText(5)
landuseRaster = arcpy.GetParameterAsText(6)
outwork = arcpy.GetParameterAsText(7)

#create *.gdb to store scratch intermediate data
arcpy.CreateFileGDB_management(outwork, "Scratch.gdb")
env.workspace = outwork + "\\Scratch.gdb"

...

remapLanduse = RemapValue([['Cropland and pasture',2],['Herbaceous Rangeland',1],['Nonforested wetland',10],['Other agricultural land',1],['Strip mines, quarries and gravel pits',2],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ 'Mixed rangeland',1],['Lakes',10],['Residential',3],['Commercial and Services',3],['Confined feeding operations',3],['Transportation, communications and services',10],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ['Transitional areas',3],['Shrub-brushland rangeland',1],['Other urban or built-up land',3],['Bare exposed rock',3],['Industrial',2],['Reservoirs',10],['Forested wetland',10],['Mixed urban or built-up land',3]])

remapSlope = RemapValue([[1,1],[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10]])


#Define the input rasters, the field identifying the input values, the remap of their values, the weight of each raster, and the evaluation scale to use in the Weighted Overlay tool.
myWOTable = WOTable([[landuseRaster, 80, "LANDUSE", remapLanduse],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [slope_Reclass_Raster, 20, "Value", remapSlope],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ], [1, 10, 1])

outWeightedOverlay = WeightedOverlay(myWOTable)

arcpy.AddMessage("Creating weighted raster...")
outWeightedOverlay = WeightedOverlay(myWOTable)
arcpy.AddMessage("The current workspace is: %s" % env.workspace)
arcpy.AddMessage("Saving weighted raster...")
outWeightedOverlay.save(env.workspace + '\\weighted_Raster')
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:03:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1133#M143</guid>
      <dc:creator>NoahHuntington</dc:creator>
      <dc:date>2021-12-10T20:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Overlay - passing parameter as text error?</title>
      <link>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1134#M144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I guess I would just suggest printing all of the parameters when you get them as text at the beginning of the script, and also printing all of the corresponding variables in the hard-coded version.&amp;nbsp; It sounds like there is some value or object type issue.&amp;nbsp; Perhaps you are getting something as text that you previously used as an object?&amp;nbsp; I don't know a whole lot about raster processing, so can't be much more help...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 20:36:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1134#M144</guid>
      <dc:creator>AdamCox1</dc:creator>
      <dc:date>2014-03-25T20:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Overlay - passing parameter as text error?</title>
      <link>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1135#M145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Well, I guess I would just suggest printing all of the parameters when you get them as text at the beginning of the script, and also printing all of the corresponding variables in the hard-coded version.&amp;nbsp; It sounds like there is some value or object type issue.&amp;nbsp; Perhaps you are getting something as text that you previously used as an object?&amp;nbsp; I don't know a whole lot about raster processing, so can't be much more help...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think your probably right. This is good advice..&amp;nbsp; I'll keep looking at it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 13:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1135#M145</guid>
      <dc:creator>NoahHuntington</dc:creator>
      <dc:date>2014-03-26T13:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted Overlay - passing parameter as text error?</title>
      <link>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1136#M146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks to everyone who chimed in. All very knowledgeable advice. It was indeed an object issue with the slope_Reclass_Raster. Corrected the variable with the following before passing to WOTable. Posting for the archives.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;arcpy.AddMessage("Computing slope Reclass...") outSlice = Slice('slope_Raster', 10, "NATURAL_BREAKS") slope_Reclass_Raster = outSlice.save('slope_Reclass') slope_Reclass_Raster = "slope_Reclass"&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Mar 2014 20:01:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/weighted-overlay-passing-parameter-as-text-error/m-p/1136#M146</guid>
      <dc:creator>NoahHuntington</dc:creator>
      <dc:date>2014-03-26T20:01:21Z</dc:date>
    </item>
  </channel>
</rss>

