Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions docs/osm2pgsql-gen.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ mandatory for short options too.
Setting this to the number of available CPU cores is a reasonable starting
point.

\--middle-schema=SCHEMA
: Database schema where the `osm2pgsql_properties` table is to be found.
Default `public`. Set to the same value as on the `osm2pgsql` command
line.

# HELP/VERSION OPTIONS

-h, \--help
Expand Down Expand Up @@ -85,6 +80,16 @@ mandatory for short options too.
-P, \--port=PORT
: Database server port.

\--schema=SCHEMA
: Default for various schema settings throughout osm2pgsql-gen
(default: `public`). The schema must exist in the database and be writable
by the database user. It must be the same as used with `osm2pgsql`.

\--middle-schema=SCHEMA
: Database schema where the `osm2pgsql_properties` table is to be found.
Default set with `--schema`. Set to the same value as on the `osm2pgsql`
command line.

# SEE ALSO

* [osm2pgsql website](https://osm2pgsql.org)
Expand Down
16 changes: 12 additions & 4 deletions docs/osm2pgsql.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ mandatory for short options too.
-P, \--port=PORT
: Database server port.

\--schema=SCHEMA
: Default for various schema settings throughout osm2pgsql (default: `public`).
The schema must exist in the database and be writable by the database user.

# INPUT OPTIONS

-r, \--input-reader=FORMAT
Expand Down Expand Up @@ -164,8 +168,10 @@ mandatory for short options too.
as it doesn't work well with small imports. The default is disabled.

\--middle-schema=SCHEMA
: Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in
the middle (default is `public`).
: Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in the
middle. The schema must exist in the database and be writable by the
database user. By default the schema set with `--schema` is used, or
`public` if that is not set.

\--middle-way-node-index-id-shift=SHIFT
: Set ID shift for way node bucket index in middle. Experts only. See
Expand Down Expand Up @@ -274,8 +280,10 @@ mandatory for short options too.
different projection is used for the geometries.

\--output-pgsql-schema=SCHEMA
: Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in
the pgsql output (default is `public`).
: Use PostgreSQL schema SCHEMA for all tables, indexes, and functions in the
pgsql output. The schema must exist in the database and be writable by the
database user. By default the schema set with `--schema` is used, or
`public` if that is not set.

# EXPIRE OPTIONS

Expand Down