]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/ReverseGeocode.php
test adjusting
[nominatim.git] / lib / ReverseGeocode.php
index 977c56f26c219e6df059dafee443e182480066b1..b69e6446eee299e80e5925665d5d1913fe98568b 100644 (file)
@@ -142,7 +142,7 @@ class ReverseGeocode
                 $sSQL .= ' FROM placex';
                 $sSQL .= ' WHERE osm_type = \'N\'';
                 if ($iRankAddress = 16){
                 $sSQL .= ' FROM placex';
                 $sSQL .= ' WHERE osm_type = \'N\'';
                 if ($iRankAddress = 16){
-                //  using rank_search beacause of a better differentiation for place nodes at rank_address 16
+                //  using rank_search because of a better differentiation for place nodes at rank_address 16
                     $sSQL .= ' AND rank_search > '.$iRankSearch;
                     $sSQL .= ' AND rank_search <= ' .Min(25, $iMaxRank);
                     $sSQL .= ' AND class = \'place\'';
                     $sSQL .= ' AND rank_search > '.$iRankSearch;
                     $sSQL .= ' AND rank_search <= ' .Min(25, $iMaxRank);
                     $sSQL .= ' AND class = \'place\'';