diff --git a/website/deletable.php b/website/deletable.php new file mode 100755 index 00000000..8d3fa823 --- /dev/null +++ b/website/deletable.php @@ -0,0 +1,103 @@ +'name' as name, i.* from placex, import_polygon_delete i where placex.osm_id = i.osm_id and placex.osm_type = i.osm_type and placex.class = i.class and placex.type = i.type"; + $aPolygons = $oDB->getAll($sSQL); + if (PEAR::isError($aPolygons)) + { + failInternalError("Could not get small viewbox.", $sSQL, $aPolygons); + } + + +//var_dump($aPolygons); +?> + + +
+ + + +Objects in this table have been deleted in OSM but are still in the Nominatim database.
+ +| ".$sCol." | "; + } + echo ""; + foreach($aPolygons as $aRow) + { + echo "||
|---|---|---|
| '.$sVal.' | '; + break; + case 'place_id': + echo ''.$sVal.' | '; + break; + default: + echo "".($sVal?$sVal:' ')." | "; + break; + } + } + echo "