public void loadFeatures() {
        //try to get the features
    	try {
			readFeatures();
		} catch (Exception e) {
			// do nothing
		}
		if(features == null || features.size() == 0) {
			extractFeatures();
		}
    }