urbanopt-geojson 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/.rakeTasks +7 -0
- data/.rdoc_options +43 -0
- data/.rspec +2 -0
- data/.rubocop.yml +10 -0
- data/.travis.yml +35 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +27 -0
- data/Jenkinsfile +10 -0
- data/LICENSE.md +27 -0
- data/RDOC_MAIN.md +48 -0
- data/README.md +40 -0
- data/Rakefile +45 -0
- data/deploy_docs.sh +4 -0
- data/doc_templates/LICENSE.md +27 -0
- data/doc_templates/README.md.erb +42 -0
- data/doc_templates/copyright_erb.txt +31 -0
- data/doc_templates/copyright_js.txt +4 -0
- data/doc_templates/copyright_ruby.txt +29 -0
- data/docs/.gitignore +3 -0
- data/docs/.vuepress/components/BuildingProperties.vue +12 -0
- data/docs/.vuepress/components/DistrictSystemProperties.vue +12 -0
- data/docs/.vuepress/components/ElectricalConnectorProperties.vue +12 -0
- data/docs/.vuepress/components/ElectricalJunctionProperties.vue +12 -0
- data/docs/.vuepress/components/InnerJsonSchema.vue +80 -0
- data/docs/.vuepress/components/JsonSchema.vue +12 -0
- data/docs/.vuepress/components/RegionProperties.vue +12 -0
- data/docs/.vuepress/components/SiteProperties.vue +12 -0
- data/docs/.vuepress/components/StaticLink.vue +8 -0
- data/docs/.vuepress/components/ThermalConnectorProperties.vue +12 -0
- data/docs/.vuepress/components/ThermalJunctionProperties.vue +12 -0
- data/docs/.vuepress/config.js +22 -0
- data/docs/.vuepress/highlight.js +8 -0
- data/docs/.vuepress/public/custom_rdoc_styles.css +64 -0
- data/docs/.vuepress/utils.js +17 -0
- data/docs/README.md +30 -0
- data/docs/doc/created.rid +0 -0
- data/docs/package-lock.json +11771 -0
- data/docs/package.json +22 -0
- data/docs/schemas/building-properties.md +3 -0
- data/docs/schemas/district-system-properties.md +3 -0
- data/docs/schemas/electrical-connector-properties.md +3 -0
- data/docs/schemas/electrical-junction-properties.md +3 -0
- data/docs/schemas/region-properties.md +3 -0
- data/docs/schemas/site-properties.md +3 -0
- data/docs/schemas/thermal-connector-properties.md +3 -0
- data/docs/schemas/thermal-junction-properties.md +3 -0
- data/lib/measures/.rubocop.yml +5 -0
- data/lib/measures/urban_geometry_creation/LICENSE.md +27 -0
- data/lib/measures/urban_geometry_creation/README.md +48 -0
- data/lib/measures/urban_geometry_creation/README.md.erb +42 -0
- data/lib/measures/urban_geometry_creation/measure.rb +199 -0
- data/lib/measures/urban_geometry_creation/measure.xml +139 -0
- data/lib/measures/urban_geometry_creation/tests/nrel_stm_footprints.geojson +3238 -0
- data/lib/measures/urban_geometry_creation/tests/shadowed_tests.rb +80 -0
- data/lib/measures/urban_geometry_creation/tests/urban_geometry_creation_test.rb +143 -0
- data/lib/measures/urban_geometry_creation_zoning/LICENSE.md +27 -0
- data/lib/measures/urban_geometry_creation_zoning/README.md +48 -0
- data/lib/measures/urban_geometry_creation_zoning/README.md.erb +42 -0
- data/lib/measures/urban_geometry_creation_zoning/measure.rb +203 -0
- data/lib/measures/urban_geometry_creation_zoning/measure.xml +133 -0
- data/lib/measures/urban_geometry_creation_zoning/tests/nrel_stm_footprints.geojson +3238 -0
- data/lib/measures/urban_geometry_creation_zoning/tests/urban_geometry_creation_test.rb +143 -0
- data/lib/urbanopt/geojson.rb +41 -0
- data/lib/urbanopt/geojson/building.rb +341 -0
- data/lib/urbanopt/geojson/district_system.rb +53 -0
- data/lib/urbanopt/geojson/extension.rb +63 -0
- data/lib/urbanopt/geojson/feature.rb +206 -0
- data/lib/urbanopt/geojson/geo_file.rb +154 -0
- data/lib/urbanopt/geojson/helper.rb +340 -0
- data/lib/urbanopt/geojson/logging.rb +46 -0
- data/lib/urbanopt/geojson/mapper_classes.rb +85 -0
- data/lib/urbanopt/geojson/model.rb +133 -0
- data/lib/urbanopt/geojson/region.rb +55 -0
- data/lib/urbanopt/geojson/schema/building_properties.json +358 -0
- data/lib/urbanopt/geojson/schema/district_system_properties.json +137 -0
- data/lib/urbanopt/geojson/schema/electrical_connector_properties.json +77 -0
- data/lib/urbanopt/geojson/schema/electrical_junction_properties.json +64 -0
- data/lib/urbanopt/geojson/schema/geojson_schema.json +323 -0
- data/lib/urbanopt/geojson/schema/region_properties.json +93 -0
- data/lib/urbanopt/geojson/schema/site_properties.json +87 -0
- data/lib/urbanopt/geojson/schema/thermal_connector_properties.json +107 -0
- data/lib/urbanopt/geojson/schema/thermal_junction_properties.json +83 -0
- data/lib/urbanopt/geojson/update_areas.rb +102 -0
- data/lib/urbanopt/geojson/validate_geojson.rb +147 -0
- data/lib/urbanopt/geojson/version.rb +35 -0
- data/lib/urbanopt/geojson/workflows/building.osw +187 -0
- data/lib/urbanopt/geojson/workflows/building.osw.out +2806 -0
- data/lib/urbanopt/geojson/workflows/district_system.osw +84 -0
- data/lib/urbanopt/geojson/workflows/district_system.osw.out +646 -0
- data/lib/urbanopt/geojson/zoning.rb +134 -0
- data/package-lock.json +3 -0
- data/urbanopt-geojson-gem.gemspec +39 -0
- metadata +238 -0
@@ -0,0 +1,134 @@
|
|
1
|
+
# *********************************************************************************
|
2
|
+
# URBANopt, Copyright (c) 2019, Alliance for Sustainable Energy, LLC, and other
|
3
|
+
# contributors. All rights reserved.
|
4
|
+
#
|
5
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
6
|
+
# are permitted provided that the following conditions are met:
|
7
|
+
#
|
8
|
+
# Redistributions of source code must retain the above copyright notice, this list
|
9
|
+
# of conditions and the following disclaimer.
|
10
|
+
#
|
11
|
+
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
|
+
# list of conditions and the following disclaimer in the documentation and/or other
|
13
|
+
# materials provided with the distribution.
|
14
|
+
#
|
15
|
+
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
|
+
# used to endorse or promote products derived from this software without specific
|
17
|
+
# prior written permission.
|
18
|
+
#
|
19
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
22
|
+
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
23
|
+
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
24
|
+
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
26
|
+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
27
|
+
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
28
|
+
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
# *********************************************************************************
|
30
|
+
|
31
|
+
module URBANopt
|
32
|
+
module GeoJSON
|
33
|
+
module Zoning
|
34
|
+
##
|
35
|
+
# This method divides the floor print using perimeter and core zoning at
|
36
|
+
# the depth of the +perimeter_depth+.
|
37
|
+
#
|
38
|
+
# It returns an Array of Arrays containing instances of +OpenStudio::Point3d+ .
|
39
|
+
#
|
40
|
+
# [Parameters]
|
41
|
+
# * +floor_print+ - _Type:Array_ - An instance of +OpenStudio::Point3dVector.new+ .
|
42
|
+
# * +perimeter_depth+ - _Type:Float_ - Represents perimeter depth.
|
43
|
+
# * +runner+ - _Type:String_ - Measure run's instance of +OpenStudio::Measure::OSRunner+ .
|
44
|
+
def self.divide_floor_print(floor_print, perimeter_depth, runner)
|
45
|
+
result = []
|
46
|
+
t_inv = OpenStudio::Transformation.alignFace(floor_print)
|
47
|
+
t = t_inv.inverse
|
48
|
+
vertices = t * floor_print
|
49
|
+
new_vertices = OpenStudio::Point3dVector.new
|
50
|
+
n = vertices.size
|
51
|
+
(0...n).each do |i|
|
52
|
+
vertex_1 = nil
|
53
|
+
vertex_2 = nil
|
54
|
+
vertex_3 = nil
|
55
|
+
if i == 0
|
56
|
+
vertex_1 = vertices[n - 1]
|
57
|
+
vertex_2 = vertices[i]
|
58
|
+
vertex_3 = vertices[i + 1]
|
59
|
+
elsif i == (n - 1)
|
60
|
+
vertex_1 = vertices[i - 1]
|
61
|
+
vertex_2 = vertices[i]
|
62
|
+
vertex_3 = vertices[0]
|
63
|
+
else
|
64
|
+
vertex_1 = vertices[i - 1]
|
65
|
+
vertex_2 = vertices[i]
|
66
|
+
vertex_3 = vertices[i + 1]
|
67
|
+
end
|
68
|
+
vector_1 = (vertex_2 - vertex_1)
|
69
|
+
vector_2 = (vertex_3 - vertex_2)
|
70
|
+
angle_1 = Math.atan2(vector_1.y, vector_1.x) + Math::PI / 2.0
|
71
|
+
angle_2 = Math.atan2(vector_2.y, vector_2.x) + Math::PI / 2.0
|
72
|
+
vector = OpenStudio::Vector3d.new(Math.cos(angle_1) + Math.cos(angle_2), Math.sin(angle_1) + Math.sin(angle_2), 0)
|
73
|
+
vector.setLength(perimeter_depth)
|
74
|
+
new_point = vertices[i] + vector
|
75
|
+
new_vertices << new_point
|
76
|
+
end
|
77
|
+
normal = OpenStudio.getOutwardNormal(new_vertices)
|
78
|
+
if normal.empty? || normal.get.z < 0
|
79
|
+
runner.registerWarning('Wrong direction for resulting normal, will not divide')
|
80
|
+
return [floor_print]
|
81
|
+
end
|
82
|
+
self_intersects = OpenStudio.selfIntersects(OpenStudio.reverse(new_vertices), 0.01)
|
83
|
+
if OpenStudio::VersionString.new(OpenStudio.openStudioVersion) < OpenStudio::VersionString.new('1.12.4')
|
84
|
+
self_intersects = !self_intersects
|
85
|
+
end
|
86
|
+
if self_intersects
|
87
|
+
runner.registerWarning('Self intersecting surface result, will not divide')
|
88
|
+
end
|
89
|
+
result << t_inv * new_vertices
|
90
|
+
(0...n).each do |i|
|
91
|
+
perim_vertices = OpenStudio::Point3dVector.new
|
92
|
+
if i == (n - 1)
|
93
|
+
perim_vertices << vertices[i]
|
94
|
+
perim_vertices << vertices[0]
|
95
|
+
perim_vertices << new_vertices[0]
|
96
|
+
perim_vertices << new_vertices[i]
|
97
|
+
else
|
98
|
+
perim_vertices << vertices[i]
|
99
|
+
perim_vertices << vertices[i + 1]
|
100
|
+
perim_vertices << new_vertices[i + 1]
|
101
|
+
perim_vertices << new_vertices[i]
|
102
|
+
end
|
103
|
+
result << t_inv * perim_vertices
|
104
|
+
end
|
105
|
+
return result
|
106
|
+
end
|
107
|
+
|
108
|
+
##
|
109
|
+
# The get_first_floor_points is used to return the points for the first floor.
|
110
|
+
#
|
111
|
+
# It returns an Array containing instances of +OpenStudio::Point3d+.
|
112
|
+
#
|
113
|
+
# [Parameters]
|
114
|
+
# * +multi_polygons+ - _Type-Array_ - Coordinate pairs in double nested +Array+ .
|
115
|
+
# * +origin_lat_lon+ - _Type-Float_ - An instance of +OpenStudio::PointLatLon+ indicating origin
|
116
|
+
# latitude and longitude.
|
117
|
+
# * +runner+ - _Type-String_ - Measure run's instance of +OpenStudio::Measure::OSRunner+ .
|
118
|
+
def self.get_first_floor_points(multi_polygons, origin_lat_lon, runner)
|
119
|
+
building_points = []
|
120
|
+
multi_polygons.each do |multi_polygon|
|
121
|
+
multi_polygon.each do |polygon|
|
122
|
+
elevation = 0
|
123
|
+
floor_print = URBANopt::GeoJSON::Helper.floor_print_from_polygon(polygon, elevation, origin_lat_lon, runner, true)
|
124
|
+
floor_print.each do |point|
|
125
|
+
building_points << point
|
126
|
+
end
|
127
|
+
break
|
128
|
+
end
|
129
|
+
end
|
130
|
+
return building_points
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
data/package-lock.json
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('lib', __dir__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'urbanopt/geojson/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'urbanopt-geojson'
|
8
|
+
spec.version = URBANopt::GeoJSON::VERSION
|
9
|
+
spec.authors = ['Tanushree Charan', 'Nicholas Long', 'Dan Macumber']
|
10
|
+
spec.email = ['tanushree.charan@nrel.gov', 'nicholas.long@nrel.gov', 'daniel.macumber@nrel.gov']
|
11
|
+
|
12
|
+
spec.summary = 'Library and measures to translate URBANopt GeoJSON format to OpenStudio'
|
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
|
+
spec.homepage = 'https://github.com/urbanopt/urbanopt-geojson-gem'
|
18
|
+
|
19
|
+
# Specify which files should be added to the gem when it is released.
|
20
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
22
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
|
+
end
|
24
|
+
spec.bindir = 'exe'
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
+
spec.require_paths = ['lib']
|
27
|
+
|
28
|
+
spec.add_development_dependency 'bundler', '~> 1.14'
|
29
|
+
spec.add_development_dependency 'rake', '12.3.1'
|
30
|
+
spec.add_development_dependency 'rspec', '3.7.0'
|
31
|
+
|
32
|
+
# lock the version of these dependencies due to using older version of Ruby.
|
33
|
+
spec.add_dependency 'public_suffix', '3.1.1'
|
34
|
+
|
35
|
+
# other dependencies
|
36
|
+
spec.add_dependency 'json-schema'
|
37
|
+
spec.add_dependency 'openstudio-extension', '~> 0.1.3'
|
38
|
+
spec.add_dependency 'urbanopt-core', '~> 0.1.0'
|
39
|
+
end
|
metadata
ADDED
@@ -0,0 +1,238 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: urbanopt-geojson
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tanushree Charan
|
8
|
+
- Nicholas Long
|
9
|
+
- Dan Macumber
|
10
|
+
autorequire:
|
11
|
+
bindir: exe
|
12
|
+
cert_chain: []
|
13
|
+
date: 2019-10-29 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: bundler
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - "~>"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.14'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
requirements:
|
26
|
+
- - "~>"
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
version: '1.14'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: rake
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - '='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 12.3.1
|
36
|
+
type: :development
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - '='
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 12.3.1
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: rspec
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - '='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 3.7.0
|
50
|
+
type: :development
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
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
|
+
- - '='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 3.1.1
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: json-schema
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: openstudio-extension
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 0.1.3
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 0.1.3
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: urbanopt-core
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - "~>"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: 0.1.0
|
106
|
+
type: :runtime
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 0.1.0
|
113
|
+
description: Library and measures to translate URBANopt GeoJSON format to OpenStudio
|
114
|
+
email:
|
115
|
+
- tanushree.charan@nrel.gov
|
116
|
+
- nicholas.long@nrel.gov
|
117
|
+
- daniel.macumber@nrel.gov
|
118
|
+
executables: []
|
119
|
+
extensions: []
|
120
|
+
extra_rdoc_files: []
|
121
|
+
files:
|
122
|
+
- ".gitignore"
|
123
|
+
- ".rakeTasks"
|
124
|
+
- ".rdoc_options"
|
125
|
+
- ".rspec"
|
126
|
+
- ".rubocop.yml"
|
127
|
+
- ".travis.yml"
|
128
|
+
- CHANGELOG.md
|
129
|
+
- Gemfile
|
130
|
+
- Jenkinsfile
|
131
|
+
- LICENSE.md
|
132
|
+
- RDOC_MAIN.md
|
133
|
+
- README.md
|
134
|
+
- Rakefile
|
135
|
+
- deploy_docs.sh
|
136
|
+
- doc_templates/LICENSE.md
|
137
|
+
- doc_templates/README.md.erb
|
138
|
+
- doc_templates/copyright_erb.txt
|
139
|
+
- doc_templates/copyright_js.txt
|
140
|
+
- doc_templates/copyright_ruby.txt
|
141
|
+
- docs/.gitignore
|
142
|
+
- docs/.vuepress/components/BuildingProperties.vue
|
143
|
+
- docs/.vuepress/components/DistrictSystemProperties.vue
|
144
|
+
- docs/.vuepress/components/ElectricalConnectorProperties.vue
|
145
|
+
- docs/.vuepress/components/ElectricalJunctionProperties.vue
|
146
|
+
- docs/.vuepress/components/InnerJsonSchema.vue
|
147
|
+
- docs/.vuepress/components/JsonSchema.vue
|
148
|
+
- docs/.vuepress/components/RegionProperties.vue
|
149
|
+
- docs/.vuepress/components/SiteProperties.vue
|
150
|
+
- docs/.vuepress/components/StaticLink.vue
|
151
|
+
- docs/.vuepress/components/ThermalConnectorProperties.vue
|
152
|
+
- docs/.vuepress/components/ThermalJunctionProperties.vue
|
153
|
+
- docs/.vuepress/config.js
|
154
|
+
- docs/.vuepress/highlight.js
|
155
|
+
- docs/.vuepress/public/custom_rdoc_styles.css
|
156
|
+
- docs/.vuepress/utils.js
|
157
|
+
- docs/README.md
|
158
|
+
- docs/doc/created.rid
|
159
|
+
- docs/package-lock.json
|
160
|
+
- docs/package.json
|
161
|
+
- docs/schemas/building-properties.md
|
162
|
+
- docs/schemas/district-system-properties.md
|
163
|
+
- docs/schemas/electrical-connector-properties.md
|
164
|
+
- docs/schemas/electrical-junction-properties.md
|
165
|
+
- docs/schemas/region-properties.md
|
166
|
+
- docs/schemas/site-properties.md
|
167
|
+
- docs/schemas/thermal-connector-properties.md
|
168
|
+
- docs/schemas/thermal-junction-properties.md
|
169
|
+
- lib/measures/.rubocop.yml
|
170
|
+
- lib/measures/urban_geometry_creation/LICENSE.md
|
171
|
+
- lib/measures/urban_geometry_creation/README.md
|
172
|
+
- lib/measures/urban_geometry_creation/README.md.erb
|
173
|
+
- lib/measures/urban_geometry_creation/measure.rb
|
174
|
+
- lib/measures/urban_geometry_creation/measure.xml
|
175
|
+
- lib/measures/urban_geometry_creation/tests/nrel_stm_footprints.geojson
|
176
|
+
- lib/measures/urban_geometry_creation/tests/shadowed_tests.rb
|
177
|
+
- lib/measures/urban_geometry_creation/tests/urban_geometry_creation_test.rb
|
178
|
+
- lib/measures/urban_geometry_creation_zoning/LICENSE.md
|
179
|
+
- lib/measures/urban_geometry_creation_zoning/README.md
|
180
|
+
- lib/measures/urban_geometry_creation_zoning/README.md.erb
|
181
|
+
- lib/measures/urban_geometry_creation_zoning/measure.rb
|
182
|
+
- lib/measures/urban_geometry_creation_zoning/measure.xml
|
183
|
+
- lib/measures/urban_geometry_creation_zoning/tests/nrel_stm_footprints.geojson
|
184
|
+
- lib/measures/urban_geometry_creation_zoning/tests/urban_geometry_creation_test.rb
|
185
|
+
- lib/urbanopt/geojson.rb
|
186
|
+
- lib/urbanopt/geojson/building.rb
|
187
|
+
- lib/urbanopt/geojson/district_system.rb
|
188
|
+
- lib/urbanopt/geojson/extension.rb
|
189
|
+
- lib/urbanopt/geojson/feature.rb
|
190
|
+
- lib/urbanopt/geojson/geo_file.rb
|
191
|
+
- lib/urbanopt/geojson/helper.rb
|
192
|
+
- lib/urbanopt/geojson/logging.rb
|
193
|
+
- lib/urbanopt/geojson/mapper_classes.rb
|
194
|
+
- lib/urbanopt/geojson/model.rb
|
195
|
+
- lib/urbanopt/geojson/region.rb
|
196
|
+
- lib/urbanopt/geojson/schema/building_properties.json
|
197
|
+
- lib/urbanopt/geojson/schema/district_system_properties.json
|
198
|
+
- lib/urbanopt/geojson/schema/electrical_connector_properties.json
|
199
|
+
- lib/urbanopt/geojson/schema/electrical_junction_properties.json
|
200
|
+
- lib/urbanopt/geojson/schema/geojson_schema.json
|
201
|
+
- lib/urbanopt/geojson/schema/region_properties.json
|
202
|
+
- lib/urbanopt/geojson/schema/site_properties.json
|
203
|
+
- lib/urbanopt/geojson/schema/thermal_connector_properties.json
|
204
|
+
- lib/urbanopt/geojson/schema/thermal_junction_properties.json
|
205
|
+
- lib/urbanopt/geojson/update_areas.rb
|
206
|
+
- lib/urbanopt/geojson/validate_geojson.rb
|
207
|
+
- lib/urbanopt/geojson/version.rb
|
208
|
+
- lib/urbanopt/geojson/workflows/building.osw
|
209
|
+
- lib/urbanopt/geojson/workflows/building.osw.out
|
210
|
+
- lib/urbanopt/geojson/workflows/district_system.osw
|
211
|
+
- lib/urbanopt/geojson/workflows/district_system.osw.out
|
212
|
+
- lib/urbanopt/geojson/zoning.rb
|
213
|
+
- package-lock.json
|
214
|
+
- urbanopt-geojson-gem.gemspec
|
215
|
+
homepage: https://github.com/urbanopt/urbanopt-geojson-gem
|
216
|
+
licenses: []
|
217
|
+
metadata: {}
|
218
|
+
post_install_message:
|
219
|
+
rdoc_options: []
|
220
|
+
require_paths:
|
221
|
+
- lib
|
222
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '0'
|
227
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '0'
|
232
|
+
requirements: []
|
233
|
+
rubyforge_project:
|
234
|
+
rubygems_version: 2.4.5.1
|
235
|
+
signing_key:
|
236
|
+
specification_version: 4
|
237
|
+
summary: Library and measures to translate URBANopt GeoJSON format to OpenStudio
|
238
|
+
test_files: []
|