def polygon2points(p):
    """
        convert a polygon to a sequence of points for DS documents
        :param p: shapely.geometry.Polygon
        returns a string representing the set of points
    """
    return ",".join(list("%s,%s"%(x,y) for x,y in p.exterior.coords))