X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3d51c2a4e755808642c657e6bc93d4e692be1c04..12168e3ca9421ab1d0195507919c26ce029ce155:/website/polygons.php diff --git a/website/polygons.php b/website/polygons.php index b249ae03..4c1401ef 100755 --- a/website/polygons.php +++ b/website/polygons.php @@ -102,7 +102,6 @@ foreach ($aPolygons[0] as $sCol => $sVal) { echo ''.$sCol.''; } echo ' '; -echo ' '; echo ''; $aSeen = array(); foreach ($aPolygons as $aRow) { @@ -115,7 +114,7 @@ foreach ($aPolygons as $aRow) { if (preg_match('/Self-intersection\\[([0-9.\\-]+) ([0-9.\\-]+)\\]/', $sVal, $aMatch)) { $aRow['lat'] = $aMatch[2]; $aRow['lon'] = $aMatch[1]; - echo ''.($sVal?$sVal:' ').''; + echo ''.($sVal?$sVal:' ').''; } else { echo ''.($sVal?$sVal:' ').''; } @@ -128,12 +127,7 @@ foreach ($aPolygons as $aRow) { break; } } - echo 'josm'; - if (isset($aRow['lat'])) { - echo 'P2'; - } else { - echo ' '; - } + echo 'josm'; echo ''; } echo '';