---
name: "map2jnx"
section: "1"
platform: "linux"
package: "qlandkartegt"
version: "1.8.1+ds-7+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/map2jnx"
---

# map2jnx(1)

convert map to JNX

## NAME

map2jnx - convert map to JNX

## SYNOPSIS

**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*

## DESCRIPTION

**map2jnx** is a helper utility for [**qlandkartegt**(1)](/qlandkartegt/1.md) to convert a map to JNX format.

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.

To rectify a geotiff map, you can use the [**gdalwarp**(1)](/gdalwarp/1.md) command, e.g.

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

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:

```
FC
  -x 45356,,,75; -x ,,,,75
      F[0]
```

Calculated levels table can be found:

- •

  English: http://whiter.brinkster.net/en/JNX.shtml

- •

  Russian: http://whiter.brinkster.net/JNX.shtml

Most common values for different map scales:

```
FC
  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
F[0].fi
```

## OPTIONS

- FC**-q**F\[0\] *1..100*

  The JPEG quality from 1 to 100. Default is 75

- FC**-s**F\[0\] *411\|422\|444*

  The chroma subsampling. Default is 411

- FC**-p**F\[0\] *0..*

  The product ID. Default is 0

- FC**-c**F\[0\] *string*

  The copyright notice. Default is "Unknown"

- FC**-m**F\[0\] *string*

  The subscription product name. Default is "BirdsEye"

- FC**-n**F\[0\] *string*

  The map name. Default is "Unknown"

- FC**-z**F\[0\] *number*

  The z order (drawing order). Default is 25

- FC**-x**F\[0\] *file1\_scale,file2\_scale,...,fileN\_scale*

  Override levels scale. Default: autodetect

## SEE ALSO

[**qlandkartegt**(1)](/qlandkartegt/1.md)
