<?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: Move a polygon feature by using ArcGIS runtime SDK for .Net in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166434#M1903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned, the SketchEditor has this ability built-in so users can interactively move, scale and rotate&amp;nbsp;geometries.&lt;/P&gt;&lt;P&gt;To do it programmatically you'd just have to move each vertex yourself - there's no out-of-the-box capability for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Oct 2019 21:36:57 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2019-10-18T21:36:57Z</dc:date>
    <item>
      <title>Move a polygon feature by using ArcGIS runtime SDK for .Net</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166428#M1897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS runtime SDK(version 100.6) for .Net. I want to move a &lt;STRONG&gt;polygon&lt;/STRONG&gt; feature from one location to other. Kindly&amp;nbsp; suggest me that how to achieve this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:41:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166428#M1897</guid>
      <dc:creator>DharmaRajan</dc:creator>
      <dc:date>2019-10-16T13:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Move a polygon feature by using ArcGIS runtime SDK for .Net</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166429#M1898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To move something you just need to update the geometry of the existing feature&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var feature = //somehow get existing feature

feature.Geometry = myNewGeometry;

await feature.FeatureTable.UpdateFeatureAsync(feature);&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In terms of how one would actually allow a user to choose an existing polygon and allow the user to move that depends on many factors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166429#M1898</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2021-12-11T08:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Move a polygon feature by using ArcGIS runtime SDK for .Net</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166430#M1899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to move it interactively, you can use the SketchEditor which supports dragging geometries around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do it programmatically, you can use PolygonBuilder and iterate through the vertices and offset each vertex by a certain amount (this is actually what the SketchEditor does as you're dragging the feature around).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 17:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166430#M1899</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-10-16T17:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Move a polygon feature by using ArcGIS runtime SDK for .Net</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166431#M1900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morten,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank for the response.&lt;/P&gt;&lt;P&gt;Iterating vertices will increase the execution time if the geometry has more number of vertices.&lt;/P&gt;&lt;P&gt;Without iterating through the vertices, is there any option like "&lt;EM style="color: #6a6a6a; background-color: #ffffff; font-weight: bold; font-size: 14px;"&gt;ITransform2D&lt;/EM&gt; method which is available in arcobjects"? So that we can move or rotate the geometry by using inbuilt functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 03:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166431#M1900</guid>
      <dc:creator>DharmaRajan</dc:creator>
      <dc:date>2019-10-17T03:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Move a polygon feature by using ArcGIS runtime SDK for .Net</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166432#M1901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Iterating vertices will increase the execution time if the geometry has more number of vertices.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure but it's still extremely quick. Any&amp;nbsp;out-of-the-box method we could provide would have to do the same thing.&lt;/P&gt;&lt;P&gt;Are you seeing a performance issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 15:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166432#M1901</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-10-17T15:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Move a polygon feature by using ArcGIS runtime SDK for .Net</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166433#M1902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact I am looking for the option like to move and rotate and scale. In ArcObjects, by using ITransform2D method we can do almost all these things. Hence I&amp;nbsp;feel it would be useful, if we have the similar method in ArcGIS runtime also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 04:24:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166433#M1902</guid>
      <dc:creator>DharmaRajan</dc:creator>
      <dc:date>2019-10-18T04:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Move a polygon feature by using ArcGIS runtime SDK for .Net</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166434#M1903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned, the SketchEditor has this ability built-in so users can interactively move, scale and rotate&amp;nbsp;geometries.&lt;/P&gt;&lt;P&gt;To do it programmatically you'd just have to move each vertex yourself - there's no out-of-the-box capability for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 21:36:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/move-a-polygon-feature-by-using-arcgis-runtime-sdk/m-p/166434#M1903</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-10-18T21:36:57Z</dc:date>
    </item>
  </channel>
</rss>

