Can someone please write a code for me created a Projected UTM Grid over a sphere of the earth?

4089
13
04-26-2016 08:07 AM
TylerKloesel
New Contributor


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!

Tags (1)
0 Kudos
13 Replies
AdrianWelsh
MVP Honored Contributor

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.

0 Kudos
TylerKloesel
New Contributor

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. 

0 Kudos
TylerKloesel
New Contributor

Do you thank that you can do it?

0 Kudos
DarrenWiens2
MVP Honored Contributor

What have you got so far? What have you tried and what isn't working? You need to do some of it.

TylerKloesel
New Contributor

I don't have anything because I have no idea where to even start. I was out yesterday because I was at a conference.

0 Kudos
AdrianWelsh
MVP Honored Contributor

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?

0 Kudos
DarrenWiens2
MVP Honored Contributor

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!

AdrianWelsh
MVP Honored Contributor

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")
0 Kudos