From 4d5bf064e21333a022887eeabc2d226097d4c345 Mon Sep 17 00:00:00 2001 From: vershwal Date: Sat, 17 Mar 2018 01:42:35 +0530 Subject: [PATCH 1/2] Added preset height for buildings. --- data/presets/presets.json | 1 + data/presets/presets/building.json | 1 + 2 files changed, 2 insertions(+) diff --git a/data/presets/presets.json b/data/presets/presets.json index 593c060783..33fce603c9 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -4197,6 +4197,7 @@ "name", "building", "levels", + "height", "address" ], "geometry": [ diff --git a/data/presets/presets/building.json b/data/presets/presets/building.json index c59c33a652..966fdba7e0 100644 --- a/data/presets/presets/building.json +++ b/data/presets/presets/building.json @@ -4,6 +4,7 @@ "name", "building", "levels", + "height", "address" ], "geometry": [ From a2a0e2687d5e4b1e284eebf051da0a6212e54db8 Mon Sep 17 00:00:00 2001 From: vershwal Date: Wed, 21 Mar 2018 00:27:31 +0530 Subject: [PATCH 2/2] Added height preset for other buildings. --- data/presets/presets.json | 105 ++++++++++++------ data/presets/presets/building/_bunker.json | 3 +- .../presets/building/_train_station.json | 3 +- data/presets/presets/building/apartments.json | 3 +- data/presets/presets/building/barn.json | 3 +- data/presets/presets/building/boathouse.json | 1 + data/presets/presets/building/bungalow.json | 3 +- data/presets/presets/building/cabin.json | 3 +- data/presets/presets/building/cathedral.json | 3 +- data/presets/presets/building/chapel.json | 3 +- data/presets/presets/building/church.json | 3 +- data/presets/presets/building/civic.json | 1 + data/presets/presets/building/college.json | 3 +- data/presets/presets/building/commercial.json | 1 + .../presets/building/construction.json | 3 +- data/presets/presets/building/detached.json | 3 +- data/presets/presets/building/dormitory.json | 1 + data/presets/presets/building/farm.json | 3 +- .../presets/building/farm_auxiliary.json | 3 +- data/presets/presets/building/greenhouse.json | 3 +- data/presets/presets/building/hospital.json | 3 +- data/presets/presets/building/hotel.json | 1 + data/presets/presets/building/house.json | 3 +- data/presets/presets/building/industrial.json | 3 +- .../presets/building/kindergarten.json | 3 +- data/presets/presets/building/mosque.json | 3 +- data/presets/presets/building/public.json | 1 + .../presets/presets/building/residential.json | 3 +- data/presets/presets/building/retail.json | 1 + data/presets/presets/building/ruins.json | 3 +- data/presets/presets/building/school.json | 3 +- .../presets/building/semidetached_house.json | 3 +- data/presets/presets/building/service.json | 3 +- data/presets/presets/building/shed.json | 3 +- data/presets/presets/building/stable.json | 3 +- data/presets/presets/building/stadium.json | 1 + .../presets/building/static_caravan.json | 3 +- data/presets/presets/building/temple.json | 3 +- data/presets/presets/building/terrace.json | 3 +- .../presets/building/transportation.json | 1 + data/presets/presets/building/university.json | 3 +- data/presets/presets/building/warehouse.json | 3 +- 42 files changed, 146 insertions(+), 64 deletions(-) diff --git a/data/presets/presets.json b/data/presets/presets.json index 33fce603c9..1fbc1dea5b 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -4215,7 +4215,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4243,7 +4244,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "point", @@ -4262,7 +4264,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4278,7 +4281,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4294,6 +4298,7 @@ "fields": [ "name", "levels", + "height", "address" ], "geometry": [ @@ -4311,7 +4316,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4331,7 +4337,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4347,7 +4354,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4363,7 +4371,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4379,7 +4388,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4396,6 +4406,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ @@ -4412,7 +4423,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4432,6 +4444,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ @@ -4448,7 +4461,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4464,7 +4478,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4488,6 +4503,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ @@ -4504,7 +4520,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4520,7 +4537,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4566,7 +4584,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4582,7 +4601,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4599,6 +4619,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ @@ -4615,7 +4636,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4650,7 +4672,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4666,7 +4689,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4686,7 +4710,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4703,6 +4728,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ @@ -4719,7 +4745,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4736,6 +4763,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ @@ -4767,7 +4795,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4783,7 +4812,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4805,7 +4835,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4830,7 +4861,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4846,7 +4878,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4862,7 +4895,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4879,6 +4913,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ @@ -4895,7 +4930,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4911,7 +4947,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4927,7 +4964,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4952,6 +4990,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ @@ -4968,7 +5007,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" @@ -4987,7 +5027,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/_bunker.json b/data/presets/presets/building/_bunker.json index 17cc2f28d4..f3372e1b8a 100644 --- a/data/presets/presets/building/_bunker.json +++ b/data/presets/presets/building/_bunker.json @@ -2,7 +2,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/_train_station.json b/data/presets/presets/building/_train_station.json index 81d7eda0a8..ff98a14f94 100644 --- a/data/presets/presets/building/_train_station.json +++ b/data/presets/presets/building/_train_station.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "point", diff --git a/data/presets/presets/building/apartments.json b/data/presets/presets/building/apartments.json index 4344b63360..bbbd0ad956 100644 --- a/data/presets/presets/building/apartments.json +++ b/data/presets/presets/building/apartments.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/barn.json b/data/presets/presets/building/barn.json index 0f6b1ca686..e6d0acb454 100644 --- a/data/presets/presets/building/barn.json +++ b/data/presets/presets/building/barn.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/boathouse.json b/data/presets/presets/building/boathouse.json index 94d52cba03..e99faa0c24 100644 --- a/data/presets/presets/building/boathouse.json +++ b/data/presets/presets/building/boathouse.json @@ -3,6 +3,7 @@ "fields": [ "name", "levels", + "height", "address" ], "geometry": [ diff --git a/data/presets/presets/building/bungalow.json b/data/presets/presets/building/bungalow.json index 81e586d8d8..88f5113025 100644 --- a/data/presets/presets/building/bungalow.json +++ b/data/presets/presets/building/bungalow.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/cabin.json b/data/presets/presets/building/cabin.json index f5aa057111..4ba2529e40 100644 --- a/data/presets/presets/building/cabin.json +++ b/data/presets/presets/building/cabin.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/cathedral.json b/data/presets/presets/building/cathedral.json index 3921c0dcfc..b4d635b331 100644 --- a/data/presets/presets/building/cathedral.json +++ b/data/presets/presets/building/cathedral.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/chapel.json b/data/presets/presets/building/chapel.json index 13199f4daa..4c9d2380c1 100644 --- a/data/presets/presets/building/chapel.json +++ b/data/presets/presets/building/chapel.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/church.json b/data/presets/presets/building/church.json index 695499bef2..84919448f4 100644 --- a/data/presets/presets/building/church.json +++ b/data/presets/presets/building/church.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/civic.json b/data/presets/presets/building/civic.json index f5e4dc1a1e..868c5adbed 100644 --- a/data/presets/presets/building/civic.json +++ b/data/presets/presets/building/civic.json @@ -4,6 +4,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ diff --git a/data/presets/presets/building/college.json b/data/presets/presets/building/college.json index 9821c1575f..d3a76fb7f0 100644 --- a/data/presets/presets/building/college.json +++ b/data/presets/presets/building/college.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/commercial.json b/data/presets/presets/building/commercial.json index 2b115101b5..cd3a16629e 100644 --- a/data/presets/presets/building/commercial.json +++ b/data/presets/presets/building/commercial.json @@ -4,6 +4,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ diff --git a/data/presets/presets/building/construction.json b/data/presets/presets/building/construction.json index bb5c58f7d2..cb7e82b930 100644 --- a/data/presets/presets/building/construction.json +++ b/data/presets/presets/building/construction.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/detached.json b/data/presets/presets/building/detached.json index 128979487f..4b8108b1c1 100644 --- a/data/presets/presets/building/detached.json +++ b/data/presets/presets/building/detached.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/dormitory.json b/data/presets/presets/building/dormitory.json index 14e76fb89b..b7057d238b 100644 --- a/data/presets/presets/building/dormitory.json +++ b/data/presets/presets/building/dormitory.json @@ -4,6 +4,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ diff --git a/data/presets/presets/building/farm.json b/data/presets/presets/building/farm.json index ef9f9e1bb1..808467dbdf 100644 --- a/data/presets/presets/building/farm.json +++ b/data/presets/presets/building/farm.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/farm_auxiliary.json b/data/presets/presets/building/farm_auxiliary.json index 070af2d4fd..d32ae82ba6 100644 --- a/data/presets/presets/building/farm_auxiliary.json +++ b/data/presets/presets/building/farm_auxiliary.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/greenhouse.json b/data/presets/presets/building/greenhouse.json index 1299a2f913..3b81b353f6 100644 --- a/data/presets/presets/building/greenhouse.json +++ b/data/presets/presets/building/greenhouse.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/hospital.json b/data/presets/presets/building/hospital.json index 1aea06ba97..09cf3ce24b 100644 --- a/data/presets/presets/building/hospital.json +++ b/data/presets/presets/building/hospital.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/hotel.json b/data/presets/presets/building/hotel.json index 233b1e3dba..c0f2eea6a9 100644 --- a/data/presets/presets/building/hotel.json +++ b/data/presets/presets/building/hotel.json @@ -4,6 +4,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ diff --git a/data/presets/presets/building/house.json b/data/presets/presets/building/house.json index fa4cf8e79d..eb66d40fc4 100644 --- a/data/presets/presets/building/house.json +++ b/data/presets/presets/building/house.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/industrial.json b/data/presets/presets/building/industrial.json index df96a54242..93e472c78e 100644 --- a/data/presets/presets/building/industrial.json +++ b/data/presets/presets/building/industrial.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/kindergarten.json b/data/presets/presets/building/kindergarten.json index 0eb543acb5..319c2e1cfc 100644 --- a/data/presets/presets/building/kindergarten.json +++ b/data/presets/presets/building/kindergarten.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/mosque.json b/data/presets/presets/building/mosque.json index 5853f4c510..54578037e6 100644 --- a/data/presets/presets/building/mosque.json +++ b/data/presets/presets/building/mosque.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/public.json b/data/presets/presets/building/public.json index 5a67094b7a..0d8549c7d1 100644 --- a/data/presets/presets/building/public.json +++ b/data/presets/presets/building/public.json @@ -4,6 +4,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ diff --git a/data/presets/presets/building/residential.json b/data/presets/presets/building/residential.json index b4584a5c14..e21a2dc68c 100644 --- a/data/presets/presets/building/residential.json +++ b/data/presets/presets/building/residential.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/retail.json b/data/presets/presets/building/retail.json index 0a24560ec2..aaac180960 100644 --- a/data/presets/presets/building/retail.json +++ b/data/presets/presets/building/retail.json @@ -4,6 +4,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ diff --git a/data/presets/presets/building/ruins.json b/data/presets/presets/building/ruins.json index ab88c6944d..c39a7201b0 100644 --- a/data/presets/presets/building/ruins.json +++ b/data/presets/presets/building/ruins.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/school.json b/data/presets/presets/building/school.json index 5dc124d24b..84340089c1 100644 --- a/data/presets/presets/building/school.json +++ b/data/presets/presets/building/school.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/semidetached_house.json b/data/presets/presets/building/semidetached_house.json index 413f12bd04..5c92574168 100644 --- a/data/presets/presets/building/semidetached_house.json +++ b/data/presets/presets/building/semidetached_house.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/service.json b/data/presets/presets/building/service.json index fc69060ae7..e3f0d4f962 100644 --- a/data/presets/presets/building/service.json +++ b/data/presets/presets/building/service.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/shed.json b/data/presets/presets/building/shed.json index 9a49d2ddd0..5fa526745e 100644 --- a/data/presets/presets/building/shed.json +++ b/data/presets/presets/building/shed.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/stable.json b/data/presets/presets/building/stable.json index 3e21782b74..74de54a107 100644 --- a/data/presets/presets/building/stable.json +++ b/data/presets/presets/building/stable.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/stadium.json b/data/presets/presets/building/stadium.json index b6a9fda2f4..e3984d8b49 100644 --- a/data/presets/presets/building/stadium.json +++ b/data/presets/presets/building/stadium.json @@ -4,6 +4,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ diff --git a/data/presets/presets/building/static_caravan.json b/data/presets/presets/building/static_caravan.json index 8ea7a1cc56..de31e2361f 100644 --- a/data/presets/presets/building/static_caravan.json +++ b/data/presets/presets/building/static_caravan.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/temple.json b/data/presets/presets/building/temple.json index 534a59d478..79940297f2 100644 --- a/data/presets/presets/building/temple.json +++ b/data/presets/presets/building/temple.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/terrace.json b/data/presets/presets/building/terrace.json index 75813c99e9..c017e43338 100644 --- a/data/presets/presets/building/terrace.json +++ b/data/presets/presets/building/terrace.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/transportation.json b/data/presets/presets/building/transportation.json index 6465dfd60f..e03d20f22e 100644 --- a/data/presets/presets/building/transportation.json +++ b/data/presets/presets/building/transportation.json @@ -4,6 +4,7 @@ "name", "address", "levels", + "height", "smoking" ], "geometry": [ diff --git a/data/presets/presets/building/university.json b/data/presets/presets/building/university.json index b4d39df4c4..54c27853e1 100644 --- a/data/presets/presets/building/university.json +++ b/data/presets/presets/building/university.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area" diff --git a/data/presets/presets/building/warehouse.json b/data/presets/presets/building/warehouse.json index 8e19b4887e..33615a72b5 100644 --- a/data/presets/presets/building/warehouse.json +++ b/data/presets/presets/building/warehouse.json @@ -3,7 +3,8 @@ "fields": [ "name", "address", - "levels" + "levels", + "height" ], "geometry": [ "area"