X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/d68996127d70855f29035490e7e4eeb75f8dae8c..e929399d4dd23fa1571dd77cf489ef51d716f5cc:/lib/lib.php diff --git a/lib/lib.php b/lib/lib.php index a749cb6b..0f87c37e 100644 --- a/lib/lib.php +++ b/lib/lib.php @@ -174,10 +174,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);