]> git.openstreetmap.org Git - nominatim.git/commitdiff
disable multipolygon output, too expensive
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 12 Apr 2013 21:26:58 +0000 (23:26 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 12 Apr 2013 21:26:58 +0000 (23:26 +0200)
website/search.php

index 6b09bb9ea5762f577bc07ae7ac52c9513120d030..d88d4f5d188e36ee21e1dddf0936965d23fc66a1 100755 (executable)
                                        {
                                                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;