<?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: How do I copy attribute data to an existing shapefile? in New to GIS Questions</title>
    <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723417#M1903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you have a name field identify each record you could join on this field, this could be bad if you have the same name for multiple records, but at least it should work for most of the records and cut down the amount of manual work that you may need to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2015 16:54:52 GMT</pubDate>
    <dc:creator>ChadKopplin</dc:creator>
    <dc:date>2015-12-02T16:54:52Z</dc:date>
    <item>
      <title>How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723412#M1898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an existing table containing attribute data about crosswalks with no geometry.&amp;nbsp; I also have a polyline layer for crosswalks that I want have the attribute data attached to.&amp;nbsp; How do I get the data from the .dbf into the empty crosswalk feature class?&amp;nbsp; Merge doesn't work b/c they're different data types.&amp;nbsp; I can't do a join b/c there is no spatial reference yet.&amp;nbsp; I figured once the data was in the shapefile I could use the "replace geometry" tool to draw in the lines depicting crosswalks but I'm not sure if that will work.&amp;nbsp; Am I going about this all wrong?&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:26:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723412#M1898</guid>
      <dc:creator>DianneBoisvert</dc:creator>
      <dc:date>2015-12-02T15:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723413#M1899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there an attribute in both layers that you can join on?&amp;nbsp; Or do you have coordinates in your table to identify their location?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:46:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723413#M1899</guid>
      <dc:creator>Elizabeth_R_Jarvie</dc:creator>
      <dc:date>2015-12-02T15:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723414#M1900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to provide an id field or some other key field in both tables, should they currently not exist, in order to join the tabular data to the file with the geometry.&amp;nbsp; If you have geometry for both, you could do a spatial join...but you don't&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723414#M1900</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-12-02T15:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723415#M1901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, unfortunately the attribute table doesn't have any coordinates.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 15:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723415#M1901</guid>
      <dc:creator>DianneBoisvert</dc:creator>
      <dc:date>2015-12-02T15:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723416#M1902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What fields do you have in both tables? Could you maybe provide a screen shot of both tables to see if there is anything we can do to help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:41:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723416#M1902</guid>
      <dc:creator>LukeSturtevant</dc:creator>
      <dc:date>2015-12-02T16:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723417#M1903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if you have a name field identify each record you could join on this field, this could be bad if you have the same name for multiple records, but at least it should work for most of the records and cut down the amount of manual work that you may need to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723417#M1903</guid>
      <dc:creator>ChadKopplin</dc:creator>
      <dc:date>2015-12-02T16:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723418#M1904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a streets layer that contains the same street names that are in your table?&amp;nbsp; You could use that to identify the street your xwalks are on or even identify to two closest streets and create a join field.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may find it just as fast to manually add the 'Intersection Number' (given that it is unique to the crosswalk) to your xwalks layer and join your table using the intersection number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 17:29:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723418#M1904</guid>
      <dc:creator>Elizabeth_R_Jarvie</dc:creator>
      <dc:date>2015-12-02T17:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723419#M1905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First off.... Don't use a shapefile.&amp;nbsp; That's so 90's.&amp;nbsp; Create an empty feature class in a File Geodatabase.&amp;nbsp; Add a long integer field called JoinId.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would then add a filed in your table (CopyCrosswlakblahblahbla) called JoinId.&amp;nbsp; Type it as a long integer and then calc it to equal the OID.&amp;nbsp; This ensures a unique record id but it will 'travel' with the data no matter where you store it in the futuer.&amp;nbsp; The actual OID my change, but the JoinID remains static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have some work to do, but that's why there's payday.&amp;nbsp; With the table open start creating you polygons and populate the JoinID in the polygon with the appropriate JoinID from your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are done, perform a join, or simply create a relationship class base on JoinID.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 17:32:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723419#M1905</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2015-12-02T17:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723420#M1906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dianne,&lt;/P&gt;&lt;P&gt;Keep in mind that the ObjectID is an internal ID and can change based on changes to the individual line segments themselves.&amp;nbsp; Lets say you did not complete a line segment, so you create another segment to complete it, your shapefile will add a new ObjectID for that next segment.&amp;nbsp; The shapefile also orders the ObjectID from TOP to Bottom and starts in the upper left and moves to the right.&amp;nbsp; Just a few points to keep in mind as you create the line work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 18:04:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723420#M1906</guid>
      <dc:creator>ChadKopplin</dc:creator>
      <dc:date>2015-12-02T18:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723421#M1907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You've already found the "right" way to do this (digitize the lines, keeping track of a unique ID to join back to the attributes), but &lt;STRONG&gt;here is a spectacularly wrong way to do it&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) Make a note of how many records are in your table.&lt;/P&gt;&lt;P&gt;2.) If you table isn't in DBF format, make it so.&lt;/P&gt;&lt;P&gt;3.) Create a new line shapefile (mine is called "bad_idea.shp")&lt;/P&gt;&lt;P&gt;4.) We need to make as many null geometries as there are records in your table. You can do so with the following Python code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; insCursor = arcpy.da.InsertCursor("bad_idea","SHAPE@")
... for i in range(7):# change to the number of null geometries you want to make
...&amp;nbsp;&amp;nbsp;&amp;nbsp; myArray = arcpy.Array()
...&amp;nbsp;&amp;nbsp;&amp;nbsp; myPoint = arcpy.Point()
...&amp;nbsp;&amp;nbsp;&amp;nbsp; myArray.add(myPoint)
...&amp;nbsp;&amp;nbsp;&amp;nbsp; myLine = arcpy.Polyline(myArray)
...&amp;nbsp;&amp;nbsp;&amp;nbsp; insCursor.insertRow([myLine])&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.) Close down ArcGIS to release any locks on bad_idea.shp&lt;/P&gt;&lt;P&gt;6.) Delete "bad_idea.dbf" in file explorer&lt;/P&gt;&lt;P&gt;7.) Rename your original table (the one with the attributes you want to keep) to "bad_idea.dbf"&lt;/P&gt;&lt;P&gt;8.) ArcGIS won't open "bad_idea.shp" anymore (I'm not &lt;EM&gt;exactly&lt;/EM&gt; sure why), but QGIS is more liberal with that sort of thing. Bring this diseased shapefile into QGIS and save a copy, say "bad_idea_copy.shp"&lt;/P&gt;&lt;P&gt;9.) Bring "bad_idea_copy.shp" into ArcGIS. It should have your original attribute table associated with null polyline geometries.&lt;/P&gt;&lt;P&gt;10.) Start editing.&lt;/P&gt;&lt;P&gt;11.) Select the feature from the attribute table for which you want to update the existing null geometry to a real geometry&lt;/P&gt;&lt;P&gt;12.) Start editing vertices (editing toolbar)&lt;/P&gt;&lt;P&gt;13.) From the edit vertices toolbar, select Continue Feature Tool&lt;/P&gt;&lt;P&gt;14.) Draw your new feature. This geometry is associated with the selected record in the attribute table.&lt;/P&gt;&lt;P&gt;15.) Repeat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun. I take no responsibility for any damage this method may cause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:56:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723421#M1907</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-12T06:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723422#M1908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$0.02 fwiw, if you're already in python... and already inserting records into a fc... then why not go one tiny step further and build something valid?&amp;nbsp; iow, read the source attribute records, for each copy fields and create new fully attributed record into an empty fc, using some "dummy" (but valid) line segment that you can later edit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 18:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723422#M1908</guid>
      <dc:creator>DavidBollinger</dc:creator>
      <dc:date>2015-12-03T18:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723423#M1909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm... Yes, all valid points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: although, any workflow that includes creating null geometries is somewhat debatable as being "valid".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 18:34:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723423#M1909</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-12-03T18:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723424#M1910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/Eliza_J"&gt;Eliza_J&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I didn't see if you reply to Elizabeth Jarvie.&lt;/P&gt;&lt;P&gt;If you have a street segment feature class or shape file it can save you a lot of manual work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 20:10:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723424#M1910</guid>
      <dc:creator>AlexandraDubovis</dc:creator>
      <dc:date>2015-12-03T20:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I copy attribute data to an existing shapefile?</title>
      <link>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723425#M1911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the table has an address, you could geocode it, and then do a spatial join. If not, you are going to have a find or create a common attribute.&amp;nbsp; How would you match them by hand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 21:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/new-to-gis-questions/how-do-i-copy-attribute-data-to-an-existing/m-p/723425#M1911</guid>
      <dc:creator>Celeste_SuliinBurris</dc:creator>
      <dc:date>2015-12-03T21:15:11Z</dc:date>
    </item>
  </channel>
</rss>

