mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
add search for postcode
Implements the 'postcode' operator.
This commit is contained in:
@@ -516,7 +516,7 @@ function _debugDumpGroupedSearches($aData, $aTokens)
|
||||
echo "<table border=\"1\">";
|
||||
echo "<tr><th>rank</th><th>Name Tokens</th><th>Name Not</th>";
|
||||
echo "<th>Address Tokens</th><th>Address Not</th><th>country</th>";
|
||||
echo "<th>operator</th><th>class</th><th>type</th><th>house#</th>";
|
||||
echo "<th>operator</th><th>class</th><th>type</th><th>postcode</th><th>house#</th>";
|
||||
echo "<th>Lat</th><th>Lon</th><th>Radius</th></tr>";
|
||||
foreach ($aData as $iRank => $aRankedSet) {
|
||||
foreach ($aRankedSet as $aRow) {
|
||||
@@ -561,6 +561,7 @@ function _debugDumpGroupedSearches($aData, $aTokens)
|
||||
echo "<td>".$aRow['sClass']."</td>";
|
||||
echo "<td>".$aRow['sType']."</td>";
|
||||
|
||||
echo "<td>".$aRow['sPostcode']."</td>";
|
||||
echo "<td>".$aRow['sHouseNumber']."</td>";
|
||||
|
||||
echo "<td>".$aRow['fLat']."</td>";
|
||||
|
||||
Reference in New Issue
Block a user