public void readOSM(File file){
  if (file.exists()) {
    streetLayer.openOSM(file);
  }
 else {
    LOG.info("osm.mapdb doesn't exist in graph folder. This means that street names won't be shown");
  }
}

public void readOSM ( File file ) { if ( file . exists ( ) ) { streetLayer . openOSM ( file ) ; } else { LOG . info ( "osm.mapdb doesn't exist in graph folder. This means that street names won't be shown" ) ; } }
opens osm mapdb database if it exists otherwise it prints a warning osm mapdb is used for names of streets . since they are needed only in display of paths . they aren ' t saved in street layer .
