<?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: Trying to create a point shapefile from a text file in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285365#M22040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dan!&amp;nbsp; Can you suggest any references for ArcPy, especially for converting existing code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 09:52:23 GMT</pubDate>
    <dc:creator>MikeSquires</dc:creator>
    <dc:date>2011-07-06T09:52:23Z</dc:date>
    <item>
      <title>Trying to create a point shapefile from a text file</title>
      <link>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285363#M22038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am attempting to create a point shapefile from a text file.&amp;nbsp; The text file is space delimited with three columns; latitude, longitude, and snowfall.&amp;nbsp; I have done this before in ArcGIS 9.x.&amp;nbsp; However in Arc 10 I am having problems.&amp;nbsp; The script below produces a shapefile with the proper attributes and number of rows, but the geometry is messed up.&amp;nbsp; All points are located at 0, 0 lat/lon.&amp;nbsp; I have tried multiple variations but keep coming up with the same problem.&amp;nbsp; I have SP2 installed.&amp;nbsp; Any suggestions are appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 09:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285363#M22038</guid>
      <dc:creator>MikeSquires</dc:creator>
      <dc:date>2011-07-06T09:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a point shapefile from a text file</title>
      <link>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285364#M22039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;as of version 10, properties are case sensitive, hence your line&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;point.x&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;point.X&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;point.Y&amp;nbsp;&amp;nbsp;&amp;nbsp; and&amp;nbsp;&amp;nbsp; point.ID&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 09:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285364#M22039</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-07-06T09:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a point shapefile from a text file</title>
      <link>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285365#M22040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Dan!&amp;nbsp; Can you suggest any references for ArcPy, especially for converting existing code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 09:52:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285365#M22040</guid>
      <dc:creator>MikeSquires</dc:creator>
      <dc:date>2011-07-06T09:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a point shapefile from a text file</title>
      <link>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285366#M22041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Start here&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000001000000.htm"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000001000000.htm&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; and keep reading.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;other tips from within Pythonwin or other command line IDE&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; dir(arcpy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;['ASCII3DToFeatureClass_3d', 'ASCIIToRaster_conversion', 'AddCADFields_conversion', 'AddCodedValueToDomain_management', 'AddColormap_management', 'AddError', 'AddFeatureClassToTerrain_3d', 'AddFeatureClassToTopology_management', 'AddFieldDelimiters', 'AddFieldToAnalysisLayer_na', 'AddField_management', 'AddGlobalIDs_management', 'AddIDMessage', 'AddIndex_management', 'AddItem_arc', 'AddJoin_management', 'AddLocations_na', 'AddMessage', 'AddRastersToMosaicDataset_management', 'AddRepresentation_cartography', 'AddReturnMessage', 'AddRuleToTopology_management', 'AddSpatialIndex_management',.....etc etc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or for a particular class...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; dir(arcpy.Point)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;['ID', 'M', 'X', 'Y', 'Z', '__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_arc_object', '_go', 'clone', 'contains', 'crosses', 'disjoint', 'equals', 'overlaps', 'touches', 'within']&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or for help...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; help(arcpy.Point)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Help on class Point in module arcpy.arcobjects.arcobjects:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;class Point(arcpy.arcobjects.mixins.PointMixin, arcpy.arcobjects._base._BaseArcObject)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&amp;nbsp; The point object is used frequently with cursors. Point features return a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&amp;nbsp; single point object instead of an array of point objects. All other feature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&amp;nbsp; typesâ�?��?�polygon, polyline, and multipointâ�?��?�return an array of point&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&amp;nbsp; objects or an array containing multiple arrays of point objects if the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&amp;nbsp; feature has multiple parts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; |&amp;nbsp; Method resolution order:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;etc etc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have fun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 11:23:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285366#M22041</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-07-06T11:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create a point shapefile from a text file</title>
      <link>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285367#M22042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; This is helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 12:47:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/trying-to-create-a-point-shapefile-from-a-text/m-p/285367#M22042</guid>
      <dc:creator>MikeSquires</dc:creator>
      <dc:date>2011-07-06T12:47:43Z</dc:date>
    </item>
  </channel>
</rss>

