|  |  | The `read` Command

## The `read` Command

The `read` command reads a data file and launches the graphical interface (for its meaning in GPSMan scripts see the `exec` command).

    read FORMAT [PARAMS] [TYPES] PATH

where:

- `FORMAT [IN-PARAMS]` is the input file format and its parameters (if any); use `show formats` for a list of the currently accepted formats;
- `IN-TYPES` are the data types to read; the possible types depend on the format and some formats impose that there is a single data type per file; they may be absent if the format requires a unique data type or if the files can have items of different types; `all` can be used as an abbreviation of `WP RT TR`;
- `PATH` is the path to the file to read from, or, in the case of the `Shapefile` format, the path to the Shapefiles basename (file extensions will be discarded). If the `PATH` is `stdin` input will be from the standard input unless the format is the `Shapefile` format (in which case the command fails).

|  |  | The `read` Command