I am trying to take a point in a xy coordinate and putting a gis coordinate with it. Now I am taking the pointgeometry 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?
<SPAN class="keyword token">for</SPAN> columns <SPAN class="keyword token">in</SPAN> range<SPAN class="punctuation token">(</SPAN><SPAN class="number token">0</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="number token">9111</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">:</SPAN>
point<SPAN class="operator token">=</SPAN>arcpy<SPAN class="punctuation token">.</SPAN>Point<SPAN class="punctuation token">(</SPAN>dem_order<SPAN class="punctuation token">.</SPAN>xmin <SPAN class="operator token">+</SPAN> columns<SPAN class="punctuation token">,</SPAN> dem_order<SPAN class="punctuation token">.</SPAN>YMin<SPAN class="punctuation token">)</SPAN>
pointval<SPAN class="operator token">=</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>GetCellValue_management<SPAN class="punctuation token">(</SPAN><SPAN class="string token">"dem_order"</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="string token">"point"</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"2"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">if</SPAN> <SPAN class="punctuation token">(</SPAN>pointval<SPAN class="operator token">==</SPAN><SPAN class="number token">1</SPAN> <SPAN class="operator token">|</SPAN><SPAN class="operator token">|</SPAN> pointval<SPAN class="operator token">==</SPAN><SPAN class="number token">2</SPAN> <SPAN class="operator token">|</SPAN><SPAN class="operator token">|</SPAN> pointval<SPAN class="operator token">==</SPAN><SPAN class="number token">3</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">:</SPAN>
pointgeom <SPAN class="operator token">=</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>pointgeometry<SPAN class="punctuation token">(</SPAN>point<SPAN class="punctuation token">,</SPAN><SPAN class="string token">"W:\ArcMap\Coordinate_Systems\NAD 1983 StatePlane Texas S Central FIPS 4204 (US Feet) SURFACE.prj"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Let me know if my thought process of this code is correct. I am taking a stream order 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.