1 # SPDX-License-Identifier: GPL-3.0-or-later
3 # This file is part of Nominatim. (https://nominatim.org)
5 # Copyright (C) 2024 by the Nominatim developer community.
6 # For a full list of authors see the git log.
10 def osm2pgsql_options(temp_db):
11 """ A standard set of options for osm2pgsql.
13 return dict(osm2pgsql='echo',
15 osm2pgsql_style='style.file',
17 dsn='dbname=' + temp_db,
19 tablespaces=dict(slim_data='', slim_index='',
20 main_data='', main_index=''))