X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/bb1c3f23abe70a618851bdda27e8410b59ab7faf..8be702bf602118b19d4482566e4239c023b7fe54:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index de100fdc..f020a8b2 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -694,10 +694,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);