Hi all,
There are a lot of unconnected ways, created when GeoBase road matcher found a 
match with existing data and did not connect new nodes. With the work I have 
been doing with distance maps, I have inadvertantly found a way to speed up the 
fixing of these - still by hand, but pretty quick otherwise.

Tools are available here:
http://svn.openstreetmap.org/applications/utils/distance_maps/

Method:
1) download an area of OSM data in JOSM and save to local disk.
2) Run 'distance.pl <lat> <long> -1' (lat/long of a highway node, or close to 
one)
3) Convert 'data.txt' to temp OSM file with 
'awk -f data2node.awk < data.txt > temp_nodes.osm' 
or use 
'grep '^#' data.txt | sed 's/#//' > test_nodes.osm'
4) Load both real OSM and test_node.OSM as seperate layers in JOSM

You can now easy see which highways are routable from you choosen start point, 
with the '-1' option junctions of 3 (or more) nodes and terminus nodes are 
highlighted. If a way does not contain (or end with) any of these then is is 
not routable, most likely because it is not connected.

Switch to real data layer and connect GeoBase way to pre-GeoBase ways by 
merging nodes ('m') or joining end node to nearby way ('j'). Pretty quick once 
you get started....

5) Upload fixed data and select a new area to work on....

Any volunteers to adopt some areas? I'll start with Alberta south of 22X and 
west of 2
Simon

_______________________________________________
Talk-ca mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-ca

Reply via email to