fixed duplicate target problems
This commit is contained in:
parent
11871ee4d7
commit
27a4c65e11
2 changed files with 55 additions and 0 deletions
|
|
@ -247,6 +247,14 @@ public class WayLinker extends MapCreatorBase
|
|||
int maxLon = minLon + 5000000;
|
||||
int maxLat = minLat + 5000000;
|
||||
|
||||
// cleanup duplicate targets
|
||||
for ( OsmNodeP n : nodesList )
|
||||
{
|
||||
if ( n == null || n.getFirstLink() == null || n.isTransferNode() )
|
||||
continue;
|
||||
n.checkDuplicateTargets();
|
||||
}
|
||||
|
||||
// write segment data to individual files
|
||||
{
|
||||
int nLonSegs = ( maxLon - minLon ) / 1000000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue