A computer-implemented method for creating an ordered set of shoreline boundary points by transforming data from remotely sensed imagery of shorelines is provided. A water 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 the shorelines for rivers or coastal areas.