[Qlandkartegt-users] map2jnx documentation?

2013-06-30 Thread malenki
Since QlandkarteGT fails to export geotif to jnx for me (see previous
mail) I made the steps QlandkarteGT said it takes by hand:

# extract the area from the files...
/usr/bin/gdal_translate -co BIGTIFF=yes -co tiled=yes -co
compress=DEFLATE -srcwin 0 0 37752 83348 source.tif qlgt_1.tif 
# reduce colorbands to 3 (RGB)... 
/usr/bin/gdal_translate -co BIGTIFF=yes -b 1 -b 2 -b 3 -co tiled=yes
-co compress=jpeg -co jpeg_quality=100 qlgt_1.tif qlgt_2.tif 
# reproject files... 
/usr/bin/gdalwarp -t_srs EPSG:4326 -ts 992 991 -r cubic -co tiled=yes
-co compress=jpeg -co jpeg_quality=100 qlgt_2.tif qlgt_3.tif

up to here everything is fine, but when I run:

# creating Garmin JNX map... 
/usr/bin/map2jnx -q 75 -s 411 -p 0 -m foo -n bar -c  -z 50 qlgt_3.tif
destination.jnx

I get the error:
** map2jnx, Version 1.7.0 **
ERROR 4: `50' does not exist in the file system,
and is not recognised as a supported dataset name.

Obviously this message refers to -z 50 - but I copied the command as
it is from the QlandkarteGT output.

Since map2jnx has neither a manpage nor a --help or -h output I have to
ask here how to get it working.

Regards
Thomas

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users


Re: [Qlandkartegt-users] Export to jnx fails

2013-06-30 Thread malenki
Am Sun, 30 Jun 2013 21:47:36 +0200
schrieb Oliver Eichler oliver.eich...@gmx.de:

 usually GeoTiff is limited to 4GB. GDAL supports big tiff, but I have
 never tired it. Thus I never prepared the commands for that.
 
 Anyway, GeoTiff might be able to support more than 4GB, JNX won't for
 sure. The format uses 32bit pointers into the file.

Since the GDAL conversions are done in high quality and jnx is quite
compressed the source of 8GB results in a lot smaller jnx file - in
this case 470 MB.

 There is a help. Simply enter the command map2jnx without any
 paramter. Your commandline fails because you use the -c paramter
 without a value. In this case it's probably  and QLGT's output
 represents that fact badly.

With -c  it works


Thanks for the quick reply!
Thomas

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Qlandkartegt-users mailing list
Qlandkartegt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users