From: Sarah Hoffmann Date: Mon, 20 Mar 2023 19:47:42 +0000 (+0100) Subject: minor adjustment to reverse zoom translation X-Git-Tag: v4.3.0~89^2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/5e5cff897f2c503b99a054cc053310ab08170655?ds=inline;hp=-c minor adjustment to reverse zoom translation Add a 'village' zoom level at 13 between town and neighbourhood and a all locality-like objects for zoom 15. These zoom levels had the same behaviour as the lower level so far. However, the distinction for village and locality may be useful at times. --- 5e5cff897f2c503b99a054cc053310ab08170655 diff --git a/docs/api/Reverse.md b/docs/api/Reverse.md index c133750c..56281d06 100644 --- a/docs/api/Reverse.md +++ b/docs/api/Reverse.md @@ -92,7 +92,10 @@ In terms of address details the zoom levels are as follows: 5 | state 8 | county 10 | city - 14 | suburb + 12 | town / borough + 13 | village / suburb + 14 | neighbourhood + 15 | locality 16 | major streets 17 | major and minor streets 18 | building diff --git a/lib-php/ReverseGeocode.php b/lib-php/ReverseGeocode.php index 712f1480..fddad60d 100644 --- a/lib-php/ReverseGeocode.php +++ b/lib-php/ReverseGeocode.php @@ -40,10 +40,10 @@ class ReverseGeocode 9 => 12, 10 => 17, // City 11 => 17, - 12 => 18, // Town / Village - 13 => 18, - 14 => 22, // Suburb - 15 => 22, + 12 => 18, // Town + 13 => 19, // Village + 14 => 22, // Neighbourhood + 15 => 25, // Locality 16 => 26, // major street 17 => 27, // minor street 18 => 30, // or >, Building