Package org.openstreetmap.osmosis.pgsnapshot.v0_6.impl

Examples of org.openstreetmap.osmosis.pgsnapshot.v0_6.impl.CopyFilesetBuilder


    DirectoryCopyFileset copyFileset;
   
    copyFileset = new DirectoryCopyFileset(filePrefix);
   
    copyFilesetBuilder =
      new CopyFilesetBuilder(copyFileset, enableBboxBuilder, enableLinestringBuilder, storeType);
  }
View Full Code Here


        populateBbox = capabilityChecker.isWayBboxSupported();
        populateLinestring = capabilityChecker.isWayLinestringSupported();       

        copyFilesetBuilder =
          new CopyFilesetBuilder(copyFileset, populateBbox, populateLinestring, storeType);
       
        copyFilesetLoader = new CopyFilesetLoader(loginCredentials, preferences, copyFileset);
       
        LOG.fine("Processing input data, building geometries and creating database load files.");
       
View Full Code Here

    factoryMap.put("tp", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wpd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wpc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsql-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change-0.6", new PostgreSqlChangeWriterFactory());
   
    return factoryMap;
  }
View Full Code Here

  public Map<String, TaskManagerFactory> loadTaskFactories() {
    Map<String, TaskManagerFactory> factoryMap;
   
    factoryMap = new HashMap<String, TaskManagerFactory>();
   
    factoryMap.put("write-pgsql", new PostgreSqlCopyWriterFactory());
    factoryMap.put("wp", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql", new PostgreSqlTruncatorFactory());
    factoryMap.put("tp", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wpd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wpc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsql-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change-0.6", new PostgreSqlChangeWriterFactory());
   
View Full Code Here

    factoryMap.put("wp", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql", new PostgreSqlTruncatorFactory());
    factoryMap.put("tp", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wpd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wpc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsql-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change-0.6", new PostgreSqlChangeWriterFactory());
   
    return factoryMap;
  }
View Full Code Here

   
    factoryMap.put("write-pgsql", new PostgreSqlCopyWriterFactory());
    factoryMap.put("wp", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql", new PostgreSqlTruncatorFactory());
    factoryMap.put("tp", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wpd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wpc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsql-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change-0.6", new PostgreSqlChangeWriterFactory());
   
    return factoryMap;
  }
View Full Code Here

   
    factoryMap = new HashMap<String, TaskManagerFactory>();
   
    factoryMap.put("write-pgsql", new PostgreSqlCopyWriterFactory());
    factoryMap.put("wp", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql", new PostgreSqlTruncatorFactory());
    factoryMap.put("tp", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump", new PostgreSqlDumpWriterFactory());
    factoryMap.put("wpd", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("rp", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change", new PostgreSqlChangeWriterFactory());
    factoryMap.put("wpc", new PostgreSqlChangeWriterFactory());
   
    factoryMap.put("write-pgsql-0.6", new PostgreSqlCopyWriterFactory());
    factoryMap.put("truncate-pgsql-0.6", new PostgreSqlTruncatorFactory());
    factoryMap.put("write-pgsql-dump-0.6", new PostgreSqlDumpWriterFactory());
    factoryMap.put("read-pgsql-0.6", new PostgreSqlDatasetReaderFactory());
    factoryMap.put("write-pgsql-change-0.6", new PostgreSqlChangeWriterFactory());
   
    return factoryMap;
View Full Code Here

      DatabasePreferences preferences, boolean keepInvalidWays) {
    dbCtx = new DatabaseContext(loginCredentials);
    changeWriter = new ChangeWriter(dbCtx);
    actionWriterMap = new HashMap<ChangeAction, ActionChangeWriter>();
    actionWriterMap.put(ChangeAction.Create,
        new ActionChangeWriter(changeWriter, ChangeAction.Create, keepInvalidWays));
    actionWriterMap.put(ChangeAction.Modify,
        new ActionChangeWriter(changeWriter, ChangeAction.Modify, keepInvalidWays));
    actionWriterMap.put(ChangeAction.Delete,
        new ActionChangeWriter(changeWriter, ChangeAction.Delete, keepInvalidWays));
   
    schemaVersionValidator = new SchemaVersionValidator(dbCtx.getJdbcTemplate(), preferences);
   
    initialized = false;
  }
View Full Code Here

   *            database which can cause problems with postgis functions.
   */
  public PostgreSqlChangeWriter(DatabaseLoginCredentials loginCredentials,
      DatabasePreferences preferences, boolean keepInvalidWays) {
    dbCtx = new DatabaseContext(loginCredentials);
    changeWriter = new ChangeWriter(dbCtx);
    actionWriterMap = new HashMap<ChangeAction, ActionChangeWriter>();
    actionWriterMap.put(ChangeAction.Create,
        new ActionChangeWriter(changeWriter, ChangeAction.Create, keepInvalidWays));
    actionWriterMap.put(ChangeAction.Modify,
        new ActionChangeWriter(changeWriter, ChangeAction.Modify, keepInvalidWays));
View Full Code Here

    DirectoryCopyFileset copyFileset;
   
    copyFileset = new DirectoryCopyFileset(filePrefix);
   
    copyFilesetBuilder =
      new CopyFilesetBuilder(copyFileset, enableBboxBuilder, enableLinestringBuilder, storeType, keepInvalidWays);
  }
View Full Code Here

TOP

Related Classes of org.openstreetmap.osmosis.pgsnapshot.v0_6.impl.CopyFilesetBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.