<?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: Is there a python script for XY spreadsheet to geodatabase? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494578#M38819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Blake, I was looking for those this morning.&amp;nbsp; They are hard to find in the help it seems.&lt;/P&gt;&lt;P&gt;Another site of interest &lt;A class="link-titled" href="http://wiki.gis.com/wiki/index.php/Coordinate_system" title="http://wiki.gis.com/wiki/index.php/Coordinate_system"&gt;Coordinate system - GIS Wiki | The GIS Encyclopedia&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;although some of the links are old (to ArcGIS 9.3. help docs)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2017 17:38:22 GMT</pubDate>
    <dc:creator>RebeccaStrauch__GISP</dc:creator>
    <dc:date>2017-01-05T17:38:22Z</dc:date>
    <item>
      <title>Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494573#M38814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the XY spreadsheet to layer file python script, but I would like to take a csv and create the feature class in a geodatabase. &amp;nbsp;Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 19:00:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494573#M38814</guid>
      <dc:creator>BETHHultman</dc:creator>
      <dc:date>2017-01-03T19:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494574#M38815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you've made your feature layer, run CopyFeatures to save it to a feature class (I save to shapefile below, but you can save it to a gdb):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; my_csv &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'C:\junk\csv.csv'&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; lyr &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MakeXYEventLayer_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;my_csv&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'x'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'y'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'lyr'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; fc &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CopyFeatures_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;lyr&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;'C:\junk\outshp.shp'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494574#M38815</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2021-12-11T21:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494575#M38816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494575#M38816</guid>
      <dc:creator>BETHHultman</dc:creator>
      <dc:date>2017-01-03T20:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494576#M38817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't specify a coordinate system up front with the Make XY Event Layer tool, do so after you've created the feature class with Define Projection. This coordinate system is the coordinate system of the XY in the table (often GCS NAD83 or WGS84), not your ArcMap data frame.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Python the eaisiest way to specify this is with the &lt;A href="http://spatialreference.org/ref/esri/" rel="nofollow noopener noreferrer" target="_blank"&gt;WKID&lt;/A&gt;:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;SR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SpatialReference&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4269&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# GCS NAD83&lt;/SPAN&gt;
lyr &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MakeXYEventLayer_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;my_csv&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'x'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'y'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'lyr'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;SR&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:46:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494576#M38817</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2021-12-11T21:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494577#M38818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It took me a while to find the WKIDs so I will post here for convenience.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/map/projections/about-projected-coordinate-systems.htm" title="http://desktop.arcgis.com/en/arcmap/latest/map/projections/about-projected-coordinate-systems.htm"&gt;What are projected coordinate systems?—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/map/projections/pdf/projected_coordinate_systems.pdf"&gt;http://desktop.arcgis.com/en/arcmap/latest/map/projections/pdf/projected_coordinate_systems.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/map/projections/about-geographic-coordinate-systems.htm" title="http://desktop.arcgis.com/en/arcmap/latest/map/projections/about-geographic-coordinate-systems.htm"&gt;What are geographic coordinate systems?—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/map/projections/pdf/geographic_coordinate_systems.pdf"&gt;http://desktop.arcgis.com/en/arcmap/latest/map/projections/pdf/geographic_coordinate_systems.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 17:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494577#M38818</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2017-01-05T17:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494578#M38819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Blake, I was looking for those this morning.&amp;nbsp; They are hard to find in the help it seems.&lt;/P&gt;&lt;P&gt;Another site of interest &lt;A class="link-titled" href="http://wiki.gis.com/wiki/index.php/Coordinate_system" title="http://wiki.gis.com/wiki/index.php/Coordinate_system"&gt;Coordinate system - GIS Wiki | The GIS Encyclopedia&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;although some of the links are old (to ArcGIS 9.3. help docs)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 17:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494578#M38819</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-01-05T17:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494579#M38820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another trick is to search for the coordinate system you want on the Coordinate System tab of the Data Frame Properties in ArcMap. The WKID is included as part of the definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="WKID" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/296334_WKID.JPG" style="width: 620px; height: 729px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 19:11:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494579#M38820</guid>
      <dc:creator>BrittneyWhite1</dc:creator>
      <dc:date>2017-01-05T19:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494580#M38821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And&amp;nbsp;&lt;A href="http://spatialreference.org"&gt;http://spatialreference.org&lt;/A&gt;&amp;nbsp;-- just make sure the code has been tagged an Esri code to ensure it's in the ArcGIS installed database.&lt;/P&gt;&lt;P&gt;I added this link to my first reply above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 21:23:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494580#M38821</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-01-05T21:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a python script for XY spreadsheet to geodatabase?</title>
      <link>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494581#M38822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help - you may have to tweek the code a bit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/tgirgin23/csv2gdb"&gt;https://github.com/tgirgin23/csv2gdb&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/is-there-a-python-script-for-xy-spreadsheet-to/m-p/494581#M38822</guid>
      <dc:creator>RickGeittmann</dc:creator>
      <dc:date>2017-01-06T01:21:31Z</dc:date>
    </item>
  </channel>
</rss>

