urbanopt-geojson 0.2.0.pre3 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +77 -0
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +0 -3
- data/LICENSE.md +1 -1
- data/RDOC_MAIN.md +1 -1
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/doc_templates/LICENSE.md +1 -1
- data/doc_templates/copyright_erb.txt +1 -1
- data/doc_templates/copyright_js.txt +1 -1
- data/doc_templates/copyright_ruby.txt +1 -1
- data/docs/README.md +1 -1
- data/docs/package-lock.json +5206 -6883
- data/docs/package.json +12 -9
- data/lib/measures/.rubocop.yml +1 -1
- data/lib/measures/urban_geometry_creation/LICENSE.md +1 -1
- data/lib/measures/urban_geometry_creation/README.md +2 -2
- data/lib/measures/urban_geometry_creation/measure.rb +21 -2
- data/lib/measures/urban_geometry_creation/measure.xml +17 -20
- data/lib/measures/urban_geometry_creation_zoning/LICENSE.md +1 -1
- data/lib/measures/urban_geometry_creation_zoning/README.md +1 -1
- data/lib/measures/urban_geometry_creation_zoning/measure.rb +5 -4
- data/lib/measures/urban_geometry_creation_zoning/measure.xml +15 -18
- data/lib/urbanopt-geojson.rb +1 -1
- data/lib/urbanopt/geojson.rb +2 -1
- data/lib/urbanopt/geojson/building.rb +74 -26
- data/lib/urbanopt/geojson/derived_extension.rb +1 -1
- data/lib/urbanopt/geojson/district_system.rb +1 -1
- data/lib/urbanopt/geojson/feature.rb +116 -2
- data/lib/urbanopt/geojson/geo_file.rb +28 -29
- data/lib/urbanopt/geojson/helper.rb +42 -7
- data/lib/urbanopt/geojson/logging.rb +1 -1
- data/lib/urbanopt/geojson/mapper_classes.rb +47 -47
- data/lib/urbanopt/geojson/model.rb +3 -4
- data/lib/urbanopt/geojson/region.rb +1 -1
- data/lib/urbanopt/geojson/scale_area.rb +91 -0
- data/lib/urbanopt/geojson/schema/building_properties.json +252 -80
- data/lib/urbanopt/geojson/schema/electrical_connector_properties.json +9 -9
- data/lib/urbanopt/geojson/schema/electrical_junction_properties.json +4 -5
- data/lib/urbanopt/geojson/schema/thermal_connector_properties.json +1 -1
- data/lib/urbanopt/geojson/schema/thermal_junction_properties.json +1 -1
- data/lib/urbanopt/geojson/update_areas.rb +2 -2
- data/lib/urbanopt/geojson/validate_geojson.rb +3 -1
- data/lib/urbanopt/geojson/version.rb +2 -2
- data/lib/urbanopt/geojson/workflows/building.osw.out +4 -4
- data/lib/urbanopt/geojson/zoning.rb +21 -16
- data/urbanopt-geojson-gem.gemspec +10 -17
- metadata +29 -48
- data/lib/change_log.rb +0 -147
- data/lib/measures/urban_geometry_creation/tests/nrel_stm_footprints.geojson +0 -3238
- data/lib/measures/urban_geometry_creation/tests/shadowed_tests.rb +0 -80
- data/lib/measures/urban_geometry_creation/tests/urban_geometry_creation_test.rb +0 -139
- data/lib/measures/urban_geometry_creation_zoning/tests/nrel_stm_footprints.geojson +0 -3238
- data/lib/measures/urban_geometry_creation_zoning/tests/urban_geometry_creation_zoning_test.rb +0 -139
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"id": "http://json-schema.org/openstudio-urban-modeling/
|
4
|
-
"title": "URBANopt Electrical
|
5
|
-
"description": "Schema for an URBANopt Electrical
|
3
|
+
"id": "http://json-schema.org/openstudio-urban-modeling/electrical_connector_properties.json#",
|
4
|
+
"title": "URBANopt Electrical Connector",
|
5
|
+
"description": "Schema for an URBANopt Electrical Connector object",
|
6
6
|
"type": "object",
|
7
7
|
"properties": {
|
8
8
|
"id": {
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"description": "Type of feature.",
|
18
18
|
"type": "string",
|
19
19
|
"enum": [
|
20
|
-
"
|
20
|
+
"ElectricalConnector"
|
21
21
|
]
|
22
22
|
},
|
23
23
|
"source_name": {
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"description": "Total length (ft) of the line, generated on export.",
|
47
47
|
"type": "number"
|
48
48
|
},
|
49
|
-
"
|
49
|
+
"startJunctionId": {
|
50
50
|
"description": "Id of the junction that this line starts at.",
|
51
51
|
"type": "string"
|
52
52
|
},
|
@@ -67,7 +67,7 @@
|
|
67
67
|
"type": "string"
|
68
68
|
}
|
69
69
|
},
|
70
|
-
"
|
70
|
+
"endJunctionId": {
|
71
71
|
"description": "Id of the junction that this line ends at.",
|
72
72
|
"type": "string"
|
73
73
|
},
|
@@ -79,8 +79,8 @@
|
|
79
79
|
"type",
|
80
80
|
"id",
|
81
81
|
"connector_type",
|
82
|
-
"
|
83
|
-
"
|
82
|
+
"startJunctionId",
|
83
|
+
"endJunctionId"
|
84
84
|
],
|
85
85
|
"additionalProperties": false,
|
86
86
|
"definitions": {
|
@@ -88,7 +88,7 @@
|
|
88
88
|
"description": "Type of electrical line",
|
89
89
|
"type": "string",
|
90
90
|
"enum": [
|
91
|
-
"
|
91
|
+
"Wire"
|
92
92
|
]
|
93
93
|
},
|
94
94
|
"WireType": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"id": "http://json-schema.org/openstudio-urban-modeling/
|
3
|
+
"id": "http://json-schema.org/openstudio-urban-modeling/electrical_junction_properties.json#",
|
4
4
|
"title": "URBANopt Electrical Junction",
|
5
5
|
"description": "Schema for an URBANopt Electrical Junction object",
|
6
6
|
"type": "object",
|
@@ -35,11 +35,11 @@
|
|
35
35
|
"connector_type": {
|
36
36
|
"$ref": "#/definitions/ElectricalJunctionType"
|
37
37
|
},
|
38
|
-
"
|
38
|
+
"buildingId": {
|
39
39
|
"description": "Id of building if this junction is inside a building.",
|
40
40
|
"type": "string"
|
41
41
|
},
|
42
|
-
"
|
42
|
+
"DSId": {
|
43
43
|
"description": "Id of district system if this junction is inside a district system.",
|
44
44
|
"type": "string"
|
45
45
|
},
|
@@ -49,8 +49,7 @@
|
|
49
49
|
},
|
50
50
|
"required": [
|
51
51
|
"type",
|
52
|
-
"id"
|
53
|
-
"connector_type"
|
52
|
+
"id"
|
54
53
|
],
|
55
54
|
"additionalProperties": false,
|
56
55
|
"definitions": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"id": "http://json-schema.org/openstudio-urban-modeling/
|
3
|
+
"id": "http://json-schema.org/openstudio-urban-modeling/thermal_connector_properties.json#",
|
4
4
|
"title": "URBANopt Thermal Connector",
|
5
5
|
"description": "Schema for an URBANopt Thermal Connector object",
|
6
6
|
"type": "object",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
3
|
-
"id": "http://json-schema.org/openstudio-urban-modeling/
|
3
|
+
"id": "http://json-schema.org/openstudio-urban-modeling/thermal_junction_properties.json#",
|
4
4
|
"title": "URBANopt Thermal Junction",
|
5
5
|
"description": "Schema for an URBANopt Thermal Junction object",
|
6
6
|
"type": "object",
|
@@ -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,
|
@@ -97,6 +97,6 @@ geojson[:features].each do |feature|
|
|
97
97
|
# std::vector<Point3d> toLocalCartesian(const std::vector<PointLatLon>& points) const;
|
98
98
|
end
|
99
99
|
|
100
|
-
File.open(ARGV[0], 'w') do |file|
|
100
|
+
File.open(ARGV[0], 'w') do |file| # rubocop:disable Lint/ShadowingOuterLocalVariable
|
101
101
|
file << JSON.pretty_generate(geojson)
|
102
102
|
end
|
@@ -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,
|
@@ -133,7 +133,9 @@ Dir.glob('denver_district*.geojson').each do |p|
|
|
133
133
|
end
|
134
134
|
|
135
135
|
all_errors[p][-1].concat(errors)
|
136
|
+
# rubocop:disable Lint/RescueException
|
136
137
|
rescue Exception => e
|
138
|
+
# rubocop:enable Lint/RescueException
|
137
139
|
all_errors[p][-1] << "Error '#{e.message}' occurred: "
|
138
140
|
all_errors[p][-1] << e.backtrace.to_s
|
139
141
|
end
|
@@ -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,
|
@@ -30,6 +30,6 @@
|
|
30
30
|
|
31
31
|
module URBANopt
|
32
32
|
module GeoJSON
|
33
|
-
VERSION = '0.
|
33
|
+
VERSION = '0.4.0'.freeze
|
34
34
|
end
|
35
35
|
end
|
@@ -899,7 +899,7 @@
|
|
899
899
|
"default_value": "Inferred",
|
900
900
|
"choice_values": [
|
901
901
|
"Inferred",
|
902
|
-
"
|
902
|
+
"VRF",
|
903
903
|
"PTAC with hot water heat",
|
904
904
|
"PTAC with gas coil heat",
|
905
905
|
"PTAC with electric baseboard heat",
|
@@ -955,7 +955,7 @@
|
|
955
955
|
],
|
956
956
|
"choice_display_names": [
|
957
957
|
"Inferred",
|
958
|
-
"
|
958
|
+
"VRF",
|
959
959
|
"PTAC with hot water heat",
|
960
960
|
"PTAC with gas coil heat",
|
961
961
|
"PTAC with electric baseboard heat",
|
@@ -1511,7 +1511,7 @@
|
|
1511
1511
|
"default_value": "Inferred",
|
1512
1512
|
"choice_values": [
|
1513
1513
|
"Inferred",
|
1514
|
-
"
|
1514
|
+
"VRF",
|
1515
1515
|
"PTAC with hot water heat",
|
1516
1516
|
"PTAC with gas coil heat",
|
1517
1517
|
"PTAC with electric baseboard heat",
|
@@ -1567,7 +1567,7 @@
|
|
1567
1567
|
],
|
1568
1568
|
"choice_display_names": [
|
1569
1569
|
"Inferred",
|
1570
|
-
"
|
1570
|
+
"VRF",
|
1571
1571
|
"PTAC with hot water heat",
|
1572
1572
|
"PTAC with gas coil heat",
|
1573
1573
|
"PTAC with electric baseboard heat",
|
@@ -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,
|
@@ -41,7 +41,8 @@ module URBANopt
|
|
41
41
|
# * +floor_print+ - _Type:Array_ - An instance of +OpenStudio::Point3dVector.new+ .
|
42
42
|
# * +perimeter_depth+ - _Type:Float_ - Represents perimeter depth.
|
43
43
|
# * +runner+ - _Type:String_ - Measure run's instance of +OpenStudio::Measure::OSRunner+ .
|
44
|
-
|
44
|
+
# * +scale+ - _Type:Boolean_ - Checks whether floor print is to be scaled. Default is false.
|
45
|
+
def self.divide_floor_print(floor_print, perimeter_depth, runner, scale = false)
|
45
46
|
result = []
|
46
47
|
t_inv = OpenStudio::Transformation.alignFace(floor_print)
|
47
48
|
t = t_inv.inverse
|
@@ -86,21 +87,25 @@ module URBANopt
|
|
86
87
|
if self_intersects
|
87
88
|
runner.registerWarning('Self intersecting surface result, will not divide')
|
88
89
|
end
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
perim_vertices
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
90
|
+
if scale == true
|
91
|
+
result = t_inv * new_vertices
|
92
|
+
else
|
93
|
+
result << t_inv * new_vertices
|
94
|
+
(0...n).each do |i|
|
95
|
+
perim_vertices = OpenStudio::Point3dVector.new
|
96
|
+
if i == (n - 1)
|
97
|
+
perim_vertices << vertices[i]
|
98
|
+
perim_vertices << vertices[0]
|
99
|
+
perim_vertices << new_vertices[0]
|
100
|
+
perim_vertices << new_vertices[i]
|
101
|
+
else
|
102
|
+
perim_vertices << vertices[i]
|
103
|
+
perim_vertices << vertices[i + 1]
|
104
|
+
perim_vertices << new_vertices[i + 1]
|
105
|
+
perim_vertices << new_vertices[i]
|
106
|
+
end
|
107
|
+
result << t_inv * perim_vertices
|
102
108
|
end
|
103
|
-
result << t_inv * perim_vertices
|
104
109
|
end
|
105
110
|
return result
|
106
111
|
end
|
@@ -9,34 +9,27 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ['Tanushree Charan', 'Nicholas Long', 'Dan Macumber']
|
10
10
|
spec.email = ['tanushree.charan@nrel.gov', 'nicholas.long@nrel.gov', 'daniel.macumber@nrel.gov']
|
11
11
|
|
12
|
-
spec.summary = '
|
12
|
+
spec.summary = 'Translate URBANopt GeoJSON format to OpenStudio'
|
13
13
|
spec.description = 'Library and measures to translate URBANopt GeoJSON format to OpenStudio'
|
14
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
15
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
16
|
-
end
|
17
14
|
spec.homepage = 'https://github.com/urbanopt/urbanopt-geojson-gem'
|
15
|
+
spec.licenses = 'Nonstandard'
|
18
16
|
|
19
17
|
# Specify which files should be added to the gem when it is released.
|
20
18
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
19
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
22
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|lib.measures.*tests|spec|features)/}) }
|
23
21
|
end
|
24
22
|
spec.bindir = 'exe'
|
25
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
24
|
spec.require_paths = ['lib']
|
27
25
|
|
28
|
-
|
29
|
-
# spec.required_ruby_version = '~> 2.2.4'
|
30
|
-
|
31
|
-
spec.add_development_dependency 'bundler', '~> 1.14'
|
32
|
-
spec.add_development_dependency 'rake', '12.3.1'
|
33
|
-
spec.add_development_dependency 'rspec', '3.7.0'
|
26
|
+
spec.required_ruby_version = '~> 2.5.0'
|
34
27
|
|
35
|
-
|
36
|
-
spec.
|
28
|
+
spec.add_development_dependency 'bundler', '~> 2.1'
|
29
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
30
|
+
spec.add_development_dependency 'rspec', '~> 3.7'
|
37
31
|
|
38
|
-
|
39
|
-
spec.
|
40
|
-
spec.
|
41
|
-
spec.add_dependency 'urbanopt-core', '~> 0.1.0'
|
32
|
+
spec.add_runtime_dependency 'json-schema', '~> 2.8'
|
33
|
+
spec.add_runtime_dependency 'openstudio-extension', '~> 0.2.5'
|
34
|
+
spec.add_runtime_dependency 'urbanopt-core', '~> 0.4.0'
|
42
35
|
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.
|
4
|
+
version: 0.4.0
|
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-
|
13
|
+
date: 2020-09-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -18,98 +18,84 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '1
|
21
|
+
version: '2.1'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '1
|
28
|
+
version: '2.1'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rake
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: '13.0'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version:
|
42
|
+
version: '13.0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rspec
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - "~>"
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 3.7
|
49
|
+
version: '3.7'
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 3.7.0
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
|
-
name: public_suffix
|
59
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - '='
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 3.1.1
|
64
|
-
type: :runtime
|
65
|
-
prerelease: false
|
66
|
-
version_requirements: !ruby/object:Gem::Requirement
|
67
|
-
requirements:
|
68
|
-
- - '='
|
54
|
+
- - "~>"
|
69
55
|
- !ruby/object:Gem::Version
|
70
|
-
version: 3.
|
56
|
+
version: '3.7'
|
71
57
|
- !ruby/object:Gem::Dependency
|
72
58
|
name: json-schema
|
73
59
|
requirement: !ruby/object:Gem::Requirement
|
74
60
|
requirements:
|
75
|
-
- - "
|
61
|
+
- - "~>"
|
76
62
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
63
|
+
version: '2.8'
|
78
64
|
type: :runtime
|
79
65
|
prerelease: false
|
80
66
|
version_requirements: !ruby/object:Gem::Requirement
|
81
67
|
requirements:
|
82
|
-
- - "
|
68
|
+
- - "~>"
|
83
69
|
- !ruby/object:Gem::Version
|
84
|
-
version: '
|
70
|
+
version: '2.8'
|
85
71
|
- !ruby/object:Gem::Dependency
|
86
72
|
name: openstudio-extension
|
87
73
|
requirement: !ruby/object:Gem::Requirement
|
88
74
|
requirements:
|
89
75
|
- - "~>"
|
90
76
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
77
|
+
version: 0.2.5
|
92
78
|
type: :runtime
|
93
79
|
prerelease: false
|
94
80
|
version_requirements: !ruby/object:Gem::Requirement
|
95
81
|
requirements:
|
96
82
|
- - "~>"
|
97
83
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.
|
84
|
+
version: 0.2.5
|
99
85
|
- !ruby/object:Gem::Dependency
|
100
86
|
name: urbanopt-core
|
101
87
|
requirement: !ruby/object:Gem::Requirement
|
102
88
|
requirements:
|
103
89
|
- - "~>"
|
104
90
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.
|
91
|
+
version: 0.4.0
|
106
92
|
type: :runtime
|
107
93
|
prerelease: false
|
108
94
|
version_requirements: !ruby/object:Gem::Requirement
|
109
95
|
requirements:
|
110
96
|
- - "~>"
|
111
97
|
- !ruby/object:Gem::Version
|
112
|
-
version: 0.
|
98
|
+
version: 0.4.0
|
113
99
|
description: Library and measures to translate URBANopt GeoJSON format to OpenStudio
|
114
100
|
email:
|
115
101
|
- tanushree.charan@nrel.gov
|
@@ -169,23 +155,17 @@ files:
|
|
169
155
|
- docs/schemas/site-properties.md
|
170
156
|
- docs/schemas/thermal-connector-properties.md
|
171
157
|
- docs/schemas/thermal-junction-properties.md
|
172
|
-
- lib/change_log.rb
|
173
158
|
- lib/measures/.rubocop.yml
|
174
159
|
- lib/measures/urban_geometry_creation/LICENSE.md
|
175
160
|
- lib/measures/urban_geometry_creation/README.md
|
176
161
|
- lib/measures/urban_geometry_creation/README.md.erb
|
177
162
|
- lib/measures/urban_geometry_creation/measure.rb
|
178
163
|
- lib/measures/urban_geometry_creation/measure.xml
|
179
|
-
- lib/measures/urban_geometry_creation/tests/nrel_stm_footprints.geojson
|
180
|
-
- lib/measures/urban_geometry_creation/tests/shadowed_tests.rb
|
181
|
-
- lib/measures/urban_geometry_creation/tests/urban_geometry_creation_test.rb
|
182
164
|
- lib/measures/urban_geometry_creation_zoning/LICENSE.md
|
183
165
|
- lib/measures/urban_geometry_creation_zoning/README.md
|
184
166
|
- lib/measures/urban_geometry_creation_zoning/README.md.erb
|
185
167
|
- lib/measures/urban_geometry_creation_zoning/measure.rb
|
186
168
|
- lib/measures/urban_geometry_creation_zoning/measure.xml
|
187
|
-
- lib/measures/urban_geometry_creation_zoning/tests/nrel_stm_footprints.geojson
|
188
|
-
- lib/measures/urban_geometry_creation_zoning/tests/urban_geometry_creation_zoning_test.rb
|
189
169
|
- lib/urbanopt-geojson.rb
|
190
170
|
- lib/urbanopt/geojson.rb
|
191
171
|
- lib/urbanopt/geojson/building.rb
|
@@ -199,6 +179,7 @@ files:
|
|
199
179
|
- lib/urbanopt/geojson/mapper_classes.rb
|
200
180
|
- lib/urbanopt/geojson/model.rb
|
201
181
|
- lib/urbanopt/geojson/region.rb
|
182
|
+
- lib/urbanopt/geojson/scale_area.rb
|
202
183
|
- lib/urbanopt/geojson/schema/building_properties.json
|
203
184
|
- lib/urbanopt/geojson/schema/district_system_properties.json
|
204
185
|
- lib/urbanopt/geojson/schema/electrical_connector_properties.json
|
@@ -219,7 +200,8 @@ files:
|
|
219
200
|
- package-lock.json
|
220
201
|
- urbanopt-geojson-gem.gemspec
|
221
202
|
homepage: https://github.com/urbanopt/urbanopt-geojson-gem
|
222
|
-
licenses:
|
203
|
+
licenses:
|
204
|
+
- Nonstandard
|
223
205
|
metadata: {}
|
224
206
|
post_install_message:
|
225
207
|
rdoc_options: []
|
@@ -227,18 +209,17 @@ require_paths:
|
|
227
209
|
- lib
|
228
210
|
required_ruby_version: !ruby/object:Gem::Requirement
|
229
211
|
requirements:
|
230
|
-
- - "
|
212
|
+
- - "~>"
|
231
213
|
- !ruby/object:Gem::Version
|
232
|
-
version:
|
214
|
+
version: 2.5.0
|
233
215
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
234
216
|
requirements:
|
235
|
-
- - "
|
217
|
+
- - ">="
|
236
218
|
- !ruby/object:Gem::Version
|
237
|
-
version:
|
219
|
+
version: '0'
|
238
220
|
requirements: []
|
239
|
-
|
240
|
-
rubygems_version: 2.4.5.1
|
221
|
+
rubygems_version: 3.1.4
|
241
222
|
signing_key:
|
242
223
|
specification_version: 4
|
243
|
-
summary:
|
224
|
+
summary: Translate URBANopt GeoJSON format to OpenStudio
|
244
225
|
test_files: []
|