<?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: In_features for Near_analysis in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579145#M45399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The documentation calls for a a &lt;/SPAN&gt;&lt;STRONG&gt;feature layer &lt;/STRONG&gt;&lt;SPAN&gt;of type Point, polyline, polygon or multipoint. I know that some geoprocessing tools will let you supply a geometry for input and a object for output, such as obj = arcpy.near_analysis(pPoint,junctionLyr). The error message I'm getting is telling me that my in_features is of the wrong type when I provide a point object. I suspect that the tool wasn't designed to work that way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 15:05:11 GMT</pubDate>
    <dc:creator>JoelCappello</dc:creator>
    <dc:date>2011-04-13T15:05:11Z</dc:date>
    <item>
      <title>In_features for Near_analysis</title>
      <link>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579143#M45397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm attempting to find the closest junction to the end points of my existing lines. i.e,. I'm using the lastpoint and firstpoint for input_features of my near_analysis and another junction (points) for my near_features. Is this possible? I can't find any documentation. Any ideas how?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 16:21:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579143#M45397</guid>
      <dc:creator>JoelCappello</dc:creator>
      <dc:date>2011-04-12T16:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: In_features for Near_analysis</title>
      <link>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579144#M45398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure what your question is - this sounds exactly like what &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00080000001q000000.htm"&gt;Near&lt;/A&gt;&lt;SPAN&gt; is supposed to do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 16:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579144#M45398</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2011-04-12T16:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: In_features for Near_analysis</title>
      <link>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579145#M45399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The documentation calls for a a &lt;/SPAN&gt;&lt;STRONG&gt;feature layer &lt;/STRONG&gt;&lt;SPAN&gt;of type Point, polyline, polygon or multipoint. I know that some geoprocessing tools will let you supply a geometry for input and a object for output, such as obj = arcpy.near_analysis(pPoint,junctionLyr). The error message I'm getting is telling me that my in_features is of the wrong type when I provide a point object. I suspect that the tool wasn't designed to work that way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 15:05:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579145#M45399</guid>
      <dc:creator>JoelCappello</dc:creator>
      <dc:date>2011-04-13T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: In_features for Near_analysis</title>
      <link>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579146#M45400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But you have an input feature layer (the end points of your polylines). If you don't have that, use the Line to Point script (not exactly sure what it's called - my ArcGIS is in the process of crashing) to get the end points. That gives you your input feature class, on which you use Near to get the ID and distance to the closest junction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: it's the Feature Vertices to Points tool, Point Type = BOTH_ENDS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 18:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/in-features-for-near-analysis/m-p/579146#M45400</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2011-04-13T18:44:35Z</dc:date>
    </item>
  </channel>
</rss>

