Files in Other FormatsUsing GPSMan in graphical modeMiscellaneousGPSMan Files

GPSMan Files

GPSMan uses text files to store data. The Load/Save options in the menus deal with files in GPSMan format. The Import/Export options deal with files in foreign formats. In the GPStrans format (described in the documentation of GPStrans), all positions are exported in DDD format, although any available position format is accepted in imported files.

Files in GPSMan format can be either item information files (with data of different types: waypoints, routes, tracks, polylines, laps and/or groups), or image information files (for saving information on background images for the map).

These file formats are independent of the language used. That is, there will not be commands in Tobagonian even if a lang*.tcl file was provided for it and GPSMan was set to use that language.

Item information files

Item information files in GPSMan format (based on the GPStrans format) are as follows:

Image information files

These are files containing the following information:

  1. a !Image: P command, with P the absolute path of the file containing the image in an accepted graphics format;
  2. a !Datum: D command, with D the datum name for the coordinates;
  3. a !Projection: NP As command, with NP the name of the projection to use and As a sequence of attribute-value pairs under the form Atr=Val describing projection parameters; the tabulation is used as separator for NP and each pair;
  4. a !Transf: NT As command, with NT the name of the coordinate transformation to use and As a sequence of attribute-value pairs as in the previous command;
  5. a !Scale: S command, with S the floating-point value of the map scale in pixel/metre.

After this there may be one or more lines with a !Image at: XG,YG P command, where P is the absolute path of the file containing the image in an accepted graphics format, and XG,YG are the grid coordinates of the image. The grid coordinates of the first-loaded image are 0,0. GX changes by 1 (-1) for each image to the right (left), and GY changes by 1 (-1) for each image down (up).

No newlines are allowed within these commands, and arguments are separated by spaces or tabulation characters unless otherwise stated. Paths must use the slash (/) as separator.

Preparing an image information file can be done by using GPSMan in command-line mode: see the description of the georef command.

Least Squares files

These are files giving either waypoint names or the geodetic coordinates of control points, as well as their pixel coordinates to be used in computing the parameters of any kind of transformation by the Least Squares fit method. They follow the same conventions as other GPSMan files and contain the following, in the given order:

  1. optional !Format: P T D, !Position: P, and/or !Datum: D commands, in any order, describing the position format and datum to use, "WGS 84" and DDD being the defaults;
  2. lines for each point with fields separated by tabulations in one of the formats
    1. the position, in the selected/default datum and format, and the pixel coordinates
    2. the command !W:, a waypoint name, and the pixel coordinates,
    the pixel coordinates given in the order horizontal, vertical, with vertical coordinates increasing downwards. There must be at least 3 points and waypoints referred in the file must be defined beforehand.

Map information files

These are files currently used only for saving the state of the map when there is no background image. They follow the same conventions as the image information files and contain the following commands:

  1. a !Map: command;
  2. a !Datum: D command, with D the datum name for the coordinates;
  3. a !Projection: NP As command, with NP the name of the projection to use and As a sequence of attribute-value pairs under the form Atr=Val describing projection parameters; the tabulation is used as separator for NP and each pair;
  4. a !Transf: NT As command, with NT the name of the coordinate transformation to use and As a sequence of attribute-value pairs as in the previous command;
  5. !Position: P, where P is the position format (one of DMS, DMM, DDD, GRA, UTM/UPS or a coordinates grid name).
  6. a !PFDatum: Dpf command, where Dpf is the datum name for the map cursor coordinates.
  7. a !Scale: S command, with S the floating-point value of the map scale in pixel/metre.


GPSMan User Manual
Copyright 1998-2013 Miguel Filgueiras,

Creative Commons License
GPSMan User Manual and the GPSMan logo images by Miguel Filgueiras are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

Get gpsman at SourceForge.net. Fast,
secure and Free Open Source software downloads


Files in Other FormatsUsing GPSMan in graphical modeMiscellaneousGPSMan Files