Information about different road networks is retrieved from different sources. Applicable rules and parameter values for constructing an integrated road network are determined for each road network. Roads are first extended at their endpoints. Intersection points among the extended roads are detected. Roads are then divided into road segments at the detected intersection points, and shorted by removing road segments extended beyond intersection points. To process a large scale of road information, extended roads are divided into road segments and distributed to reducers based on their geographic locations for the reducers to detect intersection points among the received road segments. The resulting road segments are then distributed to reducers based on the roads they belong to for the reducers to first reassemble the road segments, then divide the reassembled roads at the detected intersection points, and finally remove road segments extended beyond intersection points.
展开▼