All kinds of barriers get parsed now, not only bollards.
This commit is contained in:
parent
d61ece7891
commit
8839a5eb3f
@ -223,7 +223,7 @@ private:
|
||||
keyVals.Add(key, value);
|
||||
denseTagIndex += 2;
|
||||
}
|
||||
if("bollard" == keyVals.Find("barrier"))
|
||||
if("" != keyVals.Find("barrier"))
|
||||
n.bollard = true;
|
||||
|
||||
if(!(*addressCallback)(n, keyVals))
|
||||
|
@ -257,7 +257,7 @@ private:
|
||||
}
|
||||
}
|
||||
if ( xmlStrEqual( k, ( const xmlChar* ) "barrier" ) == 1 ) {
|
||||
if ( xmlStrEqual( value, ( const xmlChar* ) "bollard" ) == 1 ){
|
||||
if ( xmlStrEqual( value, ( const xmlChar* ) "" ) != 1 ){
|
||||
node.bollard = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user