Fix y coordinate

This commit is contained in:
antoniocarlon 2018-05-09 13:40:26 +02:00
parent 92155b6b33
commit 78a7ccbe4b

View File

@ -12,7 +12,7 @@ def tile2lnglat(z, x, y):
return lon, lat
lon0, lat0 = tile2lnglat(z, x, y)
lon1, lat1 = tile2lnglat(z, x+1, y+1)
lon1, lat1 = tile2lnglat(z, x+1, y-1)
return [lon0, lat0, lon1, lat1]
$$ LANGUAGE plpythonu;