map2gcm Man page

map2gcm map2gcm

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 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 2×2 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 prop‐
erty. Transversal Merkator or Lambert projections do not.

To rectify a geotiff map, you can use the gdalwarp 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

08 January 2016 map2gcm