<?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: Python and Snapping in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348184#M27315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick reply.&amp;nbsp; The Land grid is made up of polygons.&amp;nbsp; I had not thought about selecting the feature to obtain its extent.&amp;nbsp; Thanks for the idea!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2013 17:11:21 GMT</pubDate>
    <dc:creator>JeffPapirtis</dc:creator>
    <dc:date>2013-05-02T17:11:21Z</dc:date>
    <item>
      <title>Python and Snapping</title>
      <link>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348182#M27313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on a python Add-in and in order to have the proper output I need to be able to snap to the corner point of a land grid.&amp;nbsp; I have not been able to find any functions within arcpy that allows for this to happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need the same functionality found on the snapping toolbar in order to get the precise X,Y Coordinates as input into my python script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone tried this before or is anyone aware of this functionality within arcpy?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 16:40:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348182#M27313</guid>
      <dc:creator>JeffPapirtis</dc:creator>
      <dc:date>2013-05-02T16:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Snapping</title>
      <link>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348183#M27314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what is the nature of your "land grid"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it a fishnet of intersecting lines?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it a polygon FC with tiled rectangles?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If they are polygons, the polygon's extent object will tell you the lower left corner coordinates of the square you have selected,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and will even return a point object for the lowerLeft (or whichever corner you fancy as 'origin')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the grid a fishnet of lines, you can create intersection points by using Planarize Lines,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then collecting the four closest points to your cursor click.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;These four will be the corners of the grid sqaure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some math comparing the point coordinate values will give to the corner you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 17:06:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348183#M27314</guid>
      <dc:creator>markdenil</dc:creator>
      <dc:date>2013-05-02T17:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Snapping</title>
      <link>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348184#M27315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick reply.&amp;nbsp; The Land grid is made up of polygons.&amp;nbsp; I had not thought about selecting the feature to obtain its extent.&amp;nbsp; Thanks for the idea!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 17:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348184#M27315</guid>
      <dc:creator>JeffPapirtis</dc:creator>
      <dc:date>2013-05-02T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Snapping</title>
      <link>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348185#M27316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How about using a "FeatureSet". This is a data type that you can set up in a toolbox that allows you to interactivly create point, lines or polygons as input to a toolbox, which is very cool. Does not need to be an AddIn. Snapping is enabled, so that when you are creating your point or whatever in the map frame, your cursor snaps to other layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 17:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348185#M27316</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-05-02T17:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Python and Snapping</title>
      <link>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348186#M27317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How about using a "FeatureSet". This is a data type that you can set up in a toolbox that allows you to interactivly create point, lines or polygons as input to a toolbox, which is very cool. Does not need to be an AddIn. Snapping is enabled, so that when you are creating your point or whatever in the map frame, your cursor snaps to other layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 17:45:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-and-snapping/m-p/348186#M27317</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2013-05-02T17:45:10Z</dc:date>
    </item>
  </channel>
</rss>

