A computer-implemented method for creating an ordered set of boundary data by transforming data from remotely sensed imagery of shorelines is provided. A feature data set and an edge data set are transformed into a set of 3-point boundary segments having a specific head and tail point and the segments are ordered from tail to head in a clockwise or counterclockwise manner relative to the water. Once the 3-point segments are created they are easily linked together into larger segments. These large multi-point segments in turn are linked together to create a closed loop in a predetermined direction, for example, but not limited to, the shorelines for rivers or coastal areas.