mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-15 15:34:07 +00:00
test adjusting
This commit is contained in:
@@ -142,7 +142,7 @@ class ReverseGeocode
|
||||
$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\'';
|
||||
|
||||
@@ -48,6 +48,8 @@ Feature: Reverse geocoding
|
||||
|
||||
Scenario: Location off the coast
|
||||
When sending jsonv2 reverse coordinates 54.046489113,8.5546870529
|
||||
| zoom |
|
||||
| 5 |
|
||||
Then results contain
|
||||
| display_name |
|
||||
| ^.*Hamburg, Deutschland |
|
||||
|
||||
Reference in New Issue
Block a user