mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
@@ -428,6 +428,7 @@ class PlaceLookup
|
|||||||
$aPlaces = $this->oDB->getAll($sSQL, null, 'Could not lookup place');
|
$aPlaces = $this->oDB->getAll($sSQL, null, 'Could not lookup place');
|
||||||
|
|
||||||
foreach ($aPlaces as &$aPlace) {
|
foreach ($aPlaces as &$aPlace) {
|
||||||
|
$aPlace['importance'] = (float) $aPlace['importance'];
|
||||||
if ($this->bAddressDetails) {
|
if ($this->bAddressDetails) {
|
||||||
// to get addressdetails for tiger data, the housenumber is needed
|
// to get addressdetails for tiger data, the housenumber is needed
|
||||||
$aPlace['address'] = new AddressDetails(
|
$aPlace['address'] = new AddressDetails(
|
||||||
|
|||||||
Reference in New Issue
Block a user