<?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: Update attributes on a point after moving it inside a polygon in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700514#M4521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Steven, how did you get on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2018 23:57:23 GMT</pubDate>
    <dc:creator>MatthewDobson</dc:creator>
    <dc:date>2018-09-17T23:57:23Z</dc:date>
    <item>
      <title>Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700504#M4511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature layer of points representing people and a feature layer of polygons representing areas they are assigned to be in.&amp;nbsp; I would like to have a web app where a user can move an existing point into a different polygon then have the point update to the name of the new area.&amp;nbsp; If it's possible I would like the point to be updated by clicking a button that runs a tool that updates by the point's location rather than by having the user type in the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble searching for answers to this because all the ones I find relate to doing a spatial join.&amp;nbsp; But I don't want to create a new feature class.&amp;nbsp; I need to only update the attributes of the feature in the existing point feature layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:38:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700504#M4511</guid>
      <dc:creator>StevenBell2</dc:creator>
      <dc:date>2018-09-12T20:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700505#M4512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you hoping for a Python or JS solution, or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 20:58:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700505#M4512</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2018-09-12T20:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700506#M4513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Honestly anything.  I don’t really have much scripting experience so I’d have to learn more about any possible solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 23:34:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700506#M4513</guid>
      <dc:creator>StevenBell2</dc:creator>
      <dc:date>2018-09-12T23:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700507#M4514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Python, you would find the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/pointgeometry.htm"&gt;Point Geometry&lt;/A&gt; you moved, then cycle through the &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/analyze/arcpy-classes/polygon.htm"&gt;Polygon&lt;/A&gt; objects, checking if the polygon contains the point (using one of the polygon methods, like contains or not disjoint). The JS API would have similar objects/methods, but I'm not particularly familiar with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 23:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700507#M4514</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2018-09-12T23:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700508#M4515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steven, where does the data reside? If it is in a relational database (MS SQL Server, Oracle etc.) you could work something up at the database level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 00:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700508#M4515</guid>
      <dc:creator>MatthewDobson</dc:creator>
      <dc:date>2018-09-13T00:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700509#M4516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It resides in an sql database but the updates will be made through a web app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 00:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700509#M4516</guid>
      <dc:creator>StevenBell2</dc:creator>
      <dc:date>2018-09-13T00:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700510#M4517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea, that's okay. I'll have a crack at a little SQL trigger that will do the update within the database once the point is moved via the WebMap. You might need to do some finessing as I don't know your data structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 00:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700510#M4517</guid>
      <dc:creator>MatthewDobson</dc:creator>
      <dc:date>2018-09-13T00:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700511#M4518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll need to update the attached with your database, schema and featureclass names, as well as the names of the fields in your point and polygon featureclasses.&lt;/P&gt;&lt;P&gt;The trigger will:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; 1. get the geometry for the moved point feature&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; 2.&amp;nbsp;&lt;/SPAN&gt;find the polygon that the point intersects with and gets the 'name' of that area. &lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; 3.&amp;nbsp;&lt;/SPAN&gt;updates the point attribute with the 'name' of that area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know how you get on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 01:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700511#M4518</guid>
      <dc:creator>MatthewDobson</dc:creator>
      <dc:date>2018-09-13T01:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700512#M4519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for trying to help.&amp;nbsp; I'm not seeing anything attached to your post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 15:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700512#M4519</guid>
      <dc:creator>StevenBell2</dc:creator>
      <dc:date>2018-09-13T15:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700513#M4520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Second try ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 22:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700513#M4520</guid>
      <dc:creator>MatthewDobson</dc:creator>
      <dc:date>2018-09-13T22:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700514#M4521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Steven, how did you get on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 23:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700514#M4521</guid>
      <dc:creator>MatthewDobson</dc:creator>
      <dc:date>2018-09-17T23:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Update attributes on a point after moving it inside a polygon</title>
      <link>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700515#M4522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry.  I have been pulled over to a different project and haven’t had a chance to work on that yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 13:08:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/update-attributes-on-a-point-after-moving-it/m-p/700515#M4522</guid>
      <dc:creator>StevenBell2</dc:creator>
      <dc:date>2018-09-18T13:08:20Z</dc:date>
    </item>
  </channel>
</rss>

