Scroll to navigation

map2gcm(1) map2gcm(1)

NAME

map2gcm - convert map to KMZ

SYNOPSIS


map2gcm
-q 1..100 -s 411|422|444 -t file file1 file2 ... fileN outputfile

DESCRIPTION

map2gcm is a helper utility for qlandkartegt(1) to convert a map to KMZ format.
The list of selected tiles is a string in a file. The index count startswith 0 at the top left corner and is incremented for each element in a row. A 2x2 tile selection will have the index string '0 1 2 3'.
The projection of the input files must have the same latitude along a pixel row. Mecator and Longitude/Latitude projections match this property. Transversal Merkator or Lambert projections do not.
To rectify a geotiff map, you can use the gdalwarp(1) command, e.g.
gdalwarp -t_srs "EPSG:4326" inputfile outputfile
      

OPTIONS

-q 1..100
The JPEG quality from 1 to 100. Default is 75
-s 411|422|444
The chroma subsampling. Default is 411
-t file file1 file2 ... lonN
File with list of selected tile index
outputfile
Path to KMZ output file

SEE ALSO

qlandkartegt(1)
05 May 2015