urbanopt-geojson 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 700036e12142797f840026f8de8304ef5fdb00a3a0b0feac79b497374da21d51
4
- data.tar.gz: 2cb649aba1432668cc39bf054711be6417bcde28f0f04c38679912ee64e91bd6
3
+ metadata.gz: 05ad30ea1e076e43c7f10ddc3ba228e4e30e562763ff8461c7b9f7b37becac2d
4
+ data.tar.gz: c9b31a5411574c16164cc18836568f7e1da767518bcac939dfcaae675d0e7c3b
5
5
  SHA512:
6
- metadata.gz: e52c94d2cbf68d902eb5346882ebdb731f7e12d03e28052ac1ac730b0719b340a1325c7f9dc3740d05380e1702e7d42b3ceee685a9c6ba9caef8d7164107bd8b
7
- data.tar.gz: f2f18a2a9455c7a6e2f7ab1e278384cf8fa4f91761c6533b0fad4553da80c7e0e334181f279c630883f42739aacaa13e0b57f4c972d28b352863c2eb17238114
6
+ metadata.gz: 1ab3d97a2f420e13e4c1f21595c585024f0c153ce9e40515c828d6634ad489839ccd465b8cfe4dfaae15109521cc91aa44e5c06aff4203d12d01a6bca3132f14
7
+ data.tar.gz: faabd790f137debc5c67e7a47f6a919dcf8f49449c01455e7fcf9da54b3877968bc89702b870ee70e52ea8af447f2f9bc45798c61363d13395a032cdad0f8342
@@ -1,5 +1,12 @@
1
1
  # URBANopt GeoJSON Gem
2
-
2
+
3
+ ## Version 0.5.1
4
+
5
+ Date Range: 12/02/20 - 12/09/20
6
+
7
+ - Fixed [#131]( https://github.com/urbanopt/urbanopt-geojson-gem/issues/131 ), OpenStudio 3.1.0 support
8
+ - Fixed [#135]( https://github.com/urbanopt/urbanopt-geojson-gem/issues/135 ), simplify dependencies
9
+
3
10
  ## Version 0.5.0
4
11
  Date Range 09/26/20 - 12/02/20
5
12
 
@@ -43,7 +50,7 @@ Date Range 3/25/20 - 06/04/20
43
50
 
44
51
  Updating to use with OpenStudio 3.0 and Ruby 2.5
45
52
 
46
- Accepted Pull Requests:
53
+ Accepted Pull Requests:
47
54
  - Fixed [#60]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/60 ), HPXML-based workflow for residential buildings
48
55
  - Fixed [#83]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/83 ), Add new system types to building properties schema
49
56
  - Fixed [#84]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/84 ), Updated system types with OpenStudio
@@ -84,6 +91,6 @@ error
84
91
  - Fixed [#78]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/78 ), 0.2.0.pre2
85
92
  - Fixed [#80]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/80 ), look for site features in project key instead of Site Origin feature
86
93
 
87
- ## Version 0.1.0
94
+ ## Version 0.1.0
88
95
 
89
- * Initial release of the URBANopt GeoJSON Gem
96
+ * Initial release of the URBANopt GeoJSON Gem
@@ -1,4 +1,4 @@
1
- URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
2
2
  contributors. All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  # *********************************************************************************
3
- # URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
3
+ # URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
4
4
  # contributors. All rights reserved.
5
5
  #
6
6
  # Redistribution and use in source and binary forms, with or without modification,
@@ -1,4 +1,4 @@
1
1
  /* @preserve
2
- * URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
2
+ * URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
3
3
  * Use of this source code is governed by the BSD 3-Clause license.
4
4
  */
@@ -1,5 +1,5 @@
1
1
  # *********************************************************************************
2
- # URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
2
+ # URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
3
3
  # contributors. All rights reserved.
4
4
  #
5
5
  # Redistribution and use in source and binary forms, with or without modification,
@@ -4886,9 +4886,9 @@
4886
4886
  "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ=="
4887
4887
  },
4888
4888
  "highlight.js": {
4889
- "version": "10.2.0",
4890
- "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.2.0.tgz",
4891
- "integrity": "sha512-OryzPiqqNCfO/wtFo619W+nPYALM6u7iCQkum4bqRmmlcTikOkmlL06i009QelynBPAlNByTQU6cBB2cOBQtCw=="
4889
+ "version": "10.4.1",
4890
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.4.1.tgz",
4891
+ "integrity": "sha512-yR5lWvNz7c85OhVAEAeFhVCc/GV4C30Fjzc/rCP0aCWzc1UUOPUk55dK/qdwTZHBvMZo+eZ2jpk62ndX/xMFlg=="
4892
4892
  },
4893
4893
  "hmac-drbg": {
4894
4894
  "version": "1.0.1",
@@ -6771,7 +6771,8 @@
6771
6771
  "picomatch": {
6772
6772
  "version": "2.2.2",
6773
6773
  "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
6774
- "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg=="
6774
+ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",
6775
+ "optional": true
6775
6776
  },
6776
6777
  "pify": {
6777
6778
  "version": "4.0.1",
@@ -9477,9 +9478,9 @@
9477
9478
  }
9478
9479
  },
9479
9480
  "vinyl": {
9480
- "version": "2.2.0",
9481
- "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.2.0.tgz",
9482
- "integrity": "sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg==",
9481
+ "version": "2.2.1",
9482
+ "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.2.1.tgz",
9483
+ "integrity": "sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw==",
9483
9484
  "requires": {
9484
9485
  "clone": "^2.1.1",
9485
9486
  "clone-buffer": "^1.0.0",
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "author": "Brian Schiller",
12
12
  "dependencies": {
13
- "highlight.js": "^10.2.0",
13
+ "highlight.js": "^10.4.1",
14
14
  "json-schema-ref-parser": "^9.0.6",
15
15
  "json-schema-view-js": "git+https://git@github.com/bgschiller/json-schema-view-js.git",
16
16
  "vuepress": "^1.5.4",
@@ -1,4 +1,4 @@
1
- URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
2
2
  contributors. All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
@@ -5,7 +5,7 @@
5
5
  # UrbanGeometryCreation
6
6
 
7
7
  ## Description
8
- This measure reads an URBANopt GeoJSON and creates geometry for a particular building. Surrounding buildings are included as shading structures.
8
+ This measure reads an URBANopt GeoJSON and creates geometry for a particular building. Surrounding buildings are included as shading structures.
9
9
 
10
10
  ## Modeler Description
11
11
  This measure takes in the GeoJSON file, the feature_id of the building and the surrounding buildings as arguments and add has methods to create space types and add default construction sets.
@@ -43,6 +43,14 @@ Select which surrounding buildings to include.
43
43
  **Required:** true,
44
44
  **Model Dependent:** false
45
45
 
46
+ ### Scale Footprint Area by the Floor Area?
47
+ If true, the footprint area from GeoJSON will be scaled by the floor_area provided by the user in URBANopt.
48
+ **Name:** scale_footprint_area_by_floor_area,
49
+ **Type:** Boolean,
50
+ **Units:** ,
51
+ **Required:** false,
52
+ **Model Dependent:** false
53
+
46
54
 
47
55
 
48
56
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *********************************************************************************
4
- # URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
4
+ # URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
5
5
  # contributors. All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without modification,
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>urban_geometry_creation</name>
5
5
  <uid>5ab85d6b-c9af-4361-8ab9-613ee99a5666</uid>
6
- <version_id>e32672b2-91b1-4b62-9770-7712cab86004</version_id>
7
- <version_modified>20200807T210717Z</version_modified>
6
+ <version_id>2e224aaa-0d77-486f-b8ef-c25121fabd91</version_id>
7
+ <version_modified>20201208T232103Z</version_modified>
8
8
  <xml_checksum>D254E772</xml_checksum>
9
9
  <class_name>UrbanGeometryCreation</class_name>
10
10
  <display_name>UrbanGeometryCreation</display_name>
@@ -46,6 +46,25 @@
46
46
  </choice>
47
47
  </choices>
48
48
  </argument>
49
+ <argument>
50
+ <name>scale_footprint_area_by_floor_area</name>
51
+ <display_name>Scale Footprint Area by the Floor Area?</display_name>
52
+ <description>If true, the footprint area from GeoJSON will be scaled by the floor_area provided by the user in URBANopt.</description>
53
+ <type>Boolean</type>
54
+ <required>false</required>
55
+ <model_dependent>false</model_dependent>
56
+ <default_value>false</default_value>
57
+ <choices>
58
+ <choice>
59
+ <value>true</value>
60
+ <display_name>true</display_name>
61
+ </choice>
62
+ <choice>
63
+ <value>false</value>
64
+ <display_name>false</display_name>
65
+ </choice>
66
+ </choices>
67
+ </argument>
49
68
  </arguments>
50
69
  <outputs />
51
70
  <provenances />
@@ -91,12 +110,6 @@
91
110
  <usage_type>readmeerb</usage_type>
92
111
  <checksum>703C9964</checksum>
93
112
  </file>
94
- <file>
95
- <filename>LICENSE.md</filename>
96
- <filetype>md</filetype>
97
- <usage_type>license</usage_type>
98
- <checksum>EA283B74</checksum>
99
- </file>
100
113
  <file>
101
114
  <filename>nrel_stm_footprints.geojson</filename>
102
115
  <filetype>geojson</filetype>
@@ -104,22 +117,22 @@
104
117
  <checksum>40290298</checksum>
105
118
  </file>
106
119
  <file>
107
- <filename>README.md</filename>
120
+ <filename>LICENSE.md</filename>
108
121
  <filetype>md</filetype>
109
- <usage_type>readme</usage_type>
110
- <checksum>A09F345D</checksum>
122
+ <usage_type>license</usage_type>
123
+ <checksum>D8541540</checksum>
111
124
  </file>
112
125
  <file>
113
126
  <filename>shadowed_tests.rb</filename>
114
127
  <filetype>rb</filetype>
115
128
  <usage_type>test</usage_type>
116
- <checksum>4E51A05C</checksum>
129
+ <checksum>F656F8DE</checksum>
117
130
  </file>
118
131
  <file>
119
132
  <filename>urban_geometry_creation_test.rb</filename>
120
133
  <filetype>rb</filetype>
121
134
  <usage_type>test</usage_type>
122
- <checksum>DDAD6BFA</checksum>
135
+ <checksum>B4A7376B</checksum>
123
136
  </file>
124
137
  <file>
125
138
  <version>
@@ -130,7 +143,13 @@
130
143
  <filename>measure.rb</filename>
131
144
  <filetype>rb</filetype>
132
145
  <usage_type>script</usage_type>
133
- <checksum>2F8C09F7</checksum>
146
+ <checksum>791A977E</checksum>
147
+ </file>
148
+ <file>
149
+ <filename>README.md</filename>
150
+ <filetype>md</filetype>
151
+ <usage_type>readme</usage_type>
152
+ <checksum>74F54DC5</checksum>
134
153
  </file>
135
154
  </files>
136
155
  </measure>
@@ -1,4 +1,4 @@
1
- URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
1
+ URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
2
2
  contributors. All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
@@ -5,7 +5,7 @@
5
5
  # UrbanGeometryCreationZoning
6
6
 
7
7
  ## Description
8
- This measure reads an URBANopt GeoJSON and creates geometry with zoning for a particular building. Surrounding buildings are included as shading structures.
8
+ This measure reads an URBANopt GeoJSON and creates geometry with zoning for a particular building. Surrounding buildings are included as shading structures.
9
9
 
10
10
  ## Modeler Description
11
11
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *********************************************************************************
4
- # URBANopt™, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
4
+ # URBANopt (tm), Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
5
5
  # contributors. All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without modification,
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>urban_geometry_creation_zoning</name>
5
5
  <uid>96ea1317-76ac-4670-b51d-71ee3f4fdd65</uid>
6
- <version_id>884d6eb0-6517-40dc-96ca-ac4db7c2ad7d</version_id>
7
- <version_modified>20200807T210718Z</version_modified>
6
+ <version_id>0c0d1135-a50f-40c6-82fb-fc357e46dd02</version_id>
7
+ <version_modified>20201208T232103Z</version_modified>
8
8
  <xml_checksum>D254E772</xml_checksum>
9
9
  <class_name>UrbanGeometryCreationZoning</class_name>
10
10
  <display_name>UrbanGeometryCreationZoning</display_name>
@@ -101,13 +101,7 @@
101
101
  <filename>LICENSE.md</filename>
102
102
  <filetype>md</filetype>
103
103
  <usage_type>license</usage_type>
104
- <checksum>EA283B74</checksum>
105
- </file>
106
- <file>
107
- <filename>README.md</filename>
108
- <filetype>md</filetype>
109
- <usage_type>readme</usage_type>
110
- <checksum>0458EE16</checksum>
104
+ <checksum>D8541540</checksum>
111
105
  </file>
112
106
  <file>
113
107
  <version>
@@ -118,13 +112,19 @@
118
112
  <filename>measure.rb</filename>
119
113
  <filetype>rb</filetype>
120
114
  <usage_type>script</usage_type>
121
- <checksum>2505C43D</checksum>
115
+ <checksum>3E6D4653</checksum>
122
116
  </file>
123
117
  <file>
124
118
  <filename>urban_geometry_creation_zoning_test.rb</filename>
125
119
  <filetype>rb</filetype>
126
120
  <usage_type>test</usage_type>
127
- <checksum>986CB63E</checksum>
121
+ <checksum>D609CD4C</checksum>
122
+ </file>
123
+ <file>
124
+ <filename>README.md</filename>
125
+ <filetype>md</filetype>
126
+ <usage_type>readme</usage_type>
127
+ <checksum>0458EE16</checksum>
128
128
  </file>
129
129
  </files>
130
130
  </measure>
@@ -27,6 +27,7 @@
27
27
  # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
28
28
  # OF THE POSSIBILITY OF SUCH DAMAGE.
29
29
  # *********************************************************************************
30
+
30
31
  require 'json'
31
32
  require 'net/http'
32
33
  require 'uri'
@@ -30,6 +30,6 @@
30
30
 
31
31
  module URBANopt
32
32
  module GeoJSON
33
- VERSION = '0.5.0'.freeze
33
+ VERSION = '0.5.1'.freeze
34
34
  end
35
35
  end
@@ -30,6 +30,5 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency 'rspec', '~> 3.7'
31
31
 
32
32
  spec.add_runtime_dependency 'json-schema', '~> 2.8'
33
- spec.add_runtime_dependency 'openstudio-extension', '~> 0.3.1'
34
33
  spec.add_runtime_dependency 'urbanopt-core', '~> 0.5.0'
35
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urbanopt-geojson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanushree Charan
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-12-02 00:00:00.000000000 Z
13
+ date: 2020-12-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -68,20 +68,6 @@ dependencies:
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
70
  version: '2.8'
71
- - !ruby/object:Gem::Dependency
72
- name: openstudio-extension
73
- requirement: !ruby/object:Gem::Requirement
74
- requirements:
75
- - - "~>"
76
- - !ruby/object:Gem::Version
77
- version: 0.3.1
78
- type: :runtime
79
- prerelease: false
80
- version_requirements: !ruby/object:Gem::Requirement
81
- requirements:
82
- - - "~>"
83
- - !ruby/object:Gem::Version
84
- version: 0.3.1
85
71
  - !ruby/object:Gem::Dependency
86
72
  name: urbanopt-core
87
73
  requirement: !ruby/object:Gem::Requirement