]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
move place=isolated_dwelling up to the same rank as place=locality
[nominatim.git] / website / search.php
index 4a75c768809b14b6a6204a1be4fae4e500534aab..37ddd23c4118c9885cfc54397745f4c7a270bc9a 100755 (executable)
                                }
                        }
                        if ($bSuggestion) $sSuggestion = join(', ',$aSuggestion);
-/*
+
                        // Try and calculate GB postcodes we might be missing
                        foreach($aTokens as $sToken)
                        {
                                        }
                                }
                        }
-*/
 
                        foreach($aTokens as $sToken)
                        {
                                }
 
                                // Output data suitable for display (points and a bounding box)
-                               if ($bShowPolygons)
+                               if ($bShowPolygons && isset($aPolyPoints))
                                {
                                        $aResult['aPolyPoints'] = array();
                                        foreach($aPolyPoints as $aPoint)