mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
add address rank to XML output
The address rank is much more interesting than the search rank these days because it tells something about the kind of object. Reverse did have neither rank, so add both for consistency.
This commit is contained in:
@@ -28,6 +28,9 @@ if (empty($aPlace)) {
|
||||
echo join(',', $aPlace['aBoundingBox']);
|
||||
echo '"';
|
||||
}
|
||||
echo " place_rank='".$aPlace['rank_search']."'";
|
||||
echo " address_rank='".$aPlace['rank_address']."'";
|
||||
|
||||
|
||||
if (isset($aPlace['asgeojson'])) {
|
||||
echo ' geojson=\'';
|
||||
|
||||
Reference in New Issue
Block a user