x[b] = (int) mapways.get(i).getNd().get(b).getLocation().getX();
y[b] = (int) mapways.get(i).getNd().get(b).getLocation().getY();
}
buildings.add(new Building(new Polygon(x, y, nds), mapways.get(i).getTags()));
} else if (mapways.get(i).getTags().containsKey("waterway")) {
/* searching for waterways(riverbanks) * */
if (mapways.get(i).getTags().get("waterway").equals("riverbank")) {