mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
made age a required argument for the -clean-deleted command
This commit is contained in:
@@ -60,14 +60,13 @@ to finish the recomputation.
|
||||
|
||||
## Removing large deleted objects
|
||||
|
||||
Command: `nominatim admin --clean-deleted --age <PostgreSQL Time Interval>`
|
||||
Command: `nominatim admin --clean-deleted <PostgreSQL Time Interval>`
|
||||
|
||||
Nominatim refuses to delete very large areas because often these deletions are
|
||||
accidental and are reverted within hours. Instead the deletions are logged in
|
||||
the `import_polygon_delete` table and left to the administrator to clean up.
|
||||
|
||||
To run this command you will need to pass a PostgreSQL time interval to the age
|
||||
parameter. For example to delete any objects that have been deleted more than a
|
||||
month ago you would run:
|
||||
`nominatim admin --clean-deleted --age '1 month'`
|
||||
To run this command you will need to pass a PostgreSQL time interval. For example to
|
||||
delete any objects that have been deleted more than a month ago you would run:
|
||||
`nominatim admin --clean-deleted '1 month'`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user