<?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 Adding data to an existing shapefile in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/adding-data-to-an-existing-shapefile/m-p/1017287#M36045</link>
    <description>&lt;P&gt;I'm trying to visualize some data that has been calculated for each zip code in the United States using ArcGIS Pro. I've found a file published by the census bureau that has the outline of every zip code and I've been able to successfully use a ClassBreaksRenderer in conjunction with that shape file to visualize the data. The following code works for me:&lt;/P&gt;&lt;P&gt;Map theMap = new Map(Basemap.CreateLightGrayCanvas());&lt;BR /&gt;string zipBoundaryFilePath = @"C:\CensusData\cb_2017_us_zcta510_500k.shp";&lt;BR /&gt;ShapefileFeatureTable zipBoundaryShapeFile = await ShapefileFeatureTable.OpenAsync(zipBoundaryFilePath);&lt;BR /&gt;FeatureLayer zipBoundaryLayer = new FeatureLayer(zipBoundaryShapeFile);&lt;/P&gt;&lt;P&gt;SimpleLineSymbol outlineSymbol = new SimpleLineSymbol(SimpleLineSymbolStyle.Solid, System.Drawing.Color.Black, 1);&lt;BR /&gt;List&amp;lt;ClassBreak&amp;gt; classBreakValues = new List&amp;lt;ClassBreak&amp;gt;&lt;BR /&gt;{&lt;BR /&gt;new ClassBreak("RED", "RED", 0, 200000, new SimpleFillSymbol(SimpleFillSymbolStyle.Solid, System.Drawing.Color.Red, outlineSymbol)),&lt;BR /&gt;new ClassBreak("ORANGE", "ORANGE", 200000, 1000000, new SimpleFillSymbol(SimpleFillSymbolStyle.Solid, System.Drawing.Color.Orange, outlineSymbol))&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;ClassBreaksRenderer theRenderer = new ClassBreaksRenderer("ALAND10", classBreakValues);&lt;/P&gt;&lt;P&gt;zipBoundaryLayer.Renderer = theRenderer;&lt;/P&gt;&lt;P&gt;theMap.OperationalLayers.Add(zipBoundaryLayer);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I have is if I want to use data that wasn't included in the original shapefile. I've calculated a number of values for each zip code, but I can't seem to associate them with the data I've loaded from the shapefile. Is there any way to add additional attributes to a set of Features by joining with either a text file or a database table?&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jan 2021 17:15:12 GMT</pubDate>
    <dc:creator>JamesRyseff1</dc:creator>
    <dc:date>2021-01-15T17:15:12Z</dc:date>
    <item>
      <title>Adding data to an existing shapefile</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-data-to-an-existing-shapefile/m-p/1017287#M36045</link>
      <description>&lt;P&gt;I'm trying to visualize some data that has been calculated for each zip code in the United States using ArcGIS Pro. I've found a file published by the census bureau that has the outline of every zip code and I've been able to successfully use a ClassBreaksRenderer in conjunction with that shape file to visualize the data. The following code works for me:&lt;/P&gt;&lt;P&gt;Map theMap = new Map(Basemap.CreateLightGrayCanvas());&lt;BR /&gt;string zipBoundaryFilePath = @"C:\CensusData\cb_2017_us_zcta510_500k.shp";&lt;BR /&gt;ShapefileFeatureTable zipBoundaryShapeFile = await ShapefileFeatureTable.OpenAsync(zipBoundaryFilePath);&lt;BR /&gt;FeatureLayer zipBoundaryLayer = new FeatureLayer(zipBoundaryShapeFile);&lt;/P&gt;&lt;P&gt;SimpleLineSymbol outlineSymbol = new SimpleLineSymbol(SimpleLineSymbolStyle.Solid, System.Drawing.Color.Black, 1);&lt;BR /&gt;List&amp;lt;ClassBreak&amp;gt; classBreakValues = new List&amp;lt;ClassBreak&amp;gt;&lt;BR /&gt;{&lt;BR /&gt;new ClassBreak("RED", "RED", 0, 200000, new SimpleFillSymbol(SimpleFillSymbolStyle.Solid, System.Drawing.Color.Red, outlineSymbol)),&lt;BR /&gt;new ClassBreak("ORANGE", "ORANGE", 200000, 1000000, new SimpleFillSymbol(SimpleFillSymbolStyle.Solid, System.Drawing.Color.Orange, outlineSymbol))&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;ClassBreaksRenderer theRenderer = new ClassBreaksRenderer("ALAND10", classBreakValues);&lt;/P&gt;&lt;P&gt;zipBoundaryLayer.Renderer = theRenderer;&lt;/P&gt;&lt;P&gt;theMap.OperationalLayers.Add(zipBoundaryLayer);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I have is if I want to use data that wasn't included in the original shapefile. I've calculated a number of values for each zip code, but I can't seem to associate them with the data I've loaded from the shapefile. Is there any way to add additional attributes to a set of Features by joining with either a text file or a database table?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 17:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-data-to-an-existing-shapefile/m-p/1017287#M36045</guid>
      <dc:creator>JamesRyseff1</dc:creator>
      <dc:date>2021-01-15T17:15:12Z</dc:date>
    </item>
  </channel>
</rss>

