Skip to content
9 changes: 9 additions & 0 deletions stream/tag_mapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ module.exports = function(){
}
}
}

// Add alias for 'Railway Station' as this is often not part of the name
if( tags.hasOwnProperty('railway') ){
{
if( tags.railway == 'station' ){
doc.setNameAlias( 'default', doc.getName() + " Railway Station" );
doc.setPopularity(1000);
}
}
}

catch( e ){
Expand Down