ls -1 | while read i; do grep -v "<tag" $i | grep -v "</way>" | grep -v "</osm>" > /tmp/toupload/$i sort -u $i | grep "<tag" | grep -v 'k="created_by"' >> /tmp/toupload/$i echo ' <tag k="created_by" v="OSM Fixer"/>' >> /tmp/toupload/$i echo ' </way>' >> /tmp/toupload/$i echo '</osm>' >> /tmp/toupload/$i done
The following script has been run on the way_tags table for the following IDs. Since the selection was done on an few weeks old planet there might be more. 10527972 10554621 13594930 13608627 13836248 14714266 14924669 22069178 23535961 25707332 25710097 26196320 26518253 27618509 27898195 28004445 28213124 28215650 28222516 28229662 28229744 28517384 28589361 28598967 28675731 28934014 29244025 29506385 30054953 4196713 5478510 6110789 6471348 8610265 9168360 Stefan _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev