minor tweaks
This commit is contained in:
parent
d8701a7e41
commit
95dddcf522
@ -313,6 +313,16 @@ _Way _ReadXMLWay( xmlTextReaderPtr& inputReader, Settings& settings ) {
|
||||
way.access = true;
|
||||
}
|
||||
}
|
||||
if ( xmlStrEqual( k, (const xmlChar*) "motorcar" ))
|
||||
{
|
||||
if ( xmlStrEqual( value, ( const xmlChar* ) "yes" ) == 1)
|
||||
{
|
||||
way.access = true;
|
||||
} else if ( xmlStrEqual( k, (const xmlChar*) "no" )) {
|
||||
way.access = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
if ( k != NULL )
|
||||
xmlFree( k );
|
||||
|
@ -61,6 +61,7 @@ int main (int argc, char *argv[])
|
||||
cerr << "usage: " << endl << argv[0] << " <file.osm>" << endl;
|
||||
exit(-1);
|
||||
}
|
||||
cout << "extracting data from input file " << argv[1] << endl;
|
||||
cout << "reading input file. This may take some time ..." << flush;
|
||||
xmlTextReaderPtr inputReader = inputReaderFactory(argv[1]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user