respect use_restricions in xml import
This commit is contained in:
parent
0399022d25
commit
3c8dd85966
@ -63,6 +63,7 @@ bool XMLParser::Parse() {
|
||||
if(!externalMemory->wayFunction(way))
|
||||
std::cerr << "[PBFParser] way not parsed" << std::endl;
|
||||
}
|
||||
if( use_turn_restrictions ) {
|
||||
if ( xmlStrEqual( currentName, ( const xmlChar* ) "relation" ) == 1 ) {
|
||||
_RawRestrictionContainer r = _ReadXMLRestriction();
|
||||
if(r.fromWay != UINT_MAX) {
|
||||
@ -71,6 +72,7 @@ bool XMLParser::Parse() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
xmlFree( currentName );
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user