Update binary inspector

This commit is contained in:
Victor Shcherb 2012-05-26 15:06:57 +02:00
parent 1cfaf71c10
commit 5860d696ce

View file

@ -446,13 +446,13 @@ public class BinaryInspector {
for (int j = 0; j < cityType.length; j++) {
int type = cityType[j];
for (City c : index.getCities(region, null, type)) {
println("\t\t" + c + getId(c));
index.preloadStreets(c, null);
println("\t\t" + c + getId(c) + "("+c.getStreets().size()+")");
for (Street t : c.getStreets()) {
if (verbose.contains(t)) {
print("\t\t\t" + t.getName() + getId(t));
index.preloadBuildings(t, null);
print("\t\t\t" + t.getName() + getId(t) + "("+t.getBuildings().size()+")");
// if (type == BinaryMapAddressReaderAdapter.CITY_TOWN_TYPE) {
index.preloadBuildings(t, null);
List<Building> buildings = t.getBuildings();
if (buildings != null && !buildings.isEmpty()) {
print("\t\t (");