diff --git a/src/Logic/Osm/OsmObject.ts b/src/Logic/Osm/OsmObject.ts index 8ec4e692d..9b147c1c3 100644 --- a/src/Logic/Osm/OsmObject.ts +++ b/src/Logic/Osm/OsmObject.ts @@ -82,9 +82,6 @@ export abstract class OsmObject { * */ protected static isPolygon(tags: any): boolean { for (const tagsKey in tags) { - if (!tags.hasOwnProperty(tagsKey)) { - continue - } const polyGuide: { values: Set; blacklist: boolean } = OsmObject.polygonFeatures.get(tagsKey) if (polyGuide === undefined) {