Skip to main content Link Search Menu Expand Document (external link)

gol load 2.1

Imports tiles into a Geo-Object Library from a Geo-Object Bundle.

Usage:

gol load <gol-file> <gob-file> [<options>]

If no area is defined (via --area or --bbox), all tiles that aren’t already present in the Library are imported from the Bundle.

The Library and the Bundle must have the same tileset ID.

By default, the IDs of untagged nodes that don’t belong to relations (i.e. nodes that merely define the geometry of ways) are omitted from the GOL, reducing its size. To include these IDs, use option --waynode-ids.

Options

-a, --area <COORDS> | <FILE>

Defines the (multi)polygon area to which the command should be applied. The following coordinate formats are supported:

  • GeoJSON

  • WKT

  • Raw coordinates in the form lon_0, lat_0, ... , lon_n, lat_n. To specify multiple polygons, or a polygon with one or more “holes,” place each ring in parentheses. Rings do not need to be closed.

You can specify coordinate values directly, or via a file.

-b, --bbox <W>,<S>,<E>,<N>

Defines the rectangular area (bounding box) to which the command should be applied. Coordinates are specified in WGS-84 (degrees longitude and latitude) and take the form <west>,<south>,<east>,<north>. Coordinates must not be separated by spaces (otherwise, they would be interpreted as separate arguments).

As an alternative, this option accepts a tile descriptor in the form z/x/y.

-q, --quiet

Displays only minimal output. Apart from error messages, only minimal progress updates are written to stderr.

-s, --silent

No output at all is written to stderr, not even error messages. (Whether a command succeeded or failed can only be ascertained via the status code returned by the process).

-v, --verbose

Writes extra information to stderr.

-w, --waynode-ids

Includes the IDs of all nodes, including those that are untagged and don’t belong to relations.

This option is only considered for newly-created GOLs.