diff --git a/initdb/02_3_3_signalk_public_functions_py.sql b/initdb/02_3_3_signalk_public_functions_py.sql index 2dc252b..53f96b3 100644 --- a/initdb/02_3_3_signalk_public_functions_py.sql +++ b/initdb/02_3_3_signalk_public_functions_py.sql @@ -77,7 +77,7 @@ AS $reverse_geocode_py$ else: if (zoom == 15): plpy.notice('georeverse recursive retry with lower zoom than:[{}], Response [{}]'.format(zoom , r.json())) - return georeverse(geocoder, lon, lat, 14) + return { "name": "n/a", "country_code": country_code } else: plpy.notice('georeverse recursive retry with lower zoom than:[{}], Response [{}]'.format(zoom , r.json())) return georeverse(geocoder, lon, lat, 15)