<?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: Extract Multi Values to Points arcpy script fails..but in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42945#M1787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked out!... squirrel that info away for next time &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2019 01:30:11 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-01-08T01:30:11Z</dc:date>
    <item>
      <title>Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42938#M1780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a script that adds several netCDF rasters to a map. The last step is an extract multi values to points.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the script, I get the following error:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Error: ERROR 001268: Input rasters: The input item, MaxWindGusts, is invalid.
Failed to execute (ExtractMultiValuesToPoints).&lt;/PRE&gt;&lt;P&gt;Just after it fails, I copy the line that generated the error and paste it into the Python window and it runs without any issues.&amp;nbsp;Has anyone else experienced this? Is there a way to figure out if this is a bug? I've saved/quit and restarted but that doesn't seem to fix it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gabe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 15:57:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42938#M1780</guid>
      <dc:creator>GabrielMarcus1</dc:creator>
      <dc:date>2021-12-12T15:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42939#M1781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;ExtractMultiValuesToPoints(inPointFeatures, inRasterList, &lt;/SPAN&gt;&lt;SPAN style="background-color: transparent; color: #c41a16; font-family: &amp;amp;quot; consolas&amp;amp;quot;,&amp;amp;quot;andale mono&amp;amp;quot;,&amp;amp;quot;lucida console&amp;amp;quot;,&amp;amp;quot;monaco&amp;amp;quot;,monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;"BILINEAR"&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #f8f8f8; color: #595959; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 14.46px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; word-wrap: normal;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show your input point layer path? Is it in a geodatabase or is it a shapefile?&amp;nbsp; If a featureclass in a gdb, have you set the workspace elsewhere?&lt;/P&gt;&lt;P&gt;Can you also copy the line that produced the error but worked in the python window.&lt;/P&gt;&lt;P&gt;We have just had a recent reverse scenario where an extra parameter was added to the copied expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 23:59:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42939#M1781</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-07T23:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42940#M1782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;cLocCpy = arcpy.CopyFeatures_management(cLoc&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;aprx.defaultGeodatabase + &lt;SPAN style="color: #6a8759;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;\\&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;" &lt;/SPAN&gt;+ cLoc + &lt;SPAN style="color: #6a8759;"&gt;"Wnd"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; None, None, None, None&lt;/SPAN&gt;)
&lt;SPAN style="color: #8888c6;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;"Extracting multivalues to points..."&lt;/SPAN&gt;)
arcpy.sa.ExtractMultiValuesToPoints(cLocCpy&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"MaxWindGusts MaxWindGusts_12_13;MaxSustWinds MaxSustWinds_12_13;'NWS Precip pct of normal' NWS_Precip_pct_of_normal_12"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"NONE"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;You put "BILINEAR" but that's not required, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above python script shows me&amp;nbsp;first&amp;nbsp;copying the point file from an existing GDB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Point path is in the default GDB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;cLocCpy is stored in:&lt;/P&gt;&lt;P&gt;C:\\Users\\gmarcus\\Documents\\ArcGIS\\Projects\\MyProject4\\MyProject4.gdb\\LocsJan19Wnd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:39:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42940#M1782</guid>
      <dc:creator>GabrielMarcus1</dc:creator>
      <dc:date>2021-12-10T21:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42941#M1783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gabriel, the last parameter is optional...&lt;/P&gt;&lt;P&gt;The input raster list looks a bit strange... a semicolon delimited list seems normal, but why is each part consist of 2 elements ( ie maxwindgusts maxwindgusts_12_13) ?&amp;nbsp; Are they in the same geodatabase?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 00:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42941#M1783</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-08T00:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42942#M1784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The second "strange looking" part is the output field name as illustrated in the screen shot below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/432704_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I'm running ArcGIS Pro 2.2.4 if that make a difference.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 00:38:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42942#M1784</guid>
      <dc:creator>GabrielMarcus1</dc:creator>
      <dc:date>2019-01-08T00:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42943#M1785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;saw it now (I rarely use this tool).&amp;nbsp; As for the input rasters and the point featureclass, it is more the Environments that I am interested in.&amp;nbsp; It fails on the MaxWindGusts… which you chose from a drop-down list of layers? or by navigating to the folder and choosing the layer there.&amp;nbsp; I find that Arc-anything is pretty good at showing stuff that is in the dataframe/map, but less so on making sure that the environments and paths to those layers jive.&amp;nbsp; My preference in testing is to use the folder icon and navigate to the inputs for the tool directly rather than rely what is showing as 'defaults' in any dialog.&amp;nbsp; It just rules out path and environment issues&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 00:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42943#M1785</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-08T00:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42944#M1786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan, I appreciate your help!&lt;/P&gt;&lt;P&gt;Your advice on using folders to choose the file versus click/drag or using the drop down helped me discover a few issues I hadn't known about. Now my script runs in only 1/3 of the time. I appreciate it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 01:25:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42944#M1786</guid>
      <dc:creator>GabrielMarcus1</dc:creator>
      <dc:date>2019-01-08T01:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42945#M1787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked out!... squirrel that info away for next time &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 01:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/42945#M1787</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-08T01:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Multi Values to Points arcpy script fails..but</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/1314749#M71657</link>
      <description>&lt;P&gt;I was having a related issue, using a layer my organization provides (Ontario Provincial Digital Elevation Model). I had a few points to extract elevation values from and I wanted to use the Extract Multi Values to Points tool. Another member of my organization had no issues with the two files (point feature and imagery service) but I kept getting the error, "ERROR 001268: Input rasters: The input item, Elevation\Ontario_Provincial_Digital_Elevation_Model, is invalid." But it wasn't.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eventually, I tried &lt;STRONG&gt;changing my Processing Extent in the Environments tab&lt;/STRONG&gt; within the tool from “Default” setting to “&lt;U&gt;Current Display Extent&lt;/U&gt;”, ensuring that all my points were visible on the map.&amp;nbsp;&lt;STRONG&gt;This worked and the tool executed as expected.&amp;nbsp;&lt;/STRONG&gt;Not sure of the python equivalent, but putting this here in case anyone else is struggling with this issue.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 18:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/extract-multi-values-to-points-arcpy-script-fails/m-p/1314749#M71657</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-08-02T18:56:29Z</dc:date>
    </item>
  </channel>
</rss>

