QMT_MAP2JNX(1)

πŸ’– QMT_MAP2JNX πŸ’–

okay bestie, welcome to the qmt_map2jnx manual page (that's the (1) btw, we're in the user-commands section, very main character) 🫢


✨ NAME ✨

qmt_map2jnx β€” convert map to JNX


🌸 SYNOPSIS 🌸

like, here's the whole vibe of how you call it:

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>

πŸŽ€ DESCRIPTION πŸŽ€

so qmt_map2jnx is a little helper utility for qmapshack(1) that converts a map to JNX format. that's the whole job. she's focused. she's efficient. πŸ’…

⚠️ real talk though: the projection of your input files must have the same latitude along a pixel row. that's non-negotiable, no cap.

Mecator and Longitude/Latitude projections match this property ✨

Transversal Merkator or Lambert projections do not. nope. not them. πŸ™ˆ

and to rectify a geotiff map, you can use the gdalwarp command, like:

gdalwarp -t_srs "EPSG:4326" <inputfile> <outputfile>

okay now about scale levels, this is the part where you gotta pay attention bestie 😭

Scale levels must be passed in the same order as the level files pointed. and listen β€” empty and zero values are equal to autodetect πŸ‘‘

we can point only needed levels, like:

-x 45356,,,75; -x ,,,,75

the calculated levels table can be found here:

and here are the most common values for different map scales, because we love a cheat sheet:

  • JNX scale 78125-31250 β†’ map scale 1:1 000 000
  • JNX scale 20834-7813 β†’ map scale 1:500 000
  • JNX scale 7813-3125 β†’ map scale 1:200 000
  • JNX scale 3125-2084 β†’ map scale 1:100 000
  • JNX scale 2084-782 β†’ map scale 1:50 000
  • JNX scale 782-32 β†’ map scale 1:25 000
  • JNX scale 32-21 β†’ map scale 1:10 000
  • JNX scale 21-14 β†’ map scale 1:5000, 1:2000

πŸ’… OPTIONS πŸ’…

  • -q β€” the JPEG quality, from 1 to 100. default is 75 ✨
  • -s β€” the chroma subsampling. default is 411
  • -p β€” the product ID. default is 0
  • -c β€” the copyright notice. default is "Unknown"
  • -m β€” the subscription product name. default is "BirdsEye" πŸ¦‹
  • -n β€” the map name. default is "Unknown"
  • -z β€” the z order (aka the drawing order). default is 25
  • -x β€” override levels scale. default: autodetect πŸ”₯

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

qmt_map2jnx was written and is currently maintained by Oliver Eichler <oliver.eichler@gmx.de>. iconic of him honestly 🫢


and that's the page!! it's giving Jan 2018, QMT_MAP2JNX(1), periodt πŸ’–βœ¨ go convert some maps bestie 🌸