X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/fb0d219c7bc624693821cee87fd489798fe86e0a..aa9fff919900caafb276630b8ca4f1c1c598ab1c:/website/polygons.php?ds=sidebyside diff --git a/website/polygons.php b/website/polygons.php index 5a5be9f0..b9ce249d 100755 --- a/website/polygons.php +++ b/website/polygons.php @@ -1,5 +1,6 @@ getOne('select count(*) from import_polygon_error'); + $aPolygons = array(); - while(!sizeof($aPolygons)) + while($iTotalBroken && !sizeof($aPolygons)) { $sSQL = 'select osm_type as "type",osm_id as "id",class as "key",type as "value",name->\'name\' as "name",'; $sSQL .= 'country_code as "country",errormessage as "error message",updated'; @@ -39,12 +42,12 @@ - - - - Nominatim Broken Polygon Data - - + + + + Nominatim Broken Polygon Data + + @@ -83,6 +86,7 @@ table td { Total number of broken polygons: $iTotalBroken

"; echo ""; echo ""; //var_dump($aPolygons[0]);