shared wall implementation bug fixing
This commit is contained in:
parent
9999c8a331
commit
882aaead16
@ -59,7 +59,7 @@ class City:
|
||||
return None
|
||||
|
||||
def add_city_object(self, new_city_object):
|
||||
if self.city_objects is None:
|
||||
if self._city_objects is None:
|
||||
self._city_objects = []
|
||||
for city_object in self.city_objects:
|
||||
# ToDo: Check for shared walls.
|
||||
|
@ -25,7 +25,7 @@ class Surface:
|
||||
self._parent = None
|
||||
self._shapely = None
|
||||
self._projected_surface = None
|
||||
self._shared_surfaces = None
|
||||
self._shared_surfaces = []
|
||||
self._global_irradiance_hour = np.zeros(8760)
|
||||
self._global_irradiance_month = np.zeros(12)
|
||||
|
||||
@ -139,12 +139,16 @@ class Surface:
|
||||
self._type = 'Roof'
|
||||
return self._type
|
||||
|
||||
def add_shared(self, surface):
|
||||
print(surface, self, 'are shared')
|
||||
self._shared_surfaces.append((100, surface))
|
||||
|
||||
def shared(self, surface):
|
||||
if self.type is not 'Wall':
|
||||
return
|
||||
if self._geometry.is_almost_same_surface(self, surface):
|
||||
self._shared_surfaces.append((100, surface))
|
||||
surface.shared(self)
|
||||
surface.add_shared(self)
|
||||
|
||||
@property
|
||||
def global_irradiance_hour(self):
|
||||
|
9
helpers/assumptions.py
Normal file
9
helpers/assumptions.py
Normal file
@ -0,0 +1,9 @@
|
||||
# These values are intended as configurable assumptions
|
||||
# ToDo: these values need to be changed into configurable parameters
|
||||
|
||||
# convective fluxes
|
||||
h_i = 10 # W/m2K
|
||||
h_e = 25 # W/m2K
|
||||
|
||||
# windows' default values
|
||||
frame_ratio = 0
|
@ -17,22 +17,22 @@ class Geometry:
|
||||
if abs(difference) > delta:
|
||||
return False
|
||||
# s1 and s2 are at least almost parallel surfaces
|
||||
p1 = s1.polygon.get_parametric()
|
||||
selected_coefficient = 0
|
||||
for coefficient in p1:
|
||||
if coefficient != 0:
|
||||
break;
|
||||
selected_coefficient += 1
|
||||
|
||||
# calculate distance point to plane
|
||||
# calculate distance point to plane using all the vertex
|
||||
# select surface1 value for the point (X,Y,Z) where two of the values are 0
|
||||
|
||||
s1_coefficient = -p1[3] / p1[selected_coefficient]
|
||||
p2 = s2.polygon.get_parametric()
|
||||
minimum_distance = 200000
|
||||
parametric = s2.polygon.get_parametric()
|
||||
n2 = s2.normal
|
||||
parametric = abs(p2[2] * s1_coefficient + p2[3])
|
||||
distance = parametric / math.sqrt(pow(n2[0], 2) + pow(n2[1], 2) + pow(n2[2], 2))
|
||||
return distance <= self._delta
|
||||
for point in s1.points:
|
||||
distance = abs(
|
||||
(point[0] * parametric[0]) + (point[1] * parametric[1]) + (point[2] * parametric[2]) + parametric[3])
|
||||
normal_module = math.sqrt(pow(n2[0], 2) + pow(n2[1], 2) + pow(n2[2], 2))
|
||||
if normal_module == 0:
|
||||
print(normal_module)
|
||||
continue
|
||||
distance = distance / normal_module
|
||||
if distance < minimum_distance:
|
||||
minimum_distance = distance
|
||||
return minimum_distance <= self._delta
|
||||
|
||||
@staticmethod
|
||||
def to_points_matrix(points, remove_last=False):
|
||||
|
130
tests/test_geometry_factory.py
Normal file
130
tests/test_geometry_factory.py
Normal file
@ -0,0 +1,130 @@
|
||||
from unittest import TestCase
|
||||
from pathlib import Path
|
||||
from geometry.geometry_factory import GeometryFactory
|
||||
|
||||
|
||||
class TestGeometryFactory(TestCase):
|
||||
def setUp(self) -> None:
|
||||
self._city_gml = None
|
||||
self._example_path = (Path(__file__).parent.parent / 'tests_data').resolve()
|
||||
|
||||
def get_citygml(self):
|
||||
if self._city_gml is None:
|
||||
file_path = (self._example_path / 'buildings.gml').resolve()
|
||||
self._city_gml = GeometryFactory('citygml', file_path).city
|
||||
self.assertIsNotNone(self._city_gml, 'city is none')
|
||||
return self._city_gml
|
||||
|
||||
def test_citygml_city(self):
|
||||
city = self.get_citygml()
|
||||
self.assertIsNotNone(city.city_objects, 'city_objects is none')
|
||||
for city_object in city.city_objects:
|
||||
self.assertIsNotNone(city.city_object(city_object.name), 'city_object return none')
|
||||
self.assertIsNotNone(city.srs_name, 'srs_name is none')
|
||||
self.assertIsNotNone(city.lower_corner, 'lower_corner is none')
|
||||
self.assertIsNotNone(city.upper_corner, 'upper_corner is none')
|
||||
self.assertIsNotNone(city.name, 'name is none')
|
||||
|
||||
def test_citygml_city_objects(self):
|
||||
city = self.get_citygml()
|
||||
for city_object in city.city_objects:
|
||||
self.assertIsNotNone(city_object.name, 'city_object name is none')
|
||||
self.assertIsNotNone(city_object.lod, 'city_object lod is none')
|
||||
self.assertIsNotNone(city_object.year_of_construction, 'city_object year_of_construction is none')
|
||||
self.assertIsNotNone(city_object.function, 'city_object function is none')
|
||||
self.assertIsNotNone(city_object.volume, 'city_object volume is none')
|
||||
self.assertIsNotNone(city_object.surfaces, 'city_object surfaces is none')
|
||||
self.assertIsNotNone(city_object.basement_heated, 'city_object basement_heated is none')
|
||||
self.assertIsNotNone(city_object.attic_heated, 'city_object attic_heated is none')
|
||||
self.assertIsNotNone(city_object.terrains, 'city_object terrains is none')
|
||||
self.assertIsNotNone(city_object.foot_print, 'city_object foot_print is none')
|
||||
self.assertIsNotNone(city_object.usage_zones, 'city_object usage_zones is none')
|
||||
self.assertIsNone(city_object.average_storey_height, 'city_object average_storey_height is not none')
|
||||
self.assertIsNone(city_object.storeys_above_ground, 'city_object storeys_above_ground is not none')
|
||||
|
||||
def test_citygml_surfaces(self):
|
||||
city = self.get_citygml()
|
||||
for city_object in city.city_objects:
|
||||
for surface in city_object.surfaces:
|
||||
self.assertIsNotNone(surface.name, 'surface name is none')
|
||||
self.assertIsNotNone(surface.area, 'surface area is none')
|
||||
self.assertIsNotNone(surface.type, 'surface type is none')
|
||||
self.assertIsNotNone(surface.azimuth, 'surface azimuth is none')
|
||||
self.assertIsNotNone(surface.inclination, 'surface inclination is none')
|
||||
self.assertIsNotNone(surface.area_below_ground, 'surface area_below_ground is none')
|
||||
self.assertIsNotNone(surface.area_above_ground, 'surface area_above_ground is none')
|
||||
self.assertIsNotNone(surface.points, 'surface points is none')
|
||||
self.assertIsNotNone(surface.points_list, 'surface points_list is none')
|
||||
self.assertIsNotNone(surface.polygon, 'surface polygon is none')
|
||||
self.assertIsNotNone(surface.shapely, 'surface shapely is none')
|
||||
self.assertIsNotNone(surface.global_irradiance_hour, 'surface global_irradiance_hour is none')
|
||||
self.assertIsNotNone(surface.global_irradiance_month, 'surface global_irradiance_month is none')
|
||||
self.assertIsNotNone(surface.normal, 'surface normal is none')
|
||||
self.assertIsNotNone(surface.projection, 'surface projection is none')
|
||||
self.assertIsNotNone(surface.swr, 'surface swr is none')
|
||||
|
||||
def test_citygml_thermal_zone(self):
|
||||
city = self.get_citygml()
|
||||
for city_object in city.city_objects:
|
||||
for thermal_zone in city_object.thermal_zones:
|
||||
self.assertIsNotNone(thermal_zone.surfaces, 'thermal_zone surfaces is none')
|
||||
self.assertIsNotNone(thermal_zone.bounded, 'thermal_zone bounded is none')
|
||||
self.assertIsNotNone(thermal_zone.floor_area, 'thermal_zone floor_area is none')
|
||||
self.assertIsNotNone(thermal_zone.heated, 'thermal_zone heated is none')
|
||||
self.assertIsNotNone(thermal_zone.cooled, 'thermal_zone cooled is none')
|
||||
self.assertIsNone(thermal_zone.additional_thermal_bridge_u_value,
|
||||
'thermal_zone additional_thermal_bridge_u_value is not none')
|
||||
self.assertIsNone(thermal_zone.effective_thermal_capacity,
|
||||
'thermal_zone effective_thermal_capacity is not none')
|
||||
self.assertIsNone(thermal_zone.indirectly_heated_area_ratio
|
||||
, 'thermal_zone indirectly_heated_area_ratio is not none')
|
||||
self.assertIsNone(thermal_zone.infiltration_rate_system_off,
|
||||
'thermal_zone infiltration_rate_system_off is not none')
|
||||
self.assertIsNone(thermal_zone.infiltration_rate_system_on,
|
||||
'thermal_zone infiltration_rate_system_on is not none')
|
||||
|
||||
def test_citygml_thermal_boundary(self):
|
||||
city = self.get_citygml()
|
||||
for city_object in city.city_objects:
|
||||
for thermal_zone in city_object.thermal_zones:
|
||||
for thermal_boundary in thermal_zone.bounded:
|
||||
self.assertIsNotNone(thermal_boundary.type, 'thermal_boundary type is none')
|
||||
self.assertIsNotNone(thermal_boundary.area, 'thermal_boundary area is none')
|
||||
self.assertIsNotNone(thermal_boundary.area_above_ground, 'thermal_boundary area_above_ground is none')
|
||||
self.assertIsNotNone(thermal_boundary.area_below_ground, 'thermal_boundary area_below_ground is none')
|
||||
self.assertIsNotNone(thermal_boundary.azimuth, 'thermal_boundary azimuth is none')
|
||||
self.assertIsNotNone(thermal_boundary.delimits, 'thermal_boundary delimits is none')
|
||||
self.assertIsNotNone(thermal_boundary.inclination, 'thermal_boundary inclination is none')
|
||||
self.assertRaises(Exception, lambda: thermal_boundary.u_value, 'thermal_boundary u_value was initialized')
|
||||
self.assertIsNone(thermal_boundary.layers, 'thermal_boundary layers was initialized')
|
||||
self.assertRaises(Exception, lambda: thermal_boundary.outside_solar_absorptance,
|
||||
'thermal_boundary outside_solar_absorptance was initialized')
|
||||
self.assertIsNone(thermal_boundary.outside_thermal_absorptance,
|
||||
'thermal_boundary outside_thermal_absorptance was initialized')
|
||||
self.assertIsNone(thermal_boundary.outside_thermal_absorptance,
|
||||
'thermal_boundary outside_thermal_absorptance was initialized')
|
||||
self.assertIsNone(thermal_boundary.outside_visible_absorptance,
|
||||
'thermal_boundary outside_visible_absorptance was initialized')
|
||||
self.assertRaises(Exception, lambda: thermal_boundary.shortwave_reflectance,
|
||||
'thermal_boundary shortwave_reflectance was initialized')
|
||||
self.assertRaises(Exception, lambda: thermal_boundary.window_area,
|
||||
'thermal_boundary window_area was initialized')
|
||||
self.assertIsNone(thermal_boundary.window_ratio, 'thermal_boundary window_ratio was initialized')
|
||||
|
||||
def test_citygml_thermal_opening(self):
|
||||
city = self.get_citygml()
|
||||
for city_object in city.city_objects:
|
||||
for thermal_zone in city_object.thermal_zones:
|
||||
for thermal_boundary in thermal_zone.bounded:
|
||||
for thermal_opening in thermal_boundary.thermal_openings:
|
||||
self.assertIsNone(thermal_opening.area, 'thermal_opening area was initialized')
|
||||
self.assertTrue(thermal_opening.frame_ratio == 0, 'thermal_opening frame_ratio was not 0')
|
||||
self.assertIsNone(thermal_opening.g_value, 'thermal_opening g_value was initialized')
|
||||
self.assertIsNone(thermal_opening.conductivity_w_mk, 'thermal_opening conductivity_w_mk was initialized')
|
||||
self.assertIsNone(thermal_opening.inside_reflectance, 'thermal_opening inside_reflectance was initialized')
|
||||
self.assertRaises(Exception, lambda: thermal_opening.openable_ratio,
|
||||
'thermal_opening openable_ratio is not raising an exception')
|
||||
self.assertIsNone(thermal_opening.outside_reflectance,
|
||||
'thermal_opening outside_reflectance was initialized')
|
||||
self.assertIsNone(thermal_opening.thickness_m, 'thermal_opening thickness_m was initialized')
|
||||
self.assertRaises(Exception, lambda:thermal_opening.u_value, 'thermal_opening u_value was initialized')
|
7
tests/test_physics_factory.py
Normal file
7
tests/test_physics_factory.py
Normal file
@ -0,0 +1,7 @@
|
||||
from unittest import TestCase
|
||||
|
||||
|
||||
class TestPhysicsFactory(TestCase):
|
||||
def test_us_new_york_city(self):
|
||||
self.assertTrue(True)
|
||||
|
626
tests_data/buildings.gml
Normal file
626
tests_data/buildings.gml
Normal file
@ -0,0 +1,626 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<CityModel>
|
||||
<name>Gowanus 2050 Best Practice Scenario</name>
|
||||
<boundedBy>
|
||||
<Envelope srsName="EPSG:32118" srsDimension="3" xmlns:brid="http://www.opengis.net/citygml/bridge/2.0" xmlns:tran="http://www.opengis.net/citygml/transportation/2.0" xmlns:frn="http://www.opengis.net/citygml/cityfurniture/2.0" xmlns:wtr="http://www.opengis.net/citygml/waterbody/2.0" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:veg="http://www.opengis.net/citygml/vegetation/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tun="http://www.opengis.net/citygml/tunnel/2.0" xmlns:tex="http://www.opengis.net/citygml/texturedsurface/2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:gen="http://www.opengis.net/citygml/generics/2.0" xmlns:dem="http://www.opengis.net/citygml/relief/2.0" xmlns:app="http://www.opengis.net/citygml/appearance/2.0" xmlns:luse="http://www.opengis.net/citygml/landuse/2.0" xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:smil20lang="http://www.w3.org/2001/SMIL20/Language" xmlns:pbase="http://www.opengis.net/citygml/profiles/base/2.0" xmlns:smil20="http://www.w3.org/2001/SMIL20/" xmlns:bldg="http://www.opengis.net/citygml/building/2.0" xmlns:core="http://www.opengis.net/citygml/2.0" xmlns:grp="http://www.opengis.net/citygml/cityobjectgroup/2.0">
|
||||
<lowerCorner>299606.4441129853 55348.37638737355 0</lowerCorner>
|
||||
<upperCorner>301879.9050504853 57594.05119206105 62.04879541695123</upperCorner>
|
||||
</Envelope>
|
||||
</boundedBy>
|
||||
<cityObjectMember>
|
||||
<Building id="GBP__169">
|
||||
<stringAttribute name="PLUTO_year_built">
|
||||
<value>1965</value>
|
||||
</stringAttribute>
|
||||
<stringAttribute name="PLUTO_building_class">
|
||||
<value>I1</value>
|
||||
</stringAttribute>
|
||||
<lod1Solid>
|
||||
<Solid srsName="EPSG:32118" srsDimension="3">
|
||||
<exterior>
|
||||
<CompositeSurface>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301010.4314176728 57301.3749225298 10.786276534199727 301004.1125700165 57288.87345768605 10.786276534199727 301024.4275114228 57311.0624225298 10.786276534199727 301010.4314176728 57301.3749225298 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301014.183859079 57308.78849674855 10.786276534199727 301010.4314176728 57301.3749225298 10.786276534199727 301024.4275114228 57311.0624225298 10.786276534199727 301014.183859079 57308.78849674855 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301004.1125700165 57288.87345768605 10.786276534199727 300992.0398161103 57285.56779362355 10.786276534199727 301000.3254606415 57281.3758990923 10.786276534199727 301004.1125700165 57288.87345768605 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301024.4275114228 57311.0624225298 10.786276534199727 301004.1125700165 57288.87345768605 10.786276534199727 301004.5266325165 57271.70548893605 10.786276534199727 301024.4275114228 57311.0624225298 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301000.3254606415 57281.3758990923 10.786276534199727 300997.2820036103 57275.3758990923 10.786276534199727 301004.5266325165 57271.70548893605 10.786276534199727 301000.3254606415 57281.3758990923 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301004.1125700165 57288.87345768605 10.786276534199727 301000.3254606415 57281.3758990923 10.786276534199727 301004.5266325165 57271.70548893605 10.786276534199727 301004.1125700165 57288.87345768605 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301017.183859079 57314.7147662798 10.786276534199727 301014.183859079 57308.78849674855 10.786276534199727 301024.4275114228 57311.0624225298 10.786276534199727 301017.183859079 57314.7147662798 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301005.9055387665 57312.9716022173 10.786276534199727 301002.1530973603 57305.55900456105 10.786276534199727 301014.183859079 57308.78849674855 10.786276534199727 301005.9055387665 57312.9716022173 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300995.8337614228 57293.0555865923 10.786276534199727 300992.0398161103 57285.56779362355 10.786276534199727 301004.1125700165 57288.87345768605 10.786276534199727 300995.8337614228 57293.0555865923 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301014.183859079 57308.78849674855 10.786276534199727 301002.1530973603 57305.55900456105 10.786276534199727 301010.4314176728 57301.3749225298 10.786276534199727 301014.183859079 57308.78849674855 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301005.9055387665 57312.9716022173 10.786276534199727 301005.9055387665 57312.9716022173 0.0 301002.1530973603 57305.55900456105 10.786276534199727 301005.9055387665 57312.9716022173 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301002.1530973603 57305.55900456105 10.786276534199727 301005.9055387665 57312.9716022173 0.0 301002.1530973603 57305.55900456105 0.0 301002.1530973603 57305.55900456105 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301017.183859079 57314.7147662798 0.0 301024.4275114228 57311.0624225298 0.0 301014.183859079 57308.78849674855 0.0 301017.183859079 57314.7147662798 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301005.9055387665 57312.9716022173 0.0 301014.183859079 57308.78849674855 0.0 301002.1530973603 57305.55900456105 0.0 301005.9055387665 57312.9716022173 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300995.8337614228 57293.0555865923 0.0 301004.1125700165 57288.87345768605 0.0 300992.0398161103 57285.56779362355 0.0 300995.8337614228 57293.0555865923 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301014.183859079 57308.78849674855 0.0 301010.4314176728 57301.3749225298 0.0 301002.1530973603 57305.55900456105 0.0 301014.183859079 57308.78849674855 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301010.4314176728 57301.3749225298 0.0 301024.4275114228 57311.0624225298 0.0 301004.1125700165 57288.87345768605 0.0 301010.4314176728 57301.3749225298 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301014.183859079 57308.78849674855 0.0 301024.4275114228 57311.0624225298 0.0 301010.4314176728 57301.3749225298 0.0 301014.183859079 57308.78849674855 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301024.4275114228 57311.0624225298 0.0 301004.5266325165 57271.70548893605 0.0 301004.1125700165 57288.87345768605 0.0 301024.4275114228 57311.0624225298 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301004.1125700165 57288.87345768605 0.0 301000.3254606415 57281.3758990923 0.0 300992.0398161103 57285.56779362355 0.0 301004.1125700165 57288.87345768605 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301000.3254606415 57281.3758990923 0.0 301004.5266325165 57271.70548893605 0.0 300997.2820036103 57275.3758990923 0.0 301000.3254606415 57281.3758990923 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301004.1125700165 57288.87345768605 0.0 301004.5266325165 57271.70548893605 0.0 301000.3254606415 57281.3758990923 0.0 301004.1125700165 57288.87345768605 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301014.183859079 57308.78849674855 10.786276534199727 301014.183859079 57308.78849674855 0.0 301005.9055387665 57312.9716022173 10.786276534199727 301014.183859079 57308.78849674855 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301005.9055387665 57312.9716022173 10.786276534199727 301014.183859079 57308.78849674855 0.0 301005.9055387665 57312.9716022173 0.0 301005.9055387665 57312.9716022173 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301017.183859079 57314.7147662798 10.786276534199727 301017.183859079 57314.7147662798 0.0 301014.183859079 57308.78849674855 10.786276534199727 301017.183859079 57314.7147662798 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301014.183859079 57308.78849674855 10.786276534199727 301017.183859079 57314.7147662798 0.0 301014.183859079 57308.78849674855 0.0 301014.183859079 57308.78849674855 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301002.1530973603 57305.55900456105 10.786276534199727 301002.1530973603 57305.55900456105 0.0 301010.4314176728 57301.3749225298 10.786276534199727 301002.1530973603 57305.55900456105 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301010.4314176728 57301.3749225298 10.786276534199727 301002.1530973603 57305.55900456105 0.0 301010.4314176728 57301.3749225298 0.0 301010.4314176728 57301.3749225298 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301024.4275114228 57311.0624225298 10.786276534199727 301024.4275114228 57311.0624225298 0.0 301017.183859079 57314.7147662798 10.786276534199727 301024.4275114228 57311.0624225298 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301017.183859079 57314.7147662798 10.786276534199727 301024.4275114228 57311.0624225298 0.0 301017.183859079 57314.7147662798 0.0 301017.183859079 57314.7147662798 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301004.5266325165 57271.70548893605 10.786276534199727 301004.5266325165 57271.70548893605 0.0 301024.4275114228 57311.0624225298 10.786276534199727 301004.5266325165 57271.70548893605 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301024.4275114228 57311.0624225298 10.786276534199727 301004.5266325165 57271.70548893605 0.0 301024.4275114228 57311.0624225298 0.0 301024.4275114228 57311.0624225298 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300997.2820036103 57275.3758990923 10.786276534199727 300997.2820036103 57275.3758990923 0.0 301004.5266325165 57271.70548893605 10.786276534199727 300997.2820036103 57275.3758990923 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301004.5266325165 57271.70548893605 10.786276534199727 300997.2820036103 57275.3758990923 0.0 301004.5266325165 57271.70548893605 0.0 301004.5266325165 57271.70548893605 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301010.4314176728 57301.3749225298 10.786276534199727 301010.4314176728 57301.3749225298 0.0 301004.1125700165 57288.87345768605 10.786276534199727 301010.4314176728 57301.3749225298 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301004.1125700165 57288.87345768605 10.786276534199727 301010.4314176728 57301.3749225298 0.0 301004.1125700165 57288.87345768605 0.0 301004.1125700165 57288.87345768605 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301004.1125700165 57288.87345768605 10.786276534199727 301004.1125700165 57288.87345768605 0.0 300995.8337614228 57293.0555865923 10.786276534199727 301004.1125700165 57288.87345768605 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300995.8337614228 57293.0555865923 10.786276534199727 301004.1125700165 57288.87345768605 0.0 300995.8337614228 57293.0555865923 0.0 300995.8337614228 57293.0555865923 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301000.3254606415 57281.3758990923 10.786276534199727 301000.3254606415 57281.3758990923 0.0 300997.2820036103 57275.3758990923 10.786276534199727 301000.3254606415 57281.3758990923 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300997.2820036103 57275.3758990923 10.786276534199727 301000.3254606415 57281.3758990923 0.0 300997.2820036103 57275.3758990923 0.0 300997.2820036103 57275.3758990923 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300995.8337614228 57293.0555865923 10.786276534199727 300995.8337614228 57293.0555865923 0.0 300992.0398161103 57285.56779362355 10.786276534199727 300995.8337614228 57293.0555865923 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300992.0398161103 57285.56779362355 10.786276534199727 300995.8337614228 57293.0555865923 0.0 300992.0398161103 57285.56779362355 0.0 300992.0398161103 57285.56779362355 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300992.0398161103 57285.56779362355 10.786276534199727 300992.0398161103 57285.56779362355 0.0 301000.3254606415 57281.3758990923 10.786276534199727 300992.0398161103 57285.56779362355 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>301000.3254606415 57281.3758990923 10.786276534199727 300992.0398161103 57285.56779362355 0.0 301000.3254606415 57281.3758990923 0.0 301000.3254606415 57281.3758990923 10.786276534199727</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
</CompositeSurface>
|
||||
</exterior>
|
||||
</Solid>
|
||||
</lod1Solid>
|
||||
<yearOfConstruction>1965</yearOfConstruction>
|
||||
<function>I1</function>
|
||||
</Building>
|
||||
</cityObjectMember>
|
||||
<cityObjectMember>
|
||||
<Building id="GBP__15">
|
||||
<stringAttribute name="PLUTO_year_built">
|
||||
<value>2045</value>
|
||||
</stringAttribute>
|
||||
<stringAttribute name="PLUTO_building_class">
|
||||
<value>I1</value>
|
||||
</stringAttribute>
|
||||
<lod1Solid>
|
||||
<Solid srsName="EPSG:32118" srsDimension="3">
|
||||
<exterior>
|
||||
<CompositeSurface>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300906.4538786103 56181.20939518605 7.9999997168779355 300897.539327829 56167.5155475298 7.9999997168779355 300906.4538786103 56181.20939518605 0.0 300906.4538786103 56181.20939518605 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300897.539327829 56167.5155475298 7.9999997168779355 300897.539327829 56167.5155475298 0.0 300906.4538786103 56181.20939518605 0.0 300897.539327829 56167.5155475298 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300883.334249704 56196.25919987355 7.9999997168779355 300861.299093454 56191.1053912798 7.9999997168779355 300897.539327829 56167.5155475298 7.9999997168779355 300883.334249704 56196.25919987355 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300906.4538786103 56181.20939518605 7.9999997168779355 300883.334249704 56196.25919987355 7.9999997168779355 300897.539327829 56167.5155475298 7.9999997168779355 300906.4538786103 56181.20939518605 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300896.0696012665 56215.82365299855 7.9999997168779355 300882.9489957978 56224.3641803423 7.9999997168779355 300883.334249704 56196.25919987355 7.9999997168779355 300896.0696012665 56215.82365299855 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300882.9489957978 56224.3641803423 7.9999997168779355 300861.299093454 56191.1053912798 7.9999997168779355 300883.334249704 56196.25919987355 7.9999997168779355 300882.9489957978 56224.3641803423 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300883.334249704 56196.25919987355 7.9999997168779355 300883.334249704 56196.25919987355 0.0 300896.0696012665 56215.82365299855 7.9999997168779355 300883.334249704 56196.25919987355 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300896.0696012665 56215.82365299855 7.9999997168779355 300883.334249704 56196.25919987355 0.0 300896.0696012665 56215.82365299855 0.0 300896.0696012665 56215.82365299855 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300883.334249704 56196.25919987355 7.9999997168779355 300906.4538786103 56181.20939518605 7.9999997168779355 300883.334249704 56196.25919987355 0.0 300883.334249704 56196.25919987355 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300906.4538786103 56181.20939518605 7.9999997168779355 300906.4538786103 56181.20939518605 0.0 300883.334249704 56196.25919987355 0.0 300906.4538786103 56181.20939518605 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300896.0696012665 56215.82365299855 0.0 300883.334249704 56196.25919987355 0.0 300882.9489957978 56224.3641803423 0.0 300896.0696012665 56215.82365299855 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300882.9489957978 56224.3641803423 0.0 300883.334249704 56196.25919987355 0.0 300861.299093454 56191.1053912798 0.0 300882.9489957978 56224.3641803423 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300883.334249704 56196.25919987355 0.0 300897.539327829 56167.5155475298 0.0 300861.299093454 56191.1053912798 0.0 300883.334249704 56196.25919987355 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300906.4538786103 56181.20939518605 0.0 300897.539327829 56167.5155475298 0.0 300883.334249704 56196.25919987355 0.0 300906.4538786103 56181.20939518605 0.0</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300882.9489957978 56224.3641803423 7.9999997168779355 300896.0696012665 56215.82365299855 7.9999997168779355 300882.9489957978 56224.3641803423 0.0 300882.9489957978 56224.3641803423 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300896.0696012665 56215.82365299855 7.9999997168779355 300896.0696012665 56215.82365299855 0.0 300882.9489957978 56224.3641803423 0.0 300896.0696012665 56215.82365299855 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300882.9489957978 56224.3641803423 7.9999997168779355 300882.9489957978 56224.3641803423 0.0 300861.299093454 56191.1053912798 7.9999997168779355 300882.9489957978 56224.3641803423 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300861.299093454 56191.1053912798 7.9999997168779355 300882.9489957978 56224.3641803423 0.0 300861.299093454 56191.1053912798 0.0 300861.299093454 56191.1053912798 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300897.539327829 56167.5155475298 7.9999997168779355 300861.299093454 56191.1053912798 7.9999997168779355 300897.539327829 56167.5155475298 0.0 300897.539327829 56167.5155475298 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
<surfaceMember>
|
||||
<Polygon>
|
||||
<exterior>
|
||||
<LinearRing>
|
||||
<posList>300861.299093454 56191.1053912798 7.9999997168779355 300861.299093454 56191.1053912798 0.0 300897.539327829 56167.5155475298 0.0 300861.299093454 56191.1053912798 7.9999997168779355</posList>
|
||||
</LinearRing>
|
||||
</exterior>
|
||||
</Polygon>
|
||||
</surfaceMember>
|
||||
</CompositeSurface>
|
||||
</exterior>
|
||||
</Solid>
|
||||
</lod1Solid>
|
||||
<yearOfConstruction>2045</yearOfConstruction>
|
||||
<function>I1</function>
|
||||
</Building>
|
||||
</cityObjectMember>
|
||||
</CityModel>
|
Loading…
Reference in New Issue
Block a user