change reverse_geocoder for openmaps api call
This commit is contained in:
parent
160ca22754
commit
79a8b9f9d6
|
@ -67,7 +67,6 @@ class Polyhedron:
|
|||
for point in points:
|
||||
face.append(self._position_of(point))
|
||||
self._faces.append(face)
|
||||
#self._faces = np.asarray(self._faces)
|
||||
return self._faces
|
||||
|
||||
@property
|
||||
|
|
|
@ -381,7 +381,9 @@ class Surface:
|
|||
if self._is_projected:
|
||||
return self
|
||||
if self._projected_surface is None:
|
||||
self._projected_surface = self._polygon_to_surface(self.shapely)
|
||||
shapely = self.shapely
|
||||
if shapely is not None:
|
||||
self._projected_surface = self._polygon_to_surface(shapely)
|
||||
return self._projected_surface
|
||||
|
||||
def intersect(self, surface) -> Union[Surface, None]:
|
||||
|
|
|
@ -135,7 +135,6 @@ class CityGml:
|
|||
ground = ground and self._geometry.almost_equal(row, ground_point)
|
||||
if ground:
|
||||
ground_points = self._geometry.to_points_matrix(ground_points)
|
||||
# Do i need to remove the duplicated?
|
||||
terrains.append(ground_points)
|
||||
return surfaces
|
||||
|
||||
|
|
|
@ -20,7 +20,8 @@ class GeometryHelper:
|
|||
def __init__(self, delta=0.5):
|
||||
self._delta = delta
|
||||
|
||||
def adjacent_locations(self, location1, location2):
|
||||
@staticmethod
|
||||
def adjacent_locations(location1, location2):
|
||||
"""
|
||||
Determine when two buildings may be adjacent or not based in the dis
|
||||
:param location1:
|
||||
|
|
Loading…
Reference in New Issue
Block a user