fusetools.research_tools.Geography¶
-
class
fusetools.research_tools.Geography[source]¶ Bases:
objectFunctions for dealing with Geographical tasks.
Methods
Calculates the distance between two latitude/longitude coordinate pairs.
Calculates the latitude and longitude for a city.
- param addr
-
classmethod
calculate_distance(lat_from, lon_from, lat_to, lon_to)[source]¶ Calculates the distance between two latitude/longitude coordinate pairs.
- Parameters
lat_from – Latitude of the point being compared from.
lon_from – Longitude of the point being compared from.
lat_to – Latitude of the point being compared to.
lon_to – Longitude of the point being compared to.
- Returns
Calculated distance.