X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5042be1b72f9f3ed86b1242be8c93fad4ef87857..96c0b0e33be79cb00310022e17d7cd71cde75d6f:/lib/lib.php 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);