X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3505417e3f4f027ae554a2f1ffdb7a8796d58f91..2bf546fbf4a4e3509978d3360060a3d2dc665c5c:/lib/lib.php?ds=inline diff --git a/lib/lib.php b/lib/lib.php index e283e836..d7ccf2d2 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -585,10 +585,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);