Am 04.03.2013 10:15, schrieb GerdP: > attached is a patch that implements the check discussed here: > > http://gis.19327.n5.nabble.com/Style-function-is-connected-tp5750777.html > > check_connected_v1.patch > <http://gis.19327.n5.nabble.com/file/n5751822/check_connected_v1.patch> > > If a way is a road and has has the mkgmap:check_connected=true tag mkgmap > does a check if this road is connected to any other road. If not, the way > is not added to the road network. > > Sample change in style file lines: > highway=service {add mkgmap:check_connected = true}[0x07 road_class=0 > road_speed=2 resolution 22] > > I am not sure if this gives the wanted result, so please try and let me > know.
Hi, all in all this works as designed. Some remarks: Could you write the messages to stderr and not stdout? Some examples reported as unconnected roads (There are a lot): http://www.openstreetmap.org/browse/way/203926670 http://www.openstreetmap.org/browse/way/125088993 http://www.openstreetmap.org/browse/way/134036540 (false positive?) http://www.openstreetmap.org/browse/way/98294931 (false positive?) http://www.openstreetmap.org/browse/way/138226874 (false positive?) http://www.openstreetmap.org/browse/way/174042755 http://www.openstreetmap.org/browse/way/204836534 http://www.openstreetmap.org/browse/way/139074879 http://www.openstreetmap.org/browse/way/84190202 http://www.openstreetmap.org/browse/way/138274835 http://www.openstreetmap.org/browse/way/42075818 http://www.openstreetmap.org/browse/way/188368806 http://www.openstreetmap.org/browse/way/117567530 http://www.openstreetmap.org/browse/way/135256258 http://www.openstreetmap.org/browse/way/85255168 http://www.openstreetmap.org/browse/way/58654113 http://www.openstreetmap.org/browse/way/195174736 (note that footways are not routable in my style). Some false positives may result from the "remove inaccessible tunnels" style code. Performance : I see no performance drop Chris _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev