'\" -*- coding: us-ascii -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH map2jnx 1 "05 May 2015" "" "" .SH NAME map2jnx \- convert map to JNX .SH SYNOPSIS 'nh .fi .ad l \fBmap2jnx\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu \fB-q\fR \fI1..100\fR \fB-s\fR \fI411|422|444\fR \fB-p\fR \fI0..\fR \fB-c\fR \fI"copyright notice"\fR \fB-m\fR \fI"BirdsEye"\fR \fB-n\fR \fI"Unknown"\fR \fB-x\fR \fIfile1_scale,file2_scale,...,fileN_scale\fR \fIfile1\fR \fIfile2\fR ... \fIfileN\fR \fIoutputfile\fR 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBmap2jnx\fR is a helper utility for \fBqlandkartegt\fR(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 \fBgdalwarp\fR(1) command, e.g. .nf \*(T< \fBgdalwarp\fR \fB\-t_srs\fR \fI"EPSG:4326"\fR \fIinputfile\fR \fIoutputfile\fR \*(T> .fi .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: .nf \*(T< \fB\-x\fR 45356,,,75; \fB\-x\fR ,,,,75 \*(T> .fi .PP Calculated levels table can be found: .TP 0.2i \(bu English: http://whiter.brinkster.net/en/JNX.shtml .TP 0.2i \(bu Russian: http://whiter.brinkster.net/JNX.shtml .PP Most common values for different map scales: .nf \*(T< 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 \*(T>.fi .SH OPTIONS .TP \*(T<\fB\-q\fR\*(T> \fI1..100\fR The JPEG quality from 1 to 100. Default is 75 .TP \*(T<\fB\-s\fR\*(T> \fI411|422|444\fR The chroma subsampling. Default is 411 .TP \*(T<\fB\-p\fR\*(T> \fI0..\fR The product ID. Default is 0 .TP \*(T<\fB\-c\fR\*(T> \fIstring\fR The copyright notice. Default is "Unknown" .TP \*(T<\fB\-m\fR\*(T> \fIstring\fR The subscription product name. Default is "BirdsEye" .TP \*(T<\fB\-n\fR\*(T> \fIstring\fR The map name. Default is "Unknown" .TP \*(T<\fB\-z\fR\*(T> \fInumber\fR The z order (drawing order). Default is 25 .TP \*(T<\fB\-x\fR\*(T> \fIfile1_scale,file2_scale,...,fileN_scale\fR Override levels scale. Default: autodetect .SH "SEE ALSO" \fBqlandkartegt\fR(1)