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:
LaGrunge 2019-06-14 18:52:22 +03:00 committed by GitHub
commit 0466776ab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}