<?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: Point Geometry to feature class? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/point-geometry-to-feature-class/m-p/314806#M24469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fyi - you could have editing the other post instead of createing a new.&amp;nbsp; I know it does take a while to learn allt he how to's of Geonet.&amp;nbsp; You can probably just delete the other post &lt;A href="https://community.esri.com/thread/199179"&gt;Point geometry to feature class?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You code above is still not formatted quite right, so you would immediately get a syntax error.&amp;nbsp; I see you did add the : which is good, but the lines below it that should be in the block need to be indented.&amp;nbsp; Tab or spaces...just should be consistent.&amp;nbsp; To break out of the code block you "undent".&amp;nbsp; If you get a good IDE (development environment that handles python .. I use &lt;A class="link-titled" href="http://www.wingware.com/" title="http://www.wingware.com/"&gt;Wingware - Wing Python IDE&lt;/A&gt;&amp;nbsp; but there are many) it will help with the python syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are wanting information from the DEM raster cells?&amp;nbsp; it that correct?&amp;nbsp; You may just want to look at&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/raster-to-point.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/raster-to-point.htm"&gt;Raster to Point—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please include when version of the software you are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 19:04:16 GMT</pubDate>
    <dc:creator>RebeccaStrauch__GISP</dc:creator>
    <dc:date>2017-08-01T19:04:16Z</dc:date>
    <item>
      <title>Point Geometry to feature class?</title>
      <link>https://community.esri.com/t5/python-questions/point-geometry-to-feature-class/m-p/314805#M24468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I am trying to take a point in a xy coordinate and putting a gis coordinate with it. Now I am taking the pointgeometry&amp;nbsp; and creating a feature class or a shape file. What is the function for this? and how can I make it have unique file names after every loop?&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; columns &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; range&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;9111&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
point&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Point&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;dem_order&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;xmin &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; columns&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; dem_order&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;YMin&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
pointval&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GetCellValue_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"dem_order"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"point"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"2"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;pointval&lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; pointval&lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; pointval&lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
pointgeom &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;pointgeometry&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;point&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"W:\ArcMap\Coordinate_Systems\NAD 1983 StatePlane Texas S Central FIPS 4204 (US Feet) SURFACE.prj"&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Let me know if my thought process of this code is correct. I am taking a stream order &amp;nbsp;raster and only scanning the bottom row and if it has any of those stream values. I am going to put a shapefile at that point, so I can create a watershed at that point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:59:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/point-geometry-to-feature-class/m-p/314805#M24468</guid>
      <dc:creator>AndrewMartin8</dc:creator>
      <dc:date>2021-12-11T14:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Point Geometry to feature class?</title>
      <link>https://community.esri.com/t5/python-questions/point-geometry-to-feature-class/m-p/314806#M24469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fyi - you could have editing the other post instead of createing a new.&amp;nbsp; I know it does take a while to learn allt he how to's of Geonet.&amp;nbsp; You can probably just delete the other post &lt;A href="https://community.esri.com/thread/199179"&gt;Point geometry to feature class?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You code above is still not formatted quite right, so you would immediately get a syntax error.&amp;nbsp; I see you did add the : which is good, but the lines below it that should be in the block need to be indented.&amp;nbsp; Tab or spaces...just should be consistent.&amp;nbsp; To break out of the code block you "undent".&amp;nbsp; If you get a good IDE (development environment that handles python .. I use &lt;A class="link-titled" href="http://www.wingware.com/" title="http://www.wingware.com/"&gt;Wingware - Wing Python IDE&lt;/A&gt;&amp;nbsp; but there are many) it will help with the python syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like you are wanting information from the DEM raster cells?&amp;nbsp; it that correct?&amp;nbsp; You may just want to look at&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/raster-to-point.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/conversion-toolbox/raster-to-point.htm"&gt;Raster to Point—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please include when version of the software you are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 19:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/point-geometry-to-feature-class/m-p/314806#M24469</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-08-01T19:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Point Geometry to feature class?</title>
      <link>https://community.esri.com/t5/python-questions/point-geometry-to-feature-class/m-p/314807#M24470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For those trying to follow along....&lt;/P&gt;&lt;P&gt;In one of your other threads... &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/copy-features.htm"&gt;Copy Features &lt;/A&gt;was recommended Posting in one location makes it easier for people to keep track of a question and its incarnations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 21:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/point-geometry-to-feature-class/m-p/314807#M24470</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-01T21:26:57Z</dc:date>
    </item>
  </channel>
</rss>

