From: markigail Date: Thu, 19 May 2016 19:12:38 +0000 (+0200) Subject: use place_id instead of parent_place_id for excluded place_ids in interpolation lines... X-Git-Tag: v3.0.0~168 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/98e5ba6b6138cba14b3f36cf3ddfced39b5ef6ef use place_id instead of parent_place_id for excluded place_ids in interpolation lines query --- diff --git a/lib/Geocode.php b/lib/Geocode.php index e6e6e3eb..0c3c5f73 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -1481,7 +1481,7 @@ if (sizeof($this->aExcludePlaceIDs)) { - $sSQL .= " and parent_place_id not in (".join(',', $this->aExcludePlaceIDs).")"; + $sSQL .= " and place_id not in (".join(',', $this->aExcludePlaceIDs).")"; } //$sSQL .= " limit $this->iLimit"; if (CONST_Debug) var_dump($sSQL);