plot a polygon from a row with 4 coordinates

489
1
Jump to solution
02-04-2020 03:00 PM
PaulRabatin1
New Contributor II

I have a excel file with multiple sheets.  one sheet called polygons contains rows with the fields:  name, description, startlatN, startlonW, startlatS, startlonW, endlatN, endlonE, endlatS, endlonE

the start and ends have decimal degrees latitude and longitude values.  I'm trying to find a way to plot the four points and convert to polygon without useing xytoevent then pts to line then line to polygon.  I thought there was a tool in toolbox which did in line polygon creation.   thanks

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor

Look at the arcpy.Polygon object. Can easily pass an array into it to create your polygons.

View solution in original post

1 Reply
DavidPike
MVP Frequent Contributor

Look at the arcpy.Polygon object. Can easily pass an array into it to create your polygons.