Skip to content

Commit ec80ed1

Browse files
authored
Merge pull request #1866 from joto/deprecate-gazetteer-output
Mark gazetteer output as deprecated
2 parents 71a47d0 + 6888079 commit ec80ed1

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ to install and run osm2pgsql.
2020
* Can apply diffs to keep the database up to date
2121
* Support the choice of output projection
2222
* Configurable table names
23-
* Gazetteer back-end for [Nominatim](https://wiki.openstreetmap.org/wiki/Nominatim)
2423
* Support for hstore field type to store the complete set of tags in one database
2524
field if desired
2625

src/options.cpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,8 @@ Common options:\n\
119119
-O|--output=OUTPUT Set output. Options are:\n\
120120
pgsql - Output to a PostGIS database (default)\n\
121121
flex - More flexible output to PostGIS database\n\
122-
multi - Multiple Custom Table Output to a PostGIS \n\
123-
database (deprecated)\n\
124122
gazetteer - Output to a PostGIS database for Nominatim\n\
123+
(deprecated)\n\
125124
null - No output. Used for testing.\n\
126125
-S|--style=FILE Location of the style file. Defaults to\n\
127126
'" DEFAULT_STYLE "'.\n\
@@ -422,6 +421,9 @@ static void parse_log_progress_param(char const *arg)
422421

423422
static bool parse_with_forward_dependencies_param(char const *arg)
424423
{
424+
log_warn("The option --with-forward-dependencies is deprecated and will "
425+
"soon be removed.");
426+
425427
if (std::strcmp(arg, "false") == 0) {
426428
return false;
427429
}
@@ -762,4 +764,9 @@ void options_t::check_options()
762764
"You have to set the config file with the -S|--style option."};
763765
}
764766
}
767+
768+
if (output_backend == "gazetteer") {
769+
log_warn(
770+
"The 'gazetteer' output is deprecated and will soon be removed.");
771+
}
765772
}

0 commit comments

Comments
 (0)