I am currently writing a python program that is scanning cells in a raster. If the program passes an if statement then I want to put a point file at that exact xy location it scanned. What is the function that inserts a shapefile at a specific xy location?
You would need to create the geometry first, then the featureclass or shapefile. Start by examining the arcpy functions etc and specifically the code example in the PointGeometry class linked here
what is the function that converts the point geometry into a feature class?
the last line int he link I posted
<SPAN>arcpy</SPAN><SPAN>.</SPAN><SPAN>CopyFeatures_management</SPAN><SPAN>(</SPAN><SPAN>pointGeometryList</SPAN><SPAN>,</SPAN> <SPAN>"c:/geometry/a.gdb/points"</SPAN><SPAN>)</SPAN>
In one of your other threads... Copy Features was recommended. Posting in one location makes it easier for people to keep track of a question and its incarnations.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.