fix: typo

pull/61/head
Sami Mokaddem 2018-05-09 11:57:31 +02:00
parent 2ff3eabc47
commit f2c91c14e6
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class Geo_helper:
# adjust latitude and longitude to fit the limit, as specified
# by EPSG:900913 / EPSG:3785 / OSGEO:41001
# coord_list = [lat, lon]
def coordinate_list_valid(coord_list):
def coordinate_list_valid(self, coord_list):
lat = coord_list[0]
lon = coord_list[1]
if (-180 <= lon <= 180) and (-85.05112878 <= lat <= 85.05112878):