X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/32f6ddf6dbd6972610e244d6a603aa16f62321ac..64185ff94c6087eb7046f509f748e7b4e270ae65:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index 48ed0ffb..cdd6b5cb 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -617,10 +617,10 @@ function geometryText2Points($geometry_as_text, $fRadius) // preg_match_all('/(-?[0-9.]+) (-?[0-9.]+)/', $aMatch[1], $aPolyPoints, PREG_SET_ORDER); // - } elseif (preg_match('#MULTIPOLYGON\\(\\(\\(([- 0-9.,]+)#', $geometry_as_text, $aMatch)) { +/* } elseif (preg_match('#MULTIPOLYGON\\(\\(\\(([- 0-9.,]+)#', $geometry_as_text, $aMatch)) { // preg_match_all('/(-?[0-9.]+) (-?[0-9.]+)/', $aMatch[1], $aPolyPoints, PREG_SET_ORDER); - // + */ } elseif (preg_match('#POINT\\((-?[0-9.]+) (-?[0-9.]+)\\)#', $geometry_as_text, $aMatch)) { // $aPolyPoints = createPointsAroundCenter($aMatch[1], $aMatch[2], $fRadius);