<?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 to read a shapefile in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495728#M38923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Me again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I manage it!!! I can read the data in the columns of a polygon shapefile. But I have one more question. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible reading the columns data in the attribute table of a point shapefile?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2012 09:26:12 GMT</pubDate>
    <dc:creator>irinivozinaki</dc:creator>
    <dc:date>2012-10-10T09:26:12Z</dc:date>
    <item>
      <title>How to read a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495722#M38917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a really new python user and I need to read a shapefile named "hpq0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import shapefile &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sf = shapefile.Reader("shapefiles/hpq0.shp")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but nothing happens. Obviously in this way the path to find the shapefile "hpq.shp" is not defined. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any procedure for reading shapefiles except from the one described in this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://pypi.python.org/pypi/pyshp/#reading-shapefiles"&gt;http://pypi.python.org/pypi/pyshp/#reading-shapefiles&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much in advance!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 15:37:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495722#M38917</guid>
      <dc:creator>irinivozinaki</dc:creator>
      <dc:date>2012-10-09T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495723#M38918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure what you mean by 'read' the shapefile.. are you trying to get at the values in the attribute table? gather the geometry, or do something else?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 15:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495723#M38918</guid>
      <dc:creator>ChristopherThompson</dc:creator>
      <dc:date>2012-10-09T15:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495724#M38919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Read up on Cursors in the online help, specifically Searchcursors&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000039000000"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000v00000039000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 16:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495724#M38919</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2012-10-09T16:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495725#M38920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I am trying to read the attribute table records and then I would like to insert these values in specific equations according to several scenarios.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 18:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495725#M38920</guid>
      <dc:creator>irinivozinaki</dc:creator>
      <dc:date>2012-10-09T18:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495726#M38921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dan's suggestions about looking at Search Cursors is valuable, also look at the tools for working with tables and table views.&amp;nbsp; If you need to work through a table, fitting values from fields into formulae and then updating other fields in the same or another table look up the help topics on Update and Insert Cursors as well.&amp;nbsp; Those are probably the key things for what you want to do.&amp;nbsp; Reading and writing geometries are a bit different though still operate well using cursors.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 19:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495726#M38921</guid>
      <dc:creator>ChristopherThompson</dc:creator>
      <dc:date>2012-10-09T19:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495727#M38922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your help...I hope that I will manage it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a nice day!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 04:40:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495727#M38922</guid>
      <dc:creator>irinivozinaki</dc:creator>
      <dc:date>2012-10-10T04:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495728#M38923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Me again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I manage it!!! I can read the data in the columns of a polygon shapefile. But I have one more question. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible reading the columns data in the attribute table of a point shapefile?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 09:26:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495728#M38923</guid>
      <dc:creator>irinivozinaki</dc:creator>
      <dc:date>2012-10-10T09:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a shapefile</title>
      <link>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495729#M38924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;absolutely.. in fact, you should be able to use the same methods with your point file as with the polygon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2012 10:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-to-read-a-shapefile/m-p/495729#M38924</guid>
      <dc:creator>ChristopherThompson</dc:creator>
      <dc:date>2012-10-10T10:38:46Z</dc:date>
    </item>
  </channel>
</rss>

