change reverse_geocoder for openmaps api call

This commit is contained in:
Guille Gutierrez 2020-06-26 14:42:52 -04:00
parent b6bc582201
commit 5249a8fc76

View File

@ -42,7 +42,6 @@ class City:
transformer = Transformer.from_crs(input_reference, gps) transformer = Transformer.from_crs(input_reference, gps)
coordinates = transformer.transform(self.lower_corner[0], self.lower_corner[1]) coordinates = transformer.transform(self.lower_corner[0], self.lower_corner[1])
self._location = GeometryHelper.get_location(coordinates[0], coordinates[1]) self._location = GeometryHelper.get_location(coordinates[0], coordinates[1])
# rg.search(coordinates)
return self._location return self._location
@property @property