--- android/TrainInfoService/src/dk/thoerup/traininfoservice/DumpResultSet.java 2009/09/11 08:02:33 314 +++ android/TrainInfoService/src/dk/thoerup/traininfoservice/DumpResultSet.java 2009/11/01 16:35:48 492 @@ -96,10 +96,14 @@ "'Bane.dk Fjern' as banedk1, " + "'Bane.dk stog' as banedk2 " + "FROM trainstations ORDER BY id"); + } else if (dump.equals("disabled")) { + res = dumpResultset("SELECT * FROM trainstations WHERE enabled = false ORDER BY id"); + } else if (dump.equals("noaddress")) { + res = dumpResultset("SELECT * FROM trainstations WHERE address IS NULL or address = '' "); } } if (res == null) { - res = "All
All with links
Missing coords
Duplicate stations"; + res = "All
All with links
Missing coords
Duplicate stations
Disabled stations
No address"; } resp.setContentType("text/html");