<?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 Geometry gets modified when updating only attribute data in ArcGIS for Windows Mobile Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/geometry-gets-modified-when-updating-only/m-p/749199#M3150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Using ArcGIS Runtime for Windows Mobile 10.1.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;We are trying to update attribute data of features and somehow the geometry gets also updated when we save the changes to the mobile cache and synchronize them back to the database. If I update multiple features, all previously updated features get the geometry of the feature that was last updated.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Here is an example code which reproduces the issue. The firstRow gets the geometry of secondRow when the data is synchronized back to the database. In mobile cache everything seems to be correct, atleast I can see the features correctly on the map and select them. And also the attribute data is correctly synchronized.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;int firstId = 2105650708;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;int secondId = 2105650709;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MobileCache mobileCache = new DatabaseService().mobileCache;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureSource source = mobileCache.FeatureSources["TABLE"];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureDataTable firstDt = source.GetDataTable(new QueryFilter(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String.Format("{0} = {1}", Columns.OBJECTID, firstId)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureDataRow firstRow = firstDt[0];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;firstRow[Columns.DESCRIPTION] = "FIRST";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;firstDt.SaveInFeatureSource();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureDataTable secondDt = source.GetDataTable(new QueryFilter(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String.Format("{0} = {1}", Columns.OBJECTID, secondId)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureDataRow secondRow = secondDt[0];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;secondRow[Columns.DESCRIPTION] = "SECOND";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;secondDt.SaveInFeatureSource();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 1em;"&gt;Has anyone experienced anything similar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Aug 2014 12:39:38 GMT</pubDate>
    <dc:creator>JoniNevalainen</dc:creator>
    <dc:date>2014-08-22T12:39:38Z</dc:date>
    <item>
      <title>Geometry gets modified when updating only attribute data</title>
      <link>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/geometry-gets-modified-when-updating-only/m-p/749199#M3150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Using ArcGIS Runtime for Windows Mobile 10.1.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;We are trying to update attribute data of features and somehow the geometry gets also updated when we save the changes to the mobile cache and synchronize them back to the database. If I update multiple features, all previously updated features get the geometry of the feature that was last updated.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Here is an example code which reproduces the issue. The firstRow gets the geometry of secondRow when the data is synchronized back to the database. In mobile cache everything seems to be correct, atleast I can see the features correctly on the map and select them. And also the attribute data is correctly synchronized.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;int firstId = 2105650708;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;int secondId = 2105650709;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;MobileCache mobileCache = new DatabaseService().mobileCache;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureSource source = mobileCache.FeatureSources["TABLE"];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureDataTable firstDt = source.GetDataTable(new QueryFilter(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String.Format("{0} = {1}", Columns.OBJECTID, firstId)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureDataRow firstRow = firstDt[0];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;firstRow[Columns.DESCRIPTION] = "FIRST";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;firstDt.SaveInFeatureSource();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureDataTable secondDt = source.GetDataTable(new QueryFilter(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String.Format("{0} = {1}", Columns.OBJECTID, secondId)));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FeatureDataRow secondRow = secondDt[0];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;secondRow[Columns.DESCRIPTION] = "SECOND";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;secondDt.SaveInFeatureSource();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 1em;"&gt;Has anyone experienced anything similar?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 12:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-windows-mobile-questions/geometry-gets-modified-when-updating-only/m-p/749199#M3150</guid>
      <dc:creator>JoniNevalainen</dc:creator>
      <dc:date>2014-08-22T12:39:38Z</dc:date>
    </item>
  </channel>
</rss>

