Convert a text file to a polygon a feature class or a shapefile

4087
1
08-24-2011 08:55 PM
Almuatasim_Ahmed_SaidAl-Hinai
New Contributor
Hi,

I am trying to convert a text file with GPS coordinates to a polygon. Attached is the text file and the python script. The script can convert the coordinates to a polyline but a polygon can not be created.

Assistance is highly appreciated.

Regards,

Asim
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: mdenil

Try adding the first point in your array at the end of the array too.
Sometimes you need to do that to explicitly close the polygon.
0 Kudos