<?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: Fish Habitat Tool in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679549#M22555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That toolbox is not one that comes with arcmap.&amp;nbsp; It is a custom toolbox that is obviously in need of repair by the person that created it.&amp;nbsp; If there is a python script, and you are adept in things pythonesque, you could probably edit the toolbox to provide the parameters needed by examine the script.&amp;nbsp; If not, contact the person that created it or...just remove it since it will be of no use to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Feb 2015 14:47:18 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2015-02-01T14:47:18Z</dc:date>
    <item>
      <title>Fish Habitat Tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679548#M22554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ArcToolbox, there is a Fish Habitat toolbox with a SnapAndSplit tool, but when I open that tool I get the message "This tool has no parameters." I was hoping I would be able to use this tool to measure distances between successive tracking locations for a fish along several rivers where the fish's movement was tracked.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help you can give.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2015 14:23:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679548#M22554</guid>
      <dc:creator>JodyCamille</dc:creator>
      <dc:date>2015-02-01T14:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Fish Habitat Tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679549#M22555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That toolbox is not one that comes with arcmap.&amp;nbsp; It is a custom toolbox that is obviously in need of repair by the person that created it.&amp;nbsp; If there is a python script, and you are adept in things pythonesque, you could probably edit the toolbox to provide the parameters needed by examine the script.&amp;nbsp; If not, contact the person that created it or...just remove it since it will be of no use to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2015 14:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679549#M22555</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-01T14:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fish Habitat Tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679550#M22556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jody,&lt;/P&gt;&lt;P&gt;The SnapAndSplit tool (Fish Habitat Toolbox) is a customized tool, where the model doesn't have a parameter defined.&lt;/P&gt;&lt;P&gt;You could try opening it in a model builder by following the necessary steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In &lt;STRONG&gt;ArcCatalog&lt;/STRONG&gt;, go to the drive location of the Fish Habitat Toolbox (*Check its properties).&lt;/P&gt;&lt;P&gt;2. Expand the toolbox &amp;gt; Right-click on SnapAndSplit Tool &amp;gt; &lt;STRONG&gt;Edit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once it is open in a model builder, you could make the necessary changes, and &lt;STRONG&gt;run&lt;/STRONG&gt; the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2015 15:43:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679550#M22556</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-02-01T15:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Fish Habitat Tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679551#M22557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To calculate the distance of successive points (I assume they are in order, and your location points are in projected coordinate system), you could follow the given steps.&lt;/P&gt;&lt;P&gt;1. Add a field in Attribute Table (Datatype: Double).&lt;/P&gt;&lt;P&gt;2. Open &lt;STRONG&gt;Field Calculator&lt;/STRONG&gt; (Make sure none of the features selected).&lt;/P&gt;&lt;P&gt;3. &lt;STRONG&gt;Parser&lt;/STRONG&gt; &amp;gt; Click on &lt;STRONG&gt;Python&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4. Check &lt;STRONG&gt;Show Codeblock&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;5. Under &lt;STRONG&gt;pre-logic script code&lt;/STRONG&gt;, paste the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;CODE&gt;count = 0&lt;BR /&gt;def dist(shape):&lt;BR /&gt;&amp;nbsp; global prev&lt;BR /&gt;&amp;nbsp; global count&lt;BR /&gt;&amp;nbsp; point = arcpy.PointGeometry(shape.getPart(0))&lt;BR /&gt;&amp;nbsp; if count &amp;gt; 0:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance = point.distanceTo(prev)&lt;BR /&gt;&amp;nbsp; else:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; distance = 0&lt;BR /&gt;&amp;nbsp; prev = point&lt;BR /&gt;&amp;nbsp; count = count+1&lt;BR /&gt;&amp;nbsp; return distance&lt;/CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Under &amp;lt;Fieldname&amp;gt; = , paste the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;dist( !Shape! )&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it works as you desire (It worked fine with ArcMap 10.1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2015 16:23:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679551#M22557</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-02-01T16:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fish Habitat Tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679552#M22558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code requires proper indentation, use the advanced editor and select python syntax after highlightlng the code block&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2015 16:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679552#M22558</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-02-01T16:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Fish Habitat Tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679553#M22559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Jay. The fish location points are in order and they are in a projected coordinate system. The river (polyline) is in the same projected coordinate system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I calculate in a distance field of the fish location attribute table using your code, is a Euclidean distance calculated? I need to calculate the distance between successive points &lt;EM&gt;along the river&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jody&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 19:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679553#M22559</guid>
      <dc:creator>JodyCamille</dc:creator>
      <dc:date>2015-02-06T19:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fish Habitat Tool</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679554#M22560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you can use linear referencing. First convert the River polylines to routes using the&lt;STRONG&gt; create Route tool&lt;/STRONG&gt; &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Create_Routes/003m00000005000000/" title="http://resources.arcgis.com/en/help/main/10.2/index.html#/Create_Routes/003m00000005000000/"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; , and then use the &lt;STRONG&gt;Locate features along routes tool &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Locate_Features_Along_Routes/003m00000007000000/" title="http://resources.arcgis.com/en/help/main/10.2/index.html#/Locate_Features_Along_Routes/003m00000007000000/"&gt;ArcGIS Help (10.2, 10.2.1, and 10.2.2)&lt;/A&gt; &lt;/STRONG&gt; to write the route and measure information to a new event table.&lt;/P&gt;&lt;P&gt;Note: Use the measurements same as the unit of the coordinate system of your map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 19:52:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/fish-habitat-tool/m-p/679554#M22560</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-02-06T19:52:05Z</dc:date>
    </item>
  </channel>
</rss>

