Can this be used for the birds eye JNX?
I've made a small set of tools allowing for conversion from JNX maps to raster IMG.
At this point, the "converter" is just a wrapper around the Mapsource Product Creator map compiler, and GmapTool.
So, the MPC map compiler (bld_gmap32.exe) is required for the conversion, as well as gmt.exe tool from the GmapTool installation.
But for the current stage of raster IMG research this is quite enough, I believe
Ok, [Only registered and activated users can see links. ] is the archive with the scripts and tools.
After you unpack the archive, there will be Tools folder with two subfolders.
Please copy the contents of MPC\Tools\bld_gmap32 folder into extracted Tools\bld_gmap32 folder, and also copy you MPC license file into the same folder with License.mpl name.
Next, copy gmt.exe file from GmapTool\gmt.
That's it for the initial setup.
Now, you can start jnx2img.cmd script with two command line parameters - path to JNX file, and path to resulting IMG. Like this:
"MapID=<hex or decimal number>", where hex number must be either prefixed with '0x' or '$', or suffixed with 'h' - to manually set MapID, default is a random id.
"DrawOrder=<decimal number" - to set map's drawing order (also known as map priority), default is 24.
"MapSeries=<decimal number" - to set MapSeries field in the map header (TRE + 0x45), default is 36.
Please note the quotes around these parameters are required, so the converter can be started like this:
1. All the JNX levels with the scales below 864 will be mapped into a lowest zoom level in IMG, it becomes visible from 200m and closer in the devices. If there is more than one level in your JNX with small scale value, the converter will only use one of them - one with lowest scale value (i.e. the most detailed one).
2. JNX levels are displayed in more than one zoom. For example, a level with the scale value 4777 is visible from 1.2km down to 5m (if more detailed levels are not present in the device). In IMG, in contrast, the level is only shown in the specified zooms, so, to emulate a JNX way of displaying the tiles, they should be placed in all the necessary zooms explicitly.
Current version of the converter does not provide this emulation.
3. When MapSeries is set to its default value (i.e. 36), or not specified, the converted raster IMG map will hide all area features of other maps in the device (independently of their draworder parameters). POIs and lines can still be visible (this will depend on the draworder of the maps).
I invite everyone interested in raster IMG format exploration to join the testing, and report not yet identified limitations of raster IMG maps
Last edited by AlexWhiter; 20th November 2013 at 05:39 AM. Reason: description updated
Can this be used for the birds eye JNX?
..and used even in not patchable firmware that is the most important thing
You have to navigate to get to the good.
[Only registered and activated users can see links. ] Password for my files: gpspower.net
Please don't flood my pm box with questions you can post on forum!! You won't hear back from me.
Galaxy S5 Kitkat 4.4.2 / Nuvi1200->1250 / Nuvi3790T->34xx / Nuvi 2200 / Nuvi 66 / Oregon 600
The script is updated. Please redownload from the same location.
1. Any MPL-license from Tools\bld_gmap32 folder will be used, not necessarily with License.mlp name.
2. Sometimes, the generated MapIDs were not supported by the devices. Fixed.
3. MapID can now be set from the command line like this (8-digit hex number is used):
Nasty bug was found: when a multi-level JNX map is converted, the levels in IMG will come "upside down", so the most detailed JNX level becomes visible at less detailed zooms in the GPS.
Last edited by AlexWhiter; 14th November 2013 at 05:25 PM.
Best Post of the Month?
Love your wife? Buy yourself a GPS for answering to her favorite question: "Dear, where are you?".
Honestly I can't understand its very much practical usage but ok. I think a simple script lets say geoTIFF to IMG like the tool GPX to IMG would have more popularity. Or at least I would use it more frequent.
In fact, this is just a step for a better understanding of IMG structure (partucularily, of RGN blocks huffman encoding in NT format) - I need a simple, yet reliable tool for making raster IMGs from a set of geo-referenced tiles.
I'm still planing to make a standalone converter, and then a library, just like JNXLib, which could be used with to export raster IMGs from SASPlanet, GlobalMapper etc.
I hope I won't get too lazy for finishing this
1. device locking and firmware patching as a solution;
2. inability to disable of any given map, not the whole set of maps.