<?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 values to points, multiple raster- and shape-files, using ModelBuilder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103623#M3547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're on the right track; I think the trick here is the Calculate Value tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Say your shapefile name is "f:\test\sites1979.shp" - you are iterating on a bunch of shapefiles just fine, and the name is coming out as an iterator as the model element &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Feature class&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; You have a raster you want to run your tool on called "f:\images\image1979.tif"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Connect &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Feature Class&lt;/SPAN&gt;&lt;SPAN&gt; to the Parse Path tool to get the base name "sites1979.shp" - call this element &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Shape name&lt;/SPAN&gt;&lt;SPAN&gt;. (Your &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Name&lt;/SPAN&gt;&lt;SPAN&gt; output from the iterator could also be used)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add the model-only tool Calculate Value, and give it this expression: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;r"f:\images\image{0}.tif".format("%Shape name%"[5:9])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This string expression will evaluate to "f:\images\image1979.tif" when the tool runs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Set the output data type of the CV tool to be "raster dataset" - then you can connect it to the Extract Values to Points tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the built-in variable %n% in output pathnames so the outputs will be unique filenames. (%n% is the iteration 0,1,2,3...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other thing to look for is using preconditions to connect outputs and tools so they will run in the correct order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps you get started.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Apr 2013 04:20:27 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2013-04-05T04:20:27Z</dc:date>
    <item>
      <title>extract values to points, multiple raster- and shape-files, using ModelBuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103622#M3546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Everyone, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am pretty new to the Model Builder. After some tutorials I wanted to start my first project now and got incredibly stuck: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The task: I have many shapefiles, each with a huge amount of points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Corresponding to those shapefiles I also have many Raster Files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to do is to extract the values of the raster files to the points. With about 250 pairs of matching datasets, each with more than a million points it is simply too much data to use the "Extract Multi Values to Points" feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I want to process only the spatially matching pairs at a time. Therefore I use the Model Builder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I iterate through the shape files (using iterate feature classes) and give the actual results to the "extract values to point" tool. But here is the problem: The Input Point features are iterating as they should, but I couldn't find any possibility to iterate the raster Input. I tried to use a something like a %variable% (derived from the "name " output of the "iterate feature" tool), as input for the "input raster" field. But the tool seems to only to accept a single raster which it already finds in the folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great if someone knew a solution to the problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 14:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103622#M3546</guid>
      <dc:creator>OliverSchmitt</dc:creator>
      <dc:date>2013-04-04T14:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: extract values to points, multiple raster- and shape-files, using ModelBuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103623#M3547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're on the right track; I think the trick here is the Calculate Value tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Say your shapefile name is "f:\test\sites1979.shp" - you are iterating on a bunch of shapefiles just fine, and the name is coming out as an iterator as the model element &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Feature class&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; You have a raster you want to run your tool on called "f:\images\image1979.tif"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Connect &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Feature Class&lt;/SPAN&gt;&lt;SPAN&gt; to the Parse Path tool to get the base name "sites1979.shp" - call this element &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Shape name&lt;/SPAN&gt;&lt;SPAN&gt;. (Your &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Name&lt;/SPAN&gt;&lt;SPAN&gt; output from the iterator could also be used)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add the model-only tool Calculate Value, and give it this expression: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;r"f:\images\image{0}.tif".format("%Shape name%"[5:9])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This string expression will evaluate to "f:\images\image1979.tif" when the tool runs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Set the output data type of the CV tool to be "raster dataset" - then you can connect it to the Extract Values to Points tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the built-in variable %n% in output pathnames so the outputs will be unique filenames. (%n% is the iteration 0,1,2,3...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other thing to look for is using preconditions to connect outputs and tools so they will run in the correct order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps you get started.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 04:20:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103623#M3547</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2013-04-05T04:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: extract values to points, multiple raster- and shape-files, using ModelBuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103624#M3548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Curtis, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your quick and very useful response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This solved the problem! The model is running now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 12:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103624#M3548</guid>
      <dc:creator>OliverSchmitt</dc:creator>
      <dc:date>2013-04-05T12:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: extract values to points, multiple raster- and shape-files, using ModelBuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103625#M3549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, im having the same problem with extract multi value to points. I've done so many manipulations on my files already just so i can extract multiple values and append to my points but i kept getting a &amp;lt;null&amp;gt; values on the field in my table attributes. I had reprojected, resampled and converted the data to several formats but it would not work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using ArcGIS&amp;nbsp; desktop 10.2 which I just purchased. I have read several times the conversation on this thread and did what you guys have done (except downloading the pack to fix the bug that ESRI mentioned). There was a mention that it has been fixed in this&amp;nbsp;&amp;nbsp; new version&amp;nbsp; so I thought there is no need. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having said that, is there a pack available to fix the bug specifically for 10.2?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition to that, my file is in a generic format and I wonder if there is a specific format compatibility requirement so this tool would work? Please kindly help, I've been working on this for two days now and I cant seem to crack it. I wonder if I'm missing a piece of vital step here. Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Leffie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 03:39:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103625#M3549</guid>
      <dc:creator>EifLeffie</dc:creator>
      <dc:date>2014-04-17T03:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: extract values to points, multiple raster- and shape-files, using ModelBuilder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103626#M3550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you ever manage to get this problem fixed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using 10.2 as well and have exactly the same issue. Have checked that all the projections are fine, the rasters are in ESRI grid format and that the XY coordinates are correctly assigned but still Extract Multi Values to Points give me all 0 values in the attributes table. Workarounds with sample and looping through rasters with Extract Values to point aren't working either, neither did installing the service packs!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated (3 days into to trying to get this bleeding tool to work!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 00:18:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/extract-values-to-points-multiple-raster-and-shape/m-p/103626#M3550</guid>
      <dc:creator>FredRichards</dc:creator>
      <dc:date>2014-11-12T00:18:38Z</dc:date>
    </item>
  </channel>
</rss>

