support outputting boundary polygon as shapefile