X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/9fcec310004979483b4cde645b7fe442ca53adb9..c0d9ba7e0cca0e1ec0ebd6764c5d5c871e5e443b:/website/search.php?ds=sidebyside diff --git a/website/search.php b/website/search.php index f7187404..1d544df4 100755 --- a/website/search.php +++ b/website/search.php @@ -1220,6 +1220,10 @@ { preg_match_all('/(-?[0-9.]+) (-?[0-9.]+)/',$aMatch[1],$aPolyPoints,PREG_SET_ORDER); } + elseif (preg_match('#MULTIPOLYGON\\(\\(\\(([- 0-9.,]+)#',$aPointPolygon['outlinestring'],$aMatch)) + { + preg_match_all('/(-?[0-9.]+) (-?[0-9.]+)/',$aMatch[1],$aPolyPoints,PREG_SET_ORDER); + } elseif (preg_match('#POINT\\((-?[0-9.]+) (-?[0-9.]+)\\)#',$aPointPolygon['outlinestring'],$aMatch)) { $fRadius = 0.01;