]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/Geocode.php
use place_id instead of parent_place_id for excluded place_ids in interpolation lines...
[nominatim.git] / lib / Geocode.php
index e6e6e3eb7ec1208cd69a3ce264f3d2902f8db0c9..0c3c5f735c6bdbf43df1cabc49db8eaceb128d88 100644 (file)
 
                                                                        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);