X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/189da9afb3659e194b545dd5a6d9de1b1033c72d..65c89194fccef562c544c05dbcef0d9e6ad16a0d:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index d77a82c1..458930fd 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -177,10 +177,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);