mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
also fix type output in geocodejson for reverse
This commit is contained in:
@@ -36,7 +36,7 @@ if (empty($aPlace)) {
|
|||||||
$aFilteredPlaces['properties']['geocoding']['osm_id'] = $aPlace['osm_id'];
|
$aFilteredPlaces['properties']['geocoding']['osm_id'] = $aPlace['osm_id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$aFilteredPlaces['properties']['geocoding']['type'] = $aPlace['type'];
|
$aFilteredPlaces['properties']['geocoding']['type'] = addressRankToGeocodeJsonType($aPlace['rank_address']);
|
||||||
|
|
||||||
$aFilteredPlaces['properties']['geocoding']['accuracy'] = (int) $fDistance;
|
$aFilteredPlaces['properties']['geocoding']['accuracy'] = (int) $fDistance;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user