1CPTPG(1)                         User commands                        CPTPG(1)
2
3
4

NAME

6       cptpg - convert GMT colour palette tables (cpt) to PostGIS colour-maps.
7

SYNOPSIS

9       cptpg [-h] [-o file] [-p] [-v] [-V] [file]
10

DESCRIPTION

12       The cptpg utility converts the colour palette table (cpt) files used by
13       GMT(1) to the colour-maps used by PostGIS, in particular those for the
14       ST_ColorMap function. It should also be possible to use the maps in the
15       GDAL program gdaldem, the GRASS r.colors utility and in ESRI products
16       which call for a HDR color table.
17
18       The program will read from stdin if a file is not specified as the
19       final argument, and write to stdout if the -o option is not specified.
20

OPTIONS

22       --backtrace-file path
23           Specify a file to which to write a formatted backtrace. The file
24           will only be created if there is a backtrace created, typically
25           when an error occurs.
26
27       --backtrace-format format
28           Specify the format of the backtrace written to the files specified
29           by --backtrace-file, one of plain, xml or json.
30
31       -h, --help
32           Brief help.
33
34       -o, --output file
35           Write the output to file, rather than stdout.
36
37       -p, --percentage
38           Convert (z) values to percentages.
39
40       -v, --verbose
41           Verbose operation.
42
43       -V, --version
44           Version information.
45

AUTHOR

47       J. J. Green
48

SEE ALSO

50       GMT(1).
51
52
53
54CPTUTILS                       9 September 2020                       CPTPG(1)
Impressum