forked from Maproom/qmapshack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qmt_map2jnx.1
99 lines (87 loc) · 2.12 KB
/
qmt_map2jnx.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
.TH "QMT_MAP2JNX" "1" "Jan 2018" "" ""
.SH "NAME"
qmt_map2jnx - convert map to JNX
.br
.SH "SYNOPSIS"
qmt_map2jnx \-q <1..100> \-s <411|422|444> \-p <0..> \-c "copyright notice"
\-m "BirdsEye" \-n "Unknown" \-x file1_scale,file2_scale,...,fileN_scale
<file1> <file2> ... <fileN> <outputfile>
.br
.SH "DESCRIPTION"
\fBqmt_map2jnx\fR is a helper utility for qmapshack(1) to convert a map
to JNX format.
.PP
The projection of the input files must have the same latitude along
a pixel row. Mecator and Longitude/Latitude projections match this
this property. Transversal Merkator or Lambert projections do not.
.PP
To rectify a geotiff map, you can use the gdalwarp command, e.g.
.IP
gdalwarp \-t_srs "EPSG:4326" <inputfile> <outputfile>
.PP
Scale levels must be pass in same order as level files pointed.
Empty and zero values equal to autodetect. We can point only needed
levels, like:
.IP
\-x 45356,,,75; \-x ,,,,75
.PP
Calculated levels table can be found:
.IP \[bu]
English: http://whiter.brinkster.net/en/JNX.shtml
.IP \[bu]
Russian: http://whiter.brinkster.net/JNX.shtml
.PP
Most common values for different map scales:
.IP
JNX scale Map scale
------------- ---------
78125-31250 1:1 000 000
20834-7813 1:500 000
7813-3125 1:200 000
3125-2084 1:100 000
2084-782 1:50 000
782-32 1:25 000
32-21 1:10 000
21-14 1:5000, 1:2000
.SH "OPTIONS"
\fB-q\fR
.br
The JPEG quality from 1 to 100. Default is 75
.br
\fB-s\fR
.br
The chroma subsampling. Default is 411
.br
.br
\fB-p\fR
.br
The product ID. Default is 0
.br
.br
\fB-c\fR
.br
The copyright notice. Default is "Unknown"
.br
.br
\fB-m\fR
.br
The subscription product name. Default is "BirdsEye"
.br
\fB-n\fR
.br
The map name. Default is "Unknown"
.br
\fB-z\fR
.br
The z order (drawing order). Default is 25
.br
\fB-x\fR
.br
Override levels scale. Default: autodetect
.br
.SH "SEE ALSO"
https://github.com/Maproom/qmapshack/wiki/DocMain
.br
.SH "AUTHOR"
qmt_map2jnx was written and is currently maintained by Oliver Eichler \fB<[email protected]>\fR.
.br