<?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: Help using PointGeometry with SelectLayerByLocation in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491899#M38544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually (psychologically) I did "override" it.&lt;/P&gt;&lt;P&gt;If one sets and env to a SRS/CRS, one should be able to assume that all dimension and coordinate related values would be&amp;nbsp;interpreted by ArcGIS to be in the CRS set by the env.&lt;/P&gt;&lt;P&gt;By placing 'None' in a specific command, that (intuitively) explicitly says "override the env requested CRS"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is about symantecs of speach, but I make this point because when ESRI provide certain settings, certain expectations are also "enabled".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&amp;nbsp;&lt;/P&gt;&lt;P&gt;Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jan 2019 05:50:07 GMT</pubDate>
    <dc:creator>ZoltanSzecsei</dc:creator>
    <dc:date>2019-01-12T05:50:07Z</dc:date>
    <item>
      <title>Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491884#M38529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The following code fails:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;pg = arcpy.PointGeometry(vert&lt;SPAN style="color: #cc7832;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;'None'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #8888c6;"&gt;True&lt;/SPAN&gt;)
arcpy.SelectLayerByLocation_management(&lt;SPAN style="color: #a5c261;"&gt;"hgt_feats"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;"WITHIN_A_DISTANCE_3D"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;pg&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;0.005&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #a5c261;"&gt;'NEW_SELECTION'&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;with:&lt;/P&gt;&lt;P&gt;File "Z:/Projects/Development/python/ToGround/ToGround.py", line 140, in &amp;lt;module&amp;gt;&lt;BR /&gt; arcpy.SelectLayerByLocation_management("hgt_feats", "WITHIN_A_DISTANCE_3D", pg, 0.005, 'NEW_SELECTION')&lt;BR /&gt; File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\management.py", line 7873, in SelectLayerByLocation&lt;BR /&gt; raise e&lt;BR /&gt;RuntimeError: Object: Error in executing tool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to see if there is an underlying polygon &lt;SPAN style="text-decoration: underline;"&gt;vertex&lt;/SPAN&gt; at&amp;nbsp;a specific XYZ&amp;nbsp;location.&lt;/P&gt;&lt;P&gt;I do not need to select the underlying polygon, I just need to know if there is one at that location&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Regards and thanks,&lt;/P&gt;&lt;P&gt;Zoltan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491884#M38529</guid>
      <dc:creator>ZoltanSzecsei</dc:creator>
      <dc:date>2021-12-11T21:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491885#M38530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/classes/pointgeometry.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/classes/pointgeometry.htm"&gt;PointGeometry—ArcPy classes | ArcGIS Desktop&lt;/A&gt;&amp;nbsp; intersects perhaps, if you want to work with arcpy geometry objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/select-layer-by-location.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/select-layer-by-location.htm"&gt;Select Layer By Location—Data Management toolbox | ArcGIS Desktop&lt;/A&gt; are using feature layers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 19:47:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491885#M38530</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-11T19:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491886#M38531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan&lt;/P&gt;&lt;P&gt;I'll take a deeper look at the Point Geometry classes - but I did find plenty of examples using Geometry with SelectLayerByLocation, so I was wondering why my forehead has square indentations and my keyboard broken &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and keep well,&lt;/P&gt;&lt;P&gt;Zoltan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 19:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491886#M38531</guid>
      <dc:creator>ZoltanSzecsei</dc:creator>
      <dc:date>2019-01-11T19:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491887#M38532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try specifying&amp;nbsp;a spatial reference on your PointGeometry, even if it is unprojected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:09:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491887#M38532</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2019-01-11T20:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491888#M38533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have - and have also set&amp;nbsp;arcpy.env.outputCoordinateSystem = arcpy.SpatialReference(blah blah)&lt;/P&gt;&lt;P&gt;It is a projected system with metric coords&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan's put me on to using geometry methods - now that I take a deeper look, it is a better way to solve my particular issue - I'm just&amp;nbsp; busy wrapping my head around using disjoint/intersect/whatever...........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:15:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491888#M38533</guid>
      <dc:creator>ZoltanSzecsei</dc:creator>
      <dc:date>2019-01-11T20:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491889#M38534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AAaargh! Yes! (Darren says:&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Try specifying&amp;nbsp;a spatial reference on your PointGeometry)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I override it with 'None', so that negates my env setttings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I've now added the Spatial Reference into the arcpy.PointGeometry() and it is now working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Big thanks Darren &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Zoltan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:23:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491889#M38534</guid>
      <dc:creator>ZoltanSzecsei</dc:creator>
      <dc:date>2019-01-11T20:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491890#M38535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You didn't override it with None, you just created a point geometry without one.&amp;nbsp; In your original code, I assume vert is an ArcPy Point, and ArcPy Points don't have spatial references so there is nothing to override. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 20:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491890#M38535</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-01-11T20:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491891#M38536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select by Location according to the help files, requires 2 feature layers as input. (A hidden feature of arcpy? )&lt;/P&gt;&lt;P&gt;Zoltan, do you have the example where an arcpy geometry object and a feature layer made it work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 21:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491891#M38536</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-11T21:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491892#M38537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With ArcGIS Pro, not sure whether from 1.0 or a later release, you can use Select Layer By Location with only ArcPy geometries.&amp;nbsp; The &lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/select-layer-by-location.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/select-layer-by-location.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Select Layer By Location—Data Management toolbox | ArcGIS Pro&lt;/A&gt;&amp;nbsp; alludes to it rather than stating it directly:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="font-size: 22px;"&gt;Usage&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="margin-top: 0px; margin-bottom: 1.55rem; padding: 0px; list-style-position: inside; margin-left: 0.775rem; font-size: 0.9375rem; line-height: 1.55rem; color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;LI style="list-style-position: outside; margin: 0.3875rem 0px 0.3875rem 1.5rem;"&gt;&lt;P style="margin-top: 0px; margin-bottom: 1.55rem;"&gt;&lt;SPAN style="font-size: 13px;"&gt;If the input is a feature class or dataset path, this tool will automatically create and return a new layer with the result of the tool applied.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; 
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; SR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SpatialReference&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3857&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; polys &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FromWKT&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'POLYGON((0 0, 10 0, 10 10, 0 10, 0 0))'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SR&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FromWKT&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'POLYGON((11 11, 21 11, 21 21, 11 21, 11 11))'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SR&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FromWKT&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'POLYGON((0 11, 5 11, 5 16, 0 16, 0 11))'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; SR&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; pt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;FromWKT&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'POINT(10.5 10.5)'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SpatialReference&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3857&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; 
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; fl&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SelectLayerByLocation_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polys&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;'WITHIN_A_DISTANCE'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pt&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="number token"&gt;1.0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;'NEW_SELECTION'&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; fl&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;getSelectionSet&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; 
‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The IDs returned from &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;getSelectionSet()&lt;/SPAN&gt; are offset by 1 from the index of the list passed to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In terms of ArcGIS Desktop/ArcMap, this new functionality was &lt;SPAN style="text-decoration: underline;"&gt;not&lt;/SPAN&gt; supposed to be back ported, but it appears to have been back ported because I can run this code with 10.6.1.&amp;nbsp; That said, I think using an ArcPy geometry as the &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;select_features&lt;/SPAN&gt; has worked for several versions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491892#M38537</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-11T21:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491893#M38538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That makes sense (like the interactive featurelayer creation in tools for Pro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... but it does the arcpy's PointGeometry Zoltan is using work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 22:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491893#M38538</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-11T22:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491894#M38539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should it work for Zoltan with the PointGeometry, I think so, and it appears to be running without errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't say I am a fan of the changes to Select Layer by Attributes and Selection Layer By Location.&amp;nbsp; The tools are called "Select Layer," I don't see what is wrong with requiring an actual layer for the in_layer parameter, which is the historical behavior.&amp;nbsp; The newfangled, "convenient" behavior both confuses the semantics of the tools as well as changes some of the behaviors of the tools when using ArcPy geometries as the select_features.&amp;nbsp; I find it humorous and annoying how "backwards compatibility" is so often used as the excuse when my organization asks about changing ArcPy behavior, but it doesn't seem to stop Esri from changing long-standing tool behavior when they want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 22:45:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491894#M38539</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-01-11T22:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491895#M38540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;on 2.3 beta, and I couldn't even get your code to work until I removed the comma on line 9 an&lt;/P&gt;&lt;P&gt;it didn't like fl.getSelectionSet(), and I had to use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;for i in fl:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print(i)&lt;/DIV&gt;&lt;DIV&gt;f1635DCC2_72BF_41B1_8863_C2A2&lt;BR /&gt;f1635DCC2_72BF_41B1_8863_C2A2&lt;BR /&gt;2&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;So 2.3 will have more changes if you weren't using Pro 2.3, beta-2&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 22:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491895#M38540</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-11T22:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491896#M38541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I last tested with Python 3 for ArcPy 10.6.1 on Linux, an ArcGIS Server-based ArcPy bundle.&amp;nbsp; So, it could be part of what I did only works on either 10.6.1, Linux, or both!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding Pro, I will have to test again next week once I get access again to a machine with it installed.&amp;nbsp; What I have found with Pro is that certain ArcPy code works/behaves differently when run from within the application vs. outside of the application.&amp;nbsp; I have logged several bugs recently where code that should work in a script being executed with the bundled Python interpreter doesn't work, but the same code does work within the Pro application either from a script tool or interactive Python window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 01:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491896#M38541</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-01-12T01:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491897#M38542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be expected since the 'arcpy's (in it's various incarnations ) are indeed different.&lt;/P&gt;&lt;P&gt;Python 3.6.6 for current ArcGIS Pro.&amp;nbsp; I don't think that will change much if at all.&lt;/P&gt;&lt;P&gt;3.6.8 ended the 3.6* line, 3.7* is up to 3.7.2 (stable) and 3.8* is under development.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 02:06:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491897#M38542</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-01-12T02:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491898#M38543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it does&lt;IMG alt="Notice i==1 in watch window." class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/433110_selectlayerbylocation_with_XYZ.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 05:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491898#M38543</guid>
      <dc:creator>ZoltanSzecsei</dc:creator>
      <dc:date>2019-01-12T05:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491899#M38544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually (psychologically) I did "override" it.&lt;/P&gt;&lt;P&gt;If one sets and env to a SRS/CRS, one should be able to assume that all dimension and coordinate related values would be&amp;nbsp;interpreted by ArcGIS to be in the CRS set by the env.&lt;/P&gt;&lt;P&gt;By placing 'None' in a specific command, that (intuitively) explicitly says "override the env requested CRS"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is about symantecs of speach, but I make this point because when ESRI provide certain settings, certain expectations are also "enabled".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&amp;nbsp;&lt;/P&gt;&lt;P&gt;Z&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 05:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491899#M38544</guid>
      <dc:creator>ZoltanSzecsei</dc:creator>
      <dc:date>2019-01-12T05:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491900#M38545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No - this was my first attempt - but see my post with screenshot, above - it does work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 05:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491900#M38545</guid>
      <dc:creator>ZoltanSzecsei</dc:creator>
      <dc:date>2019-01-12T05:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491901#M38546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know what you are saying, and agree, about expectations.&amp;nbsp; About 1/3 of the defects I log are where the software works but the behavior doesn't agree with documentation.&amp;nbsp; I don't care which one Esri fixes, either the software or the documentation, but even getting documentation updated has taken multiple versions.&amp;nbsp; I get fixing software defects takes time, but the slowness up addressing documentation issues has always frustrated me greatly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 14:20:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491901#M38546</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-01-12T14:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491902#M38547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - it seems not to work reliably, si I need to rethink my approach.&lt;/P&gt;&lt;P&gt;I'll start a new thread called "Efficient way to check if a vertex coincides with another feature's vertex"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 14:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491902#M38547</guid>
      <dc:creator>ZoltanSzecsei</dc:creator>
      <dc:date>2019-01-12T14:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help using PointGeometry with SelectLayerByLocation</title>
      <link>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491903#M38548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your new thread, explain what isn't working reliably, the geoprocessing tools themselves or the spatial analysis part.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 14:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-using-pointgeometry-with/m-p/491903#M38548</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-01-12T14:42:47Z</dc:date>
    </item>
  </channel>
</rss>

