Tested Version of new Tiger line storage format.

This commit is contained in:
Markus Gail
2016-03-17 14:21:17 +01:00
parent 46cef36184
commit 291fdd1894
4 changed files with 7 additions and 7 deletions

View File

@@ -1613,7 +1613,7 @@
if (isset($aResultPlaceIDs) && sizeof($aResultPlaceIDs) && ($this->iMinAddressRank != 0 || $this->iMaxAddressRank != 30))
{
// Need to verify passes rank limits before dropping out of the loop (yuk!)
// reduces the number of place id, like a filter
// reduces the number of place ids, like a filter
$sSQL = "select place_id from placex where place_id in (".join(',',array_keys($aResultPlaceIDs)).") ";
$sSQL .= "and (placex.rank_address between $this->iMinAddressRank and $this->iMaxAddressRank ";
if (14 >= $this->iMinAddressRank && 14 <= $this->iMaxAddressRank) $sSQL .= " OR (extratags->'place') = 'city'";