urbanopt-geojson 0.5.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +38 -4
- data/Gemfile +1 -1
- data/LICENSE.md +29 -17
- data/Rakefile +16 -6
- data/doc_templates/LICENSE.md +27 -17
- data/doc_templates/copyright_erb.txt +40 -30
- data/doc_templates/copyright_js.txt +1 -1
- data/doc_templates/copyright_ruby.txt +17 -7
- data/docs/package-lock.json +2525 -1585
- data/docs/package.json +9 -3
- data/lib/measures/urban_geometry_creation/LICENSE.md +27 -17
- data/lib/measures/urban_geometry_creation/README.md +9 -1
- data/lib/measures/urban_geometry_creation/measure.rb +16 -6
- data/lib/measures/urban_geometry_creation/measure.xml +33 -14
- data/lib/measures/urban_geometry_creation_zoning/LICENSE.md +27 -17
- data/lib/measures/urban_geometry_creation_zoning/README.md +1 -1
- data/lib/measures/urban_geometry_creation_zoning/measure.rb +16 -6
- data/lib/measures/urban_geometry_creation_zoning/measure.xml +11 -11
- data/lib/urbanopt-geojson.rb +16 -6
- data/lib/urbanopt/geojson.rb +16 -6
- data/lib/urbanopt/geojson/building.rb +16 -6
- data/lib/urbanopt/geojson/derived_extension.rb +16 -6
- data/lib/urbanopt/geojson/district_system.rb +16 -6
- data/lib/urbanopt/geojson/feature.rb +24 -11
- data/lib/urbanopt/geojson/geo_file.rb +16 -6
- data/lib/urbanopt/geojson/helper.rb +22 -9
- data/lib/urbanopt/geojson/logging.rb +16 -6
- data/lib/urbanopt/geojson/mapper_classes.rb +16 -6
- data/lib/urbanopt/geojson/model.rb +11 -1
- data/lib/urbanopt/geojson/region.rb +11 -1
- data/lib/urbanopt/geojson/scale_area.rb +12 -1
- data/lib/urbanopt/geojson/schema/building_properties.json +45 -6
- data/lib/urbanopt/geojson/schema/electrical_connector_properties.json +23 -14
- 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 +11 -1
- data/lib/urbanopt/geojson/validate_geojson.rb +11 -1
- data/lib/urbanopt/geojson/version.rb +12 -2
- data/lib/urbanopt/geojson/zoning.rb +11 -1
- data/urbanopt-geojson-gem.gemspec +3 -4
- metadata +9 -23
data/docs/package.json
CHANGED
@@ -10,16 +10,20 @@
|
|
10
10
|
},
|
11
11
|
"author": "Brian Schiller",
|
12
12
|
"dependencies": {
|
13
|
-
"highlight.js": "^10.
|
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
|
-
"vuepress": "^1.
|
16
|
+
"vuepress": "^1.8.2",
|
17
17
|
"webpack-dev-middleware": "^3.6.0"
|
18
18
|
},
|
19
19
|
"devDependencies": {
|
20
20
|
"braces": "^3.0.2",
|
21
|
+
"chokidar": "^3.5.1",
|
21
22
|
"dot-prop": ">=5.1.1",
|
23
|
+
"fsevents": "^2.3.2",
|
22
24
|
"gh-pages": "^3.1.0",
|
25
|
+
"ini": "^2.0.0",
|
26
|
+
"is-svg": "^4.3.1",
|
23
27
|
"js-yaml": ">=3.13.1",
|
24
28
|
"lodash": ">=4.17.19",
|
25
29
|
"lodash.template": ">=4.5.0",
|
@@ -27,6 +31,8 @@
|
|
27
31
|
"mixin-deep": "^2.0.1",
|
28
32
|
"serialize-javascript": "^5.0.1",
|
29
33
|
"set-value": "^3.0.2",
|
30
|
-
"
|
34
|
+
"ssri": "^8.0.1",
|
35
|
+
"webpack": "^4.46.0",
|
36
|
+
"yargs-parser": "^20.2.3"
|
31
37
|
}
|
32
38
|
}
|
@@ -1,27 +1,37 @@
|
|
1
|
-
URBANopt™, Copyright (c) 2019-
|
1
|
+
URBANopt™, Copyright (c) 2019-2021, Alliance for Sustainable Energy, LLC, and other
|
2
2
|
contributors. All rights reserved.
|
3
3
|
|
4
|
-
Redistribution and use in source and binary forms, with or without modification,
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
5
5
|
are permitted provided that the following conditions are met:
|
6
6
|
|
7
|
-
Redistributions of source code must retain the above copyright notice, this list
|
7
|
+
Redistributions of source code must retain the above copyright notice, this list
|
8
8
|
of conditions and the following disclaimer.
|
9
9
|
|
10
|
-
Redistributions in binary form must reproduce the above copyright notice, this
|
11
|
-
list of conditions and the following disclaimer in the documentation and/or other
|
10
|
+
Redistributions in binary form must reproduce the above copyright notice, this
|
11
|
+
list of conditions and the following disclaimer in the documentation and/or other
|
12
12
|
materials provided with the distribution.
|
13
|
-
|
14
|
-
Neither the name of the copyright holder nor the names of its contributors may be
|
15
|
-
used to endorse or promote products derived from this software without specific
|
13
|
+
|
14
|
+
Neither the name of the copyright holder nor the names of its contributors may be
|
15
|
+
used to endorse or promote products derived from this software without specific
|
16
16
|
prior written permission.
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
18
|
+
Redistribution of this software, without modification, must refer to the software
|
19
|
+
by the same designation. Redistribution of a modified version of this software
|
20
|
+
(i) may not refer to the modified version by the same designation, or by any
|
21
|
+
confusingly similar designation, and (ii) must refer to the underlying software
|
22
|
+
originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
|
23
|
+
the term “URBANopt”, or any confusingly similar designation may not be used to
|
24
|
+
refer to any modified version of this software or any modified version of the
|
25
|
+
underlying software originally provided by Alliance without the prior written
|
26
|
+
consent of Alliance.
|
27
|
+
|
28
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
29
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
30
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
31
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
32
|
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
33
|
+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
34
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
35
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
36
|
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
27
37
|
OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# UrbanGeometryCreation
|
6
6
|
|
7
7
|
## Description
|
8
|
-
This measure reads an URBANopt
|
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,23 +1,33 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# *********************************************************************************
|
4
|
-
# URBANopt™, Copyright (c) 2019-
|
4
|
+
# URBANopt™, Copyright (c) 2019-2021, 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,
|
8
8
|
# are permitted provided that the following conditions are met:
|
9
|
-
|
9
|
+
|
10
10
|
# Redistributions of source code must retain the above copyright notice, this list
|
11
11
|
# of conditions and the following disclaimer.
|
12
|
-
|
12
|
+
|
13
13
|
# Redistributions in binary form must reproduce the above copyright notice, this
|
14
14
|
# list of conditions and the following disclaimer in the documentation and/or other
|
15
15
|
# materials provided with the distribution.
|
16
|
-
|
16
|
+
|
17
17
|
# Neither the name of the copyright holder nor the names of its contributors may be
|
18
18
|
# used to endorse or promote products derived from this software without specific
|
19
19
|
# prior written permission.
|
20
|
-
|
20
|
+
|
21
|
+
# Redistribution of this software, without modification, must refer to the software
|
22
|
+
# by the same designation. Redistribution of a modified version of this software
|
23
|
+
# (i) may not refer to the modified version by the same designation, or by any
|
24
|
+
# confusingly similar designation, and (ii) must refer to the underlying software
|
25
|
+
# originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
|
26
|
+
# the term “URBANopt”, or any confusingly similar designation may not be used to
|
27
|
+
# refer to any modified version of this software or any modified version of the
|
28
|
+
# underlying software originally provided by Alliance without the prior written
|
29
|
+
# consent of Alliance.
|
30
|
+
|
21
31
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
22
32
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
23
33
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
@@ -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>
|
7
|
-
<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>
|
120
|
+
<filename>LICENSE.md</filename>
|
108
121
|
<filetype>md</filetype>
|
109
|
-
<usage_type>
|
110
|
-
<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>
|
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>
|
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>
|
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,27 +1,37 @@
|
|
1
|
-
URBANopt™, Copyright (c) 2019-
|
1
|
+
URBANopt™, Copyright (c) 2019-2021, Alliance for Sustainable Energy, LLC, and other
|
2
2
|
contributors. All rights reserved.
|
3
3
|
|
4
|
-
Redistribution and use in source and binary forms, with or without modification,
|
4
|
+
Redistribution and use in source and binary forms, with or without modification,
|
5
5
|
are permitted provided that the following conditions are met:
|
6
6
|
|
7
|
-
Redistributions of source code must retain the above copyright notice, this list
|
7
|
+
Redistributions of source code must retain the above copyright notice, this list
|
8
8
|
of conditions and the following disclaimer.
|
9
9
|
|
10
|
-
Redistributions in binary form must reproduce the above copyright notice, this
|
11
|
-
list of conditions and the following disclaimer in the documentation and/or other
|
10
|
+
Redistributions in binary form must reproduce the above copyright notice, this
|
11
|
+
list of conditions and the following disclaimer in the documentation and/or other
|
12
12
|
materials provided with the distribution.
|
13
|
-
|
14
|
-
Neither the name of the copyright holder nor the names of its contributors may be
|
15
|
-
used to endorse or promote products derived from this software without specific
|
13
|
+
|
14
|
+
Neither the name of the copyright holder nor the names of its contributors may be
|
15
|
+
used to endorse or promote products derived from this software without specific
|
16
16
|
prior written permission.
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
18
|
+
Redistribution of this software, without modification, must refer to the software
|
19
|
+
by the same designation. Redistribution of a modified version of this software
|
20
|
+
(i) may not refer to the modified version by the same designation, or by any
|
21
|
+
confusingly similar designation, and (ii) must refer to the underlying software
|
22
|
+
originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
|
23
|
+
the term “URBANopt”, or any confusingly similar designation may not be used to
|
24
|
+
refer to any modified version of this software or any modified version of the
|
25
|
+
underlying software originally provided by Alliance without the prior written
|
26
|
+
consent of Alliance.
|
27
|
+
|
28
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
29
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
30
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
31
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
32
|
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
33
|
+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
34
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
35
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
36
|
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
27
37
|
OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# UrbanGeometryCreationZoning
|
6
6
|
|
7
7
|
## Description
|
8
|
-
This measure reads an URBANopt
|
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,23 +1,33 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# *********************************************************************************
|
4
|
-
# URBANopt™, Copyright (c) 2019-
|
4
|
+
# URBANopt™, Copyright (c) 2019-2021, 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,
|
8
8
|
# are permitted provided that the following conditions are met:
|
9
|
-
|
9
|
+
|
10
10
|
# Redistributions of source code must retain the above copyright notice, this list
|
11
11
|
# of conditions and the following disclaimer.
|
12
|
-
|
12
|
+
|
13
13
|
# Redistributions in binary form must reproduce the above copyright notice, this
|
14
14
|
# list of conditions and the following disclaimer in the documentation and/or other
|
15
15
|
# materials provided with the distribution.
|
16
|
-
|
16
|
+
|
17
17
|
# Neither the name of the copyright holder nor the names of its contributors may be
|
18
18
|
# used to endorse or promote products derived from this software without specific
|
19
19
|
# prior written permission.
|
20
|
-
|
20
|
+
|
21
|
+
# Redistribution of this software, without modification, must refer to the software
|
22
|
+
# by the same designation. Redistribution of a modified version of this software
|
23
|
+
# (i) may not refer to the modified version by the same designation, or by any
|
24
|
+
# confusingly similar designation, and (ii) must refer to the underlying software
|
25
|
+
# originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
|
26
|
+
# the term “URBANopt”, or any confusingly similar designation may not be used to
|
27
|
+
# refer to any modified version of this software or any modified version of the
|
28
|
+
# underlying software originally provided by Alliance without the prior written
|
29
|
+
# consent of Alliance.
|
30
|
+
|
21
31
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
22
32
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
23
33
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
@@ -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>
|
7
|
-
<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>
|
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>
|
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>
|
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>
|
data/lib/urbanopt-geojson.rb
CHANGED
@@ -1,21 +1,31 @@
|
|
1
1
|
# *********************************************************************************
|
2
|
-
# URBANopt
|
2
|
+
# URBANopt™, Copyright (c) 2019-2021, 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,
|
6
6
|
# are permitted provided that the following conditions are met:
|
7
|
-
|
7
|
+
|
8
8
|
# Redistributions of source code must retain the above copyright notice, this list
|
9
9
|
# of conditions and the following disclaimer.
|
10
|
-
|
10
|
+
|
11
11
|
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
12
|
# list of conditions and the following disclaimer in the documentation and/or other
|
13
13
|
# materials provided with the distribution.
|
14
|
-
|
14
|
+
|
15
15
|
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
16
|
# used to endorse or promote products derived from this software without specific
|
17
17
|
# prior written permission.
|
18
|
-
|
18
|
+
|
19
|
+
# Redistribution of this software, without modification, must refer to the software
|
20
|
+
# by the same designation. Redistribution of a modified version of this software
|
21
|
+
# (i) may not refer to the modified version by the same designation, or by any
|
22
|
+
# confusingly similar designation, and (ii) must refer to the underlying software
|
23
|
+
# originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
|
24
|
+
# the term “URBANopt”, or any confusingly similar designation may not be used to
|
25
|
+
# refer to any modified version of this software or any modified version of the
|
26
|
+
# underlying software originally provided by Alliance without the prior written
|
27
|
+
# consent of Alliance.
|
28
|
+
|
19
29
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
30
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
31
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
data/lib/urbanopt/geojson.rb
CHANGED
@@ -1,21 +1,31 @@
|
|
1
1
|
# *********************************************************************************
|
2
|
-
# URBANopt
|
2
|
+
# URBANopt™, Copyright (c) 2019-2021, 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,
|
6
6
|
# are permitted provided that the following conditions are met:
|
7
|
-
|
7
|
+
|
8
8
|
# Redistributions of source code must retain the above copyright notice, this list
|
9
9
|
# of conditions and the following disclaimer.
|
10
|
-
|
10
|
+
|
11
11
|
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
12
|
# list of conditions and the following disclaimer in the documentation and/or other
|
13
13
|
# materials provided with the distribution.
|
14
|
-
|
14
|
+
|
15
15
|
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
16
|
# used to endorse or promote products derived from this software without specific
|
17
17
|
# prior written permission.
|
18
|
-
|
18
|
+
|
19
|
+
# Redistribution of this software, without modification, must refer to the software
|
20
|
+
# by the same designation. Redistribution of a modified version of this software
|
21
|
+
# (i) may not refer to the modified version by the same designation, or by any
|
22
|
+
# confusingly similar designation, and (ii) must refer to the underlying software
|
23
|
+
# originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
|
24
|
+
# the term “URBANopt”, or any confusingly similar designation may not be used to
|
25
|
+
# refer to any modified version of this software or any modified version of the
|
26
|
+
# underlying software originally provided by Alliance without the prior written
|
27
|
+
# consent of Alliance.
|
28
|
+
|
19
29
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
30
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
31
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|