File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Multi Backend #
22
3+ ** WARNING: the multi backend is deprecated and will be removed in future versions
4+ of osm2pgsql.**
5+
36The multi backend is designed for custom table structures as an alternative
47to the standard [ pgsql] ( pgsql.md ) backend tables. It is intended to allow
58the configuration of a custom set of tables with hopefully fewer rows and fewer
Original file line number Diff line number Diff line change @@ -152,14 +152,14 @@ Create a tile expiry list.
152152Output file name for expired tiles list.
153153.TP
154154\fB \- O \fR |\-\- output
155- Specifies the output back\- end or database schema to use. Currently
156- osm2pgsql supports \fB pgsql \fR , \fB gazetteer \fR and \fB null \fR . \fB pgsql \fR is
155+ Specifies the output back\- end or database schema to use. Currently osm2pgsql
156+ supports \fB pgsql \fR , \fB flex \fR , \fB gazetteer \fR and \fB null \fR . \fB pgsql \fR is
157157the default output back\- end / schema and is optimized for rendering with Mapnik.
158158\fB gazetteer \fR is a db schema optimized for geocoding and is used by Nominatim.
159- The \fB multi \fR backend allows more customization of tables. The experimental
160- \fB flex \fR backend allows more flexible configuration.
159+ The experimental \fB flex \fR backend allows more flexible configuration.
161160\fB null \fR does not write any output and is only useful for testing or with
162- \-\- slim for creating slim tables.
161+ \-\- slim for creating slim tables. There is also a \fB multi \fR backend. This is
162+ now deprecated and will be removed in future versions of osm2pgsql.
163163.TP
164164\fB \- x \fR |\-\- extra\- attributes
165165Include attributes for each object in the database.
Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ use them.
1515
1616* ` --output ` specifies if the output backend is the default
1717 [ ` pgsql ` ] ( pgsql.md ) , the [ ` gazetteer ` ] ( gazetteer.md ) output used by Nominatim,
18- the new [ ` multi ` ] ( multi .md) backend which allows more customization of tables,
18+ the new [ ` flex ` ] ( flex .md) backend which allows more customization of tables,
1919 or ` null ` , which emits no output to the backend.
20+ There also is a [ ` multi ` ] ( multi.md ) backend. This is now deprecated and
21+ will be removed in future versions of osm2pgsql.
2022
2123 ` null ` will create slim tables if ` --slim ` is also used.
2224
Original file line number Diff line number Diff line change @@ -435,6 +435,11 @@ options_t::options_t(int argc, char *argv[]) : options_t()
435435 break ;
436436 case ' O' :
437437 output_backend = optarg;
438+ if (output_backend == " multi" ) {
439+ fprintf (stderr,
440+ " WARNING: 'multi' output is deprecated and will be removed.\n "
441+ " Please switch to the 'flex' output.\n " );
442+ }
438443 break ;
439444 case ' x' :
440445 extra_attributes = true ;
You can’t perform that action at this time.
0 commit comments