''

def __init__(self, layer, database, username, password=None, hostname=None, table_prefix='mirrorosm', api_base='http://open.mapquestapi.com/xapi/', osm2pgsql='osm2pgsql    --utf8-sanitize'):

    self.layer = layer
    self.dbkwargs = {'database': database}
    self.api_base = api_base
    self.prefix = table_prefix
    self.osm2pgsql = osm2pgsql
    if hostname:
        self.dbkwargs['host'] = hostname
    if username:
        self.dbkwargs['user'] = username
    if password:
        self.dbkwargs['password'] = password
