Fixes ticket 30 and gives ref tags precedence over name tags
This commit is contained in:
parent
fadaf7ec5c
commit
8f637b95ef
@ -101,10 +101,10 @@ public:
|
|||||||
std::string access( w.keyVals.Find("access") );
|
std::string access( w.keyVals.Find("access") );
|
||||||
std::string motorcar( w.keyVals.Find("motorcar") );
|
std::string motorcar( w.keyVals.Find("motorcar") );
|
||||||
|
|
||||||
if ( name != "" ) {
|
if ( ref != "" ) {
|
||||||
w.name = name;
|
|
||||||
} else if ( ref != "" ) {
|
|
||||||
w.name = ref;
|
w.name = ref;
|
||||||
|
} else if ( name != "" ) {
|
||||||
|
w.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( oneway != "" ) {
|
if ( oneway != "" ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user