[generator:geo_objects] Fix features filter: ignore lines

This commit is contained in:
Anatoly Serdtcev 2019-05-07 21:32:12 +03:00
parent f61d9e459f
commit 19d06f4dad

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