Does stata have the capability to help create a shape file by filling in the lines between coordinates that will form polygons I am trying to map? For instance, I have four points (lat, lon) per id, I want to connect those points to form a polygon, the output will be a shape file I can use to create maps.

I know I can do this using other software, ie ArcGis, but I prefer to use Stata if possible.

thanks
Donovan