X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/7caa67d8ecb622c6f6fe300156a820f71101e61a..08f77067cb4b32c91f991924ff718a0508f0fbef:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index afcc3c7f..9bf15964 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -584,10 +584,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);