Patent attributes
A method, apparatus and computer program product are provided to define bi-directional road geometry based upon a plurality of probe points. An orientation representative of one or more probe points is determined and a seed point representative of one or more probe points is then determined. The seed point is based on a determination of a constrained weighted center of mass of the one or more probe points. The movement of the constrained weighted center of mass is limited to a direction based upon respective headings of the one or more probe points. Polylines are created to be representative of a bi-directional road geometry. The polylines are created to be representative of one direction of travel along the bi-directional road geometry by extending a first polyline in the orientation from the seed point and by extending a second polyline in an opposite orientation from the seed point.