[Edited to correct mistype] I am doing a bit of coding with Python. Here is the relevant bit of unremarkable code to create a polygon object.
sr = 4269
polygon = arcpy.Polygon(array,sr)
bound_box = "newpoly3"
arcpy.management.CreateFeatureclass(database,bound_box,"POLYGON","","","",sr)
with arcpy.da.InsertCursor(bound_box,"SHAPE@") as cursor:
cursor.insertRow([polygon])
This code reliably works when I specify the spatial reference in a projected coordinate system, e.g. 2249. However, when I set the spatial reference in a geographic coordinate system, e.g. 4269, there's an issue: the shape doesn't display. I went to Table of Contents --> newpoly3.shp --> Design --> Fields and checked the "Shape" box, but the shape still doesn't show up on my map. It's clearly been created; the attribute table shows an area and length. It just doesn't display. Anyone know what's up with it?
Here is the entire bit of code. The goal is to play with Python a bit and to form polygon from the x-y extent of a shapefile of points.