forked from organicmaps/organicmaps
[generator] Add airport iata for airports only.
This commit is contained in:
parent
9989ae9dc2
commit
a1a15b4c4d
1 changed files with 3 additions and 0 deletions
|
@ -281,6 +281,9 @@ string MetadataTagProcessorImpl::ValidateAndFormat_wikipedia(string v) const
|
|||
|
||||
string MetadataTagProcessorImpl::ValidateAndFormat_airport_iata(string const & v) const
|
||||
{
|
||||
if (!ftypes::IsAirportChecker::Instance()(m_params.m_types))
|
||||
return {};
|
||||
|
||||
if (v.size() != 3)
|
||||
return {};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue