Generalization of Features In A Digital Map
First Claim
1. A method for generalizing a feature of a digital map, the feature including a polyline, the polyline including a plurality of points, the method comprising:
- creating a set of nodes by, for each pair of points in the polyline;
determining whether a chord from the first point of the pair to the second point of the pair is acceptable;
responsive to the chord from the first point to the second point being acceptable, creating a node representing the chord;
creating a set of links by, for each pair of nodes in which the second point in one node is the same point as the first point in the other node;
determining whether a transition from a chord represented by the first node to a chord represented by the second node is acceptable;
responsive to the transition being acceptable, creating a link between the pair of nodes;
for each path from a node including the first point in the polyline to a node including the last point in the polyline, determining a cost of the path based on a cost associated with each node and a cost associated with each link; and
selecting as a simplified polyline the polyline represented by the path having the least cost.
13 Assignments
0 Petitions
Accused Products
Abstract
Generalization of features in a digital map is enabled by performing a simplification of polylines. A set of chords between points on a polyline is selected such that each chord does not violate specified rules such as maximum distance from the original polyline. If a chord is acceptable, a node representing the chord is created, described by the start and end points of the chord. For pairs of nodes created, a transition from the first node to the second node is evaluated to determine whether it is acceptable. In one embodiment, a transition is acceptable if the absolute value of the angle formed by the chords is within a threshold angle from the angle formed by the original polyline at that point. If the transition is acceptable, a link between the two nodes is established. A least-cost path through the graph is chosen, and a simplified polyline is then generated.
22 Citations
11 Claims
-
1. A method for generalizing a feature of a digital map, the feature including a polyline, the polyline including a plurality of points, the method comprising:
-
creating a set of nodes by, for each pair of points in the polyline;
determining whether a chord from the first point of the pair to the second point of the pair is acceptable;
responsive to the chord from the first point to the second point being acceptable, creating a node representing the chord;
creating a set of links by, for each pair of nodes in which the second point in one node is the same point as the first point in the other node;
determining whether a transition from a chord represented by the first node to a chord represented by the second node is acceptable;
responsive to the transition being acceptable, creating a link between the pair of nodes;
for each path from a node including the first point in the polyline to a node including the last point in the polyline, determining a cost of the path based on a cost associated with each node and a cost associated with each link; and
selecting as a simplified polyline the polyline represented by the path having the least cost. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product for generalizing a feature of a digital map, the feature including a polyline, the polyline including a plurality of points, the computer program product stored on a computer readable medium and including instructions configured to cause a processor to carry out the steps of:
-
creating a set of nodes by, for each pair of points in the polyline;
determining whether a chord from the first point of the pair to the second point of the pair is acceptable;
responsive to the chord from the first point to the second point being acceptable, creating a node representing the chord;
creating a set of links by, for each pair of nodes in which the second point in one node is the same point as the first point in the other node;
determining whether a transition from a chord represented by the first node to a chord represented by the second node is acceptable;
responsive to the transition being acceptable, creating a link between the pair of nodes;
for each path from a node including the first point in the polyline to a node including the last point in the polyline, determining a cost of the path based on a cost associated with each node and a cost associated with each link; and
selecting as a simplified polyline the polyline represented by the path having the least cost.
-
-
11. A system for generalizing features of a digital map, the feature including a polyline, the polyline including a plurality of points, the system comprising:
-
a node creation module adapted to create a set of nodes by, for each pair of points in the polyline;
determining whether a chord from the first point of the pair to the second point of the pair is acceptable;
responsive to the chord from the first point to the second point being acceptable, creating a node representing the chord;
a link creation module, coupled to the node creation module, adapted to create a set of links by, for each pair of nodes in which the second point in one node is the same point as the first point in the other node;
determining whether a transition from a chord represented by the first node to a chord represented by the second node is acceptable;
responsive to the transition being acceptable, creating a link between the pair of nodes;
a cost assignment module, coupled to the link creation module and the node creation module, adapted to determine for each path from a node including the first point in the polyline to a node including the last point in the polyline, a cost of the path based on a cost associated with each node and a cost associated with each link; and
a path creation module, coupled to the cost assignment module, adapted to select as a simplified polyline the polyline represented by the path having the least cost.
-
Specification