Hello! I am in desperate need of a code to be written for me. I honestly have no idea what to do or even where to begin. IF anyone is willing and able to write it for me, I would greatly appreciate it. Assignment 14.1 task 2.
Thank you!
Howdy Tyler,
From your Word doc, I do not even see a 14.1. I am guessing this is for a class and is due really soon?
It might be easier for you to write out what you need in the forum box.
Hello,
The screen shots are actually the assignment, I forgot that I cut off the Assignment 14.1 portion of it.
But this is the assignment.
Do you thank that you can do it?
What have you got so far? What have you tried and what isn't working? You need to do some of it.
I don't have anything because I have no idea where to even start. I was out yesterday because I was at a conference.
Has your class used Python before? Has your instructor gone over how to begin with this? Does your instructor have office hours or a way to contact them for assistance?
Without you even trying, it's hard to help. Your assignment lays out the instructions.
Here's a link with an example of creating a polygon. Good luck!
To simplify Darren's link, here is the code sample on creating a polygon:
import arcpy # A list of features and coordinate pairs feature_info = [[[1, 2], [2, 4], [3, 7]], [[6, 8], [5, 7], [7, 2], [9, 5]]] # A list that will hold each of the Polygon objects features = [] for feature in feature_info: # Create a Polygon object based on the array of points # Append to the list of Polygon objects features.append( arcpy.Polygon( arcpy.Array([arcpy.Point(*coords) for coords in feature]))) # Persist a copy of the Polyline objects using CopyFeatures arcpy.CopyFeatures_management(features, "c:/geometry/polygons.shp")