private void initialize() {
if (!initialized) {
DatabaseContext dbCtx;
DatabaseCapabilityChecker capabilityChecker;
LOG.fine("Initializing the database and temporary processing files.");
dbCtx = new DatabaseContext(loginCredentials);
try {
capabilityChecker = new DatabaseCapabilityChecker(dbCtx);
populateBbox = capabilityChecker.isWayBboxSupported();
populateLinestring = capabilityChecker.isWayLinestringSupported();
copyFilesetBuilder =
new CopyFilesetBuilder(copyFileset, populateBbox, populateLinestring, storeType);
copyFilesetLoader = new CopyFilesetLoader(loginCredentials, preferences, copyFileset);