diff --git a/mesa_geo/geospace.py b/mesa_geo/geospace.py index a2ab2b17..a77da950 100644 --- a/mesa_geo/geospace.py +++ b/mesa_geo/geospace.py @@ -37,9 +37,7 @@ def __init__(self, crs="epsg:3857"): """ self.crs = pyproj.CRS(crs) self.WGS84 = pyproj.CRS("epsg:4326") - self.Transformer = pyproj.Transformer.from_crs( - self.crs, self.WGS84, skip_equivalent=True, always_xy=True - ) + self.Transformer = pyproj.Transformer.from_crs(self.crs, self.WGS84, always_xy=True) self.bbox = None self._neighborhood = None @@ -95,9 +93,7 @@ def get_intersecting_agents(self, agent, other_agents=None): intersecting_agents = self.get_relation(agent, "intersects") return intersecting_agents - def get_neighbors_within_distance( - self, agent, distance, center=False, relation="intersects" - ): + def get_neighbors_within_distance(self, agent, distance, center=False, relation="intersects"): """Return a list of agents within `distance` of `agent`. Distance is measured as a buffer around the agent's shape,