Type definition with an OpenStreetMap shapefile

Discussion created by ehc on Mar 21, 2011
I have a shapefile with roads with different types like highway, primary, secondarys and unfortunately unclassified. Mabey you can imagine, its about a osm file.
Now i want to compare all unclassified lines with their neighbour and then give them as type the higher class.
I.e. there is a road - line with primary --> unclassiefied --> trunk, afterwords the unclassified line should have the type trunk.