v.timestamp(1grass)

v.timestamp1grass

Modifies a timestamp for a vector map. print/add/remove a timestamp for a vector map.

Usage

v.timestamp

v.timestamp --help

v.timestamp map=name [layer=string] [date=timestamp] [--help] [--verbose] [--quiet] [--ui]

Keywords

vector, metadata, timestamp, time

Overview

This command has 2 modes of operation. If no date argument is supplied, then the current timestamp for the vector map is printed. If a date argument is specified, then the timestamp for the vector map is set to the specified date(s). See examples below.

See TIMESTAMP FORMAT description for details.

Notes

Strings containing spaces should be quoted. For specifying a range of time, the two timestamps should be separated by a forward slash. To remove the timestamp from a vector map, use date=none.

Examples

Prints the timestamp for the "lidar" vector map. If there is no timestamp for "lidar", nothing is printed. If there is a timestamp, one or two time strings are printed, depending on if the timestamp for the map consists of a single date or two dates (ie start and end dates).

v.timestamp map=lidar

Sets the timestamp for "lidar" to the single date "15 sep 1987".

v.timestamp map=lidar date=’15 sep 1987’

Sets the timestamp for "lidar" to have the start date "15 sep 1987" and the end date "20 feb 1988".

v.timestamp map=lidar date=’15 sep 1987/20 feb 1988’

Removes the timestamp for the "lidar" vector map.

v.timestamp map=lidar date=none

Known issues

Spaces in the timestamp value are required.

Source code

Available at: v.timestamp source code (history)

Accessed: Monday Feb 24 17:51:24 2025

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Michael Shapiro, U.S.Army Construction Engineering Research Laboratory

From grass-doc 8.4.1-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.