<?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: ArcGIS Python Geometry in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32302#M2557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi JohanS11, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Couple of useful links for you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.e-education.psu.edu/geog485/node/142"&gt;https://www.e-education.psu.edu/geog485/node/142&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.e-education.psu.edu/geog485/book/export/html/139"&gt;https://www.e-education.psu.edu/geog485/book/export/html/139&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script close to your requirements exist under the following link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=15756"&gt;http://arcscripts.esri.com/details.asp?dbid=15756&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2012 09:04:31 GMT</pubDate>
    <dc:creator>magdaw</dc:creator>
    <dc:date>2012-05-04T09:04:31Z</dc:date>
    <item>
      <title>ArcGIS Python Geometry</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32301#M2556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Community,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if anyone here could recommend me some good references to help start learning how to create geometries within python for arcgis feature classes (trying to create perpendicular lines at the centroid point of another line by taking the arctangent of that line). I am sure there are scripts that already do something similar but I really want to learn how to do this for future reference &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z0000001s000000"&gt;ArcGIS Resource Center&lt;/A&gt;&lt;SPAN&gt; is of little help to me unfortunatley I need something more detailed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As python is relativley new in arcgis I suppose there aren't any good books on the subject? otherwise blogs and articles would be most useful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;J&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 06:49:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32301#M2556</guid>
      <dc:creator>JohanSmith</dc:creator>
      <dc:date>2012-05-04T06:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python Geometry</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32302#M2557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi JohanS11, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Couple of useful links for you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.e-education.psu.edu/geog485/node/142"&gt;https://www.e-education.psu.edu/geog485/node/142&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.e-education.psu.edu/geog485/book/export/html/139"&gt;https://www.e-education.psu.edu/geog485/book/export/html/139&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script close to your requirements exist under the following link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=15756"&gt;http://arcscripts.esri.com/details.asp?dbid=15756&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 09:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32302#M2557</guid>
      <dc:creator>magdaw</dc:creator>
      <dc:date>2012-05-04T09:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python Geometry</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32303#M2558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for those suggestions... I did try that perpendicular script but as it was built for 9.3 I tried to convert it to 10.0 without success. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to change &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
feat = row.Shape
firstpoint = feat.FirstPoint
...
firstpoint = firstpoint.split(" ")
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;to &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
feat = row.Shape
firstpoint = feat.firstPoint
...
firstpoint = firstpoint.split(" ")
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but subsequently that gives me the error that "Point object has no attribute 'split' " when "firstpoint = firstpoint.split(" ")" is executed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;***UPDATE***&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solved my own problem by implementing the following instead&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
fpx = firstpoint.X
fpy = firstpoint.Y
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32303#M2558</guid>
      <dc:creator>JohanSmith</dc:creator>
      <dc:date>2021-12-10T21:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python Geometry</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32304#M2559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Would you mid sharing your updated script for creating perpendicular lines?&amp;nbsp; Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Diane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 15:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-python-geometry/m-p/32304#M2559</guid>
      <dc:creator>DianeWhited</dc:creator>
      <dc:date>2014-01-22T15:57:46Z</dc:date>
    </item>
  </channel>
</rss>

