From: Sarah Hoffmann Date: Fri, 12 Apr 2013 21:26:58 +0000 (+0200) Subject: disable multipolygon output, too expensive X-Git-Tag: deploy~622 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/dff4bd3e64b37a3cd9a92d0c02dde55081a5088a disable multipolygon output, too expensive --- diff --git a/website/search.php b/website/search.php index 6b09bb9e..d88d4f5d 100755 --- a/website/search.php +++ b/website/search.php @@ -1394,10 +1394,10 @@ { preg_match_all('/(-?[0-9.]+) (-?[0-9.]+)/',$aMatch[1],$aPolyPoints,PREG_SET_ORDER); } - elseif (preg_match('#MULTIPOLYGON\\(\\(\\(([- 0-9.,]+)#',$aPointPolygon['astext'],$aMatch)) + /*elseif (preg_match('#MULTIPOLYGON\\(\\(\\(([- 0-9.,]+)#',$aPointPolygon['astext'],$aMatch)) { preg_match_all('/(-?[0-9.]+) (-?[0-9.]+)/',$aMatch[1],$aPolyPoints,PREG_SET_ORDER); - } + }*/ elseif (preg_match('#POINT\\((-?[0-9.]+) (-?[0-9.]+)\\)#',$aPointPolygon['astext'],$aMatch)) { $fRadius = 0.01;