from nominatim.errors import UsageError
from nominatim.data.place_info import PlaceInfo
from nominatim.tokenizer.base import AbstractAnalyzer, AbstractTokenizer
from nominatim.errors import UsageError
from nominatim.data.place_info import PlaceInfo
from nominatim.tokenizer.base import AbstractAnalyzer, AbstractTokenizer
def add_tiger_data(data_dir: str, config: Configuration, threads: int,
def add_tiger_data(data_dir: str, config: Configuration, threads: int,
with connect(dsn) as conn:
sql = SQLPreprocessor(conn, config)
with connect(dsn) as conn:
sql = SQLPreprocessor(conn, config)
with connect(dsn) as conn:
sql = SQLPreprocessor(conn, config)
sql.run_sql_file(conn, 'tiger_import_finish.sql')
with connect(dsn) as conn:
sql = SQLPreprocessor(conn, config)
sql.run_sql_file(conn, 'tiger_import_finish.sql')