X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/81a7ea36db7d3b055acf25a36d2ea2c27af74765..2e6f5ba7e68d52aff93775ebffcdb5c59f7f65df:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index a5439ef2..b7564c7f 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -613,10 +613,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);