From e6aeba1f60eb3839794eb449620b03288c69d685 Mon Sep 17 00:00:00 2001 From: Paul Norman Date: Thu, 26 Sep 2013 13:44:01 -0700 Subject: [PATCH] Add more tags to areas list Keys added from osm2pgsql, excluded values from overpass turbo --- js/id/core/way.js | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/js/id/core/way.js b/js/id/core/way.js index ab7a12f04..30b3cb1ea 100644 --- a/js/id/core/way.js +++ b/js/id/core/way.js @@ -184,22 +184,24 @@ _.extend(iD.Way.prototype, { // of the following keys, and the value is _not_ one of the associated // values for the respective key. iD.Way.areaKeys = { + aeroway: { taxiway: true}, + amenity: {}, area: {}, + 'area:highway': {}, building: {}, - leisure: {}, - tourism: {}, - ruins: {}, + 'building:part': {}, historic: {}, landuse: {}, + leisure: {}, + man_made: { cutline: true, embankment: true, pipeline: true}, military: {}, natural: { coastline: true }, - amenity: {}, - shop: {}, - man_made: {}, - public_transport: {}, + office: {}, place: {}, - aeroway: {}, - waterway: {}, power: {}, - office: {} + public_transport: {}, + ruins: {}, + shop: {}, + tourism: {}, + waterway: {} };