aboutsummaryrefslogtreecommitdiff
path: root/src/net/cbaines
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/cbaines')
-rw-r--r--src/net/cbaines/suma/DataManager.java8
-rw-r--r--src/net/cbaines/suma/MapActivity.java2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/net/cbaines/suma/DataManager.java b/src/net/cbaines/suma/DataManager.java
index 56dac5c..b4a0e3d 100644
--- a/src/net/cbaines/suma/DataManager.java
+++ b/src/net/cbaines/suma/DataManager.java
@@ -60,9 +60,7 @@ import org.xml.sax.XMLReader;
import android.content.Context;
import android.util.Log;
-import com.hp.hpl.jena.query.Dataset;
import com.hp.hpl.jena.rdf.model.Model;
-import com.hp.hpl.jena.rdf.model.ModelFactory;
import com.hp.hpl.jena.tdb.TDBFactory;
import com.j256.ormlite.android.apptools.OpenHelperManager;
import com.j256.ormlite.dao.Dao;
@@ -421,8 +419,10 @@ public class DataManager {
} else if (busRoute.id == 354) { // U9
busStop.routes = (byte) (busStop.routes | (1 << 4));
busStop.uniLink = true;
- } else {
- busStop.routes = 0;
+ }
+
+ if ((busStop.routes != 0) != busStop.uniLink || busStop.id.equals("SN120553")) {
+ Log.e(TAG, busStop.id + " " + busStop.routes + " " + busStop.uniLink);
}
// Log.v(TAG, "Stop routes " + busStop.routes);
diff --git a/src/net/cbaines/suma/MapActivity.java b/src/net/cbaines/suma/MapActivity.java
index ff61c4e..334f4d2 100644
--- a/src/net/cbaines/suma/MapActivity.java
+++ b/src/net/cbaines/suma/MapActivity.java
@@ -78,7 +78,7 @@ public class MapActivity extends OrmLiteBaseActivity<DatabaseHelper> implements
* Enable to use the database in the assets folder, if its not enabled, the
* database is built from the csv files in the assets folder
*/
- private boolean useBundledDatabase = true;
+ private boolean useBundledDatabase = false;
private MapView mapView;
private MapController mapController;