convert arrays of single coordinates to vector of POINT