2 header("content-type: text/html; charset=UTF-8");
3 include(CONST_BasePath.'/lib/template/includes/html-header.php');
5 <title>Nominatim Deleted Data</title>
6 <meta name="description" content="List of OSM data that has been deleted" lang="en-US" />
10 <div class="container">
13 <?php echo sizeof($aPolygons) ?> objects have been deleted in OSM but are still in the Nominatim database.
14 Also available in <a href="<?php echo CONST_Website_BaseURL; ?>deletable.php?format=json">JSON format</a>.
17 <table class="table table-striped table-hover">
20 if (!empty($aPolygons)) {
22 foreach (array_keys($aPolygons[0]) as $sCol) {
23 echo '<th>'.$sCol.'</th>';
26 foreach ($aPolygons as $aRow) {
28 foreach ($aRow as $sCol => $sVal) {
31 echo '<td>'.osmLink($aRow).'</td>';
34 echo '<td>'.detailsLink($aRow).'</td>';
37 echo '<td>'.($sVal?$sVal:' ').'</td>';