]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
Tested Version of new Tiger line storage format.
[nominatim.git] / lib / Geocode.php
index b57b6f950a46b2dc16fc4c74bd7f486b19014e44..8ea5600d7ba6ff1915d76d30a6d33a86e94e871d 100644 (file)
                                        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'";