X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f2c15b73ad106e263b13bdfbd9eea28c7721d1a0..92061778f82345dce7138d79519d2ada5733dccd:/lib/lib.php?ds=sidebyside
diff --git a/lib/lib.php b/lib/lib.php
index fb89c48b..cdd6b5cb 100644
--- a/lib/lib.php
+++ b/lib/lib.php
@@ -548,10 +548,10 @@ function _debugDumpGroupedSearches($aData, $aTokens)
if ($aRow['oNear']) {
echo "
".$aRow['oNear']->lat()." | ";
echo "".$aRow['oNear']->lon()." | ";
+ echo "".$aRow['oNear']->radius()." | ";
} else {
- echo " | | ";
+ echo " | | | ";
}
- echo "".$aRow['fRadius']." | ";
echo "";
}
@@ -617,10 +617,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);