Error when writing polygon feature

المشرف العام

Administrator
طاقم الإدارة
I have created this array:

array = ([arcpy.Point(-103.85769159, 32.181106371), arcpy.Point(-103.85769159, 32.182755629), arcpy.Point(-103.85575241, 32.182755629), arcpy.Point(-103.85575241, 32.181106371)])and would like to create a polygon feature from it:

polygon = arcpy.Polygon(array)My map units are in Decimal Degrees and I'm using NAD27, no projection.

Whenever I try the line to create the polygon, I get an error:

"CreateObject cannot create geometry from inputs"

Why is this happening? It seems so straight forward.



أكثر...
 
أعلى