forked from organicmaps/organicmaps
Merge pull request #11027 from cc-engineering/generator.geo_objects.filter-fix
[generator:geo_objects] Fix features filter: ignore lines
This commit is contained in:
commit
0466776ab1
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@ bool GeoObjectsFilter::IsAccepted(FeatureBuilder const & feature)
|
|||
{
|
||||
if (!feature.GetParams().IsValid())
|
||||
return false;
|
||||
|
||||
|
||||
if (feature.IsLine())
|
||||
return false;
|
||||
|
||||
return IsBuilding(feature) || HasHouse(feature) || IsPoi(feature);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue