map2gcm(1)

map2gcm1

Convert map to kmz

Usage

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

Overview

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.

FC
gdalwarp -t_srs "EPSG:4326" inputfile outputfile
      F[0]

Options

FC-qF[0] 1..100

The JPEG quality from 1 to 100. Default is 75

FC-sF[0] 411|422|444

The chroma subsampling. Default is 411

FC-tF[0] file file1 file2 ... lonN

File with list of selected tile index

outputfile

Path to KMZ output file

From qlandkartegt 1.8.1+ds-7+b1 in Debian 9 (Stretch). Parsed by carta from the page's man source.