<?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 Extracting the Data from Shape File for Data Comparison in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/extracting-the-data-from-shape-file-for-data/m-p/1116263#M10636</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have 2 shape files called Existing.shp and Updated.shp with following columns ObjectID,DateTime,X,Y,Location,AOIName,CreatedBy,EditedBy&lt;/P&gt;&lt;P&gt;Existing.shp will be in the Web applications and Updated.shp will be udated once in 10 days from various persons. I have to compare the data with Existing.shp and Updated.shp to identify the duplicate data.&lt;/P&gt;&lt;P&gt;Means Comparing Existing.shp to Updated.shp and remove the duplicate data in Updated.shp, Because Existing.shp is clean and processed by the application.&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1. Download the Existing.shp from the Application and Store it in my local folder [D:\DataCompare\Existing.shp].&lt;/P&gt;&lt;P&gt;2.Receive the Updated.shp from various persons and store it in[D:\DataCompare\Updated.shp].&lt;/P&gt;&lt;P&gt;3.Compare Existing.shp and Updated.shp and Remove Duplicate Data in Updated.shp&lt;/P&gt;&lt;P&gt;4.Insert the new Data to Existing.shp and Upload to Application.&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;1. Visual Studio 2017 Community/C#/Windows Desktop Forms&lt;/P&gt;&lt;P&gt;2. Installed ESRI.ArcGISRunTime&lt;/P&gt;&lt;P&gt;Query:&lt;/P&gt;&lt;P&gt;1.How to read the data in C# from the Existing.shp and Updated.shp like CreatedBy,Date.&lt;/P&gt;&lt;P&gt;If Possible Code Snippets please.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; How to load in store it in C#/Dictionary with specific Coulmns. So I can Compare with Date/CreatedBy&lt;/P&gt;&lt;P&gt;Once the data are loaded in Dictionary, I can perform other conditions.&lt;/P&gt;&lt;P&gt;I tried :&lt;/P&gt;&lt;P&gt;// Open the shapefile&lt;BR /&gt;ShapefileFeatureTable myShapefile = await ShapefileFeatureTable.OpenAsync(filepath);&lt;/P&gt;&lt;P&gt;// Create a feature layer to display the shapefile&lt;BR /&gt;FeatureLayer newFeatureLayer = new FeatureLayer(myShapefile);&lt;/P&gt;&lt;P&gt;But I am unable to access the data Row wise. Am I doing right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 11:58:25 GMT</pubDate>
    <dc:creator>ManoharDevGis</dc:creator>
    <dc:date>2021-11-12T11:58:25Z</dc:date>
    <item>
      <title>Extracting the Data from Shape File for Data Comparison</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/extracting-the-data-from-shape-file-for-data/m-p/1116263#M10636</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have 2 shape files called Existing.shp and Updated.shp with following columns ObjectID,DateTime,X,Y,Location,AOIName,CreatedBy,EditedBy&lt;/P&gt;&lt;P&gt;Existing.shp will be in the Web applications and Updated.shp will be udated once in 10 days from various persons. I have to compare the data with Existing.shp and Updated.shp to identify the duplicate data.&lt;/P&gt;&lt;P&gt;Means Comparing Existing.shp to Updated.shp and remove the duplicate data in Updated.shp, Because Existing.shp is clean and processed by the application.&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1. Download the Existing.shp from the Application and Store it in my local folder [D:\DataCompare\Existing.shp].&lt;/P&gt;&lt;P&gt;2.Receive the Updated.shp from various persons and store it in[D:\DataCompare\Updated.shp].&lt;/P&gt;&lt;P&gt;3.Compare Existing.shp and Updated.shp and Remove Duplicate Data in Updated.shp&lt;/P&gt;&lt;P&gt;4.Insert the new Data to Existing.shp and Upload to Application.&lt;/P&gt;&lt;P&gt;Environment:&lt;/P&gt;&lt;P&gt;1. Visual Studio 2017 Community/C#/Windows Desktop Forms&lt;/P&gt;&lt;P&gt;2. Installed ESRI.ArcGISRunTime&lt;/P&gt;&lt;P&gt;Query:&lt;/P&gt;&lt;P&gt;1.How to read the data in C# from the Existing.shp and Updated.shp like CreatedBy,Date.&lt;/P&gt;&lt;P&gt;If Possible Code Snippets please.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; How to load in store it in C#/Dictionary with specific Coulmns. So I can Compare with Date/CreatedBy&lt;/P&gt;&lt;P&gt;Once the data are loaded in Dictionary, I can perform other conditions.&lt;/P&gt;&lt;P&gt;I tried :&lt;/P&gt;&lt;P&gt;// Open the shapefile&lt;BR /&gt;ShapefileFeatureTable myShapefile = await ShapefileFeatureTable.OpenAsync(filepath);&lt;/P&gt;&lt;P&gt;// Create a feature layer to display the shapefile&lt;BR /&gt;FeatureLayer newFeatureLayer = new FeatureLayer(myShapefile);&lt;/P&gt;&lt;P&gt;But I am unable to access the data Row wise. Am I doing right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 11:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/extracting-the-data-from-shape-file-for-data/m-p/1116263#M10636</guid>
      <dc:creator>ManoharDevGis</dc:creator>
      <dc:date>2021-11-12T11:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting the Data from Shape File for Data Comparison</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/extracting-the-data-from-shape-file-for-data/m-p/1118780#M10659</link>
      <description>&lt;P&gt;You can use QueryAsync on &lt;SPAN&gt;myShapefile to query all the features. Use the ObjectID column to compare attributes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;If you're just trying to "sync" data however, you might want to consider using ArcGIS Server and a local&amp;nbsp; mobile geodatabase, since you can perform a simple sync operation to bring your local data in sync with the server.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:35:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/extracting-the-data-from-shape-file-for-data/m-p/1118780#M10659</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2021-11-19T17:35:05Z</dc:date>
    </item>
  </channel>
</rss>

