]> git.openstreetmap.org Git - nominatim.git/commitdiff
add descriptive term for address rank 24
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 25 Sep 2020 14:02:17 +0000 (16:02 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 25 Sep 2020 14:02:17 +0000 (16:02 +0200)
With that term we have terms for all ranks, so that no generic
'administrative' term will show up in the address details anymore.

lib/ClassTypes.php

index f2c1ab84c56f270b59264c05180bb882c1415ae5..c8d37e5287d3097d429906ab832def1b96bbaf8f 100644 (file)
@@ -86,7 +86,8 @@ function getBoundaryLabel($iAdminLevel, $sCountry, $sFallback = 'Administrative'
                                            8 => 'City',
                                            9 => 'City District',
                                            10 => 'Suburb',
-                                           11 => 'Neighbourhood'
+                                           11 => 'Neighbourhood',
+                                           12 => 'City Block'
                                           ),
                              'no' => array (
                                       3 => 'State',