<?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: Adding lots of excel files with X,Y data + attributes in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267897#M15464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Riyas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That definitely helped and did the trick but I was wondering two things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;1. Is it possible to get the other two associated attributes? Running the script I get the XY points but without context their just random points.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;* I believe I would achieve this by having a shapefile with the associated attributes already created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Could you briefly explain the script a bit? I'm a bit new to Python and such and would love to understand it more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I'm not asking to much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2014 17:13:52 GMT</pubDate>
    <dc:creator>AdamLee1</dc:creator>
    <dc:date>2014-09-15T17:13:52Z</dc:date>
    <item>
      <title>Adding lots of excel files with X,Y data + attributes</title>
      <link>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267895#M15462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think my problem is quite simple and I might have just overlooked the solution but here it goes. I will try to explain the situation to the best of my ability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 300 Excel Workbooks with 3 worksheets in them, each containing different types of data. Of the 3 sheets only Sheet 1 matters and it contains X, Y data in the first 2 columns followed by 2 attributes (name, and description). All of the workbooks follow the same format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I'm trying to add in these X,Y coordinates into ArcMap and then convert them into a single shapefile.&lt;/P&gt;&lt;P&gt;I'm looking for a way to automate this or do it quicker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could always add in X,Y data but as you can imagine it would take forever with so many Workbooks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 06:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267895#M15462</guid>
      <dc:creator>AdamLee1</dc:creator>
      <dc:date>2014-09-15T06:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding lots of excel files with X,Y data + attributes</title>
      <link>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267896#M15463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached script will do the job.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 11:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267896#M15463</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-09-15T11:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding lots of excel files with X,Y data + attributes</title>
      <link>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267897#M15464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Riyas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That definitely helped and did the trick but I was wondering two things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: line-through;"&gt;1. Is it possible to get the other two associated attributes? Running the script I get the XY points but without context their just random points.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;* I believe I would achieve this by having a shapefile with the associated attributes already created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Could you briefly explain the script a bit? I'm a bit new to Python and such and would love to understand it more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I'm not asking to much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 17:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267897#M15464</guid>
      <dc:creator>AdamLee1</dc:creator>
      <dc:date>2014-09-15T17:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding lots of excel files with X,Y data + attributes</title>
      <link>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267898#M15465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Riyas,&lt;/P&gt;&lt;P&gt;I new to Python too! and can use this!&lt;/P&gt;&lt;P&gt;I can try to explain it a little bit...&lt;/P&gt;&lt;P&gt;-The first part (6 lines) is importing your libraries and setting up all your variables. &lt;/P&gt;&lt;P&gt;-The loop starts (line &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; iterating though the list of "*.xls" files in the workspace folder&lt;/P&gt;&lt;P&gt;-look at the first sheet in the excel file (line 11)&lt;/P&gt;&lt;P&gt;-line 14 and 15 are getting the names the first two fields. &lt;/P&gt;&lt;P&gt;-line 18 is creating the points&lt;/P&gt;&lt;P&gt;-line 19 is adding the points to the new feature class (targetFc)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 21:36:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267898#M15465</guid>
      <dc:creator>NettoChad</dc:creator>
      <dc:date>2014-09-15T21:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding lots of excel files with X,Y data + attributes</title>
      <link>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267899#M15466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;Yes, if you setup your shape file to have attributes similar to your Excel attributes you should be good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can't do that for any reason, then you can use field mapping as fourth parameter for append tool to map your Shape and excel attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//018z00000078000000" title="http://resources.arcgis.com/en/help/main/10.1/index.html#//018z00000078000000"&gt;ArcGIS Help 10.1&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Netto's explanation is spot on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 00:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/adding-lots-of-excel-files-with-x-y-data/m-p/267899#M15466</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-09-16T00:25:20Z</dc:date>
    </item>
  </channel>
</rss>

