mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-07-25 15:04:30 +00:00
Add man page for openstreetmap-tiles-update-expire
This commit is contained in:
46
docs/openstreetmap-tiles-update-expire.1
Normal file
46
docs/openstreetmap-tiles-update-expire.1
Normal file
@ -0,0 +1,46 @@
|
||||
.TH TILES-UPDATE-EXPIRE 1 "Apr 20, 2013"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.SH NAME
|
||||
openstreetmap-tiles-update-expire \- updates a map database from the OSM diff stream.
|
||||
.SH SYNOPSIS
|
||||
.B openstreetmap-tiles-update-expire
|
||||
.RI [ YYYY-MM-DD ]
|
||||
.br
|
||||
.SH DESCRIPTION
|
||||
This manual page documents briefly the
|
||||
.B openstreetmap-tiles-update-expire
|
||||
command.
|
||||
.PP
|
||||
.B openstreetmap-tiles-update-expire
|
||||
is a helper script to keep a mod_tile based openstreetmap tile server up to date.
|
||||
It downloads a diff stream from OpenStreetMap using osmosis, then applies it to your database
|
||||
using osm2pgsql and finally marks changed tiles on disk as "dirty".
|
||||
.br
|
||||
Each time you call this script, it does one update cycle. If your db is further behind than
|
||||
the maximum duration for which osmosis is configured to fetch diffs, the db will not be fully
|
||||
up-to-date at the end of this script and it will be necessary to call it multiple times for a fully
|
||||
up-to-date database.
|
||||
.br
|
||||
This script can be used in conjunction with cron to automatically keep your database in sync with
|
||||
the OSM diff stream.
|
||||
.PP
|
||||
The first time this script needs to be called with a date to initialise the process. Thereafter,
|
||||
the script gets called without arguments.
|
||||
.PP
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
\fBYYYY-MM-DD
|
||||
generation date of the planet file used for import. It initialises osmosis diff processing to this date.
|
||||
It is safe to set this date earlier than the actual date, as one can reapply diffs multiple times. This
|
||||
ensures that there is no missing data due to a gap between the generation of the planet file and
|
||||
the start of the diff processing.
|
||||
|
||||
.PP
|
||||
.SH SEE ALSO
|
||||
.BR renderd (8),
|
||||
.BR mod_tile (1).
|
||||
.br
|
||||
.SH AUTHOR
|
||||
openstreetmap-tiles-update-expire was written by OpenStreetMap project members.
|
||||
.PP
|
||||
This manual page was written by OpenStreetMap authors.
|
Reference in New Issue
Block a user