X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/3d51c2a4e755808642c657e6bc93d4e692be1c04..7b3fb232165fe81f14b09406676367785275c915:/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 '';