Re: [Qlandkartegt-users] Export to jnx fails

2013-06-30 Thread Oliver Eichler
Hi Thomas

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.

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.

HTH

Oliver


 versions tested with
 QlandkarteGT 1.7.1
 QT 4.8.4
 GDAL 1.10.0
 Proj4 480
 
 I've loaded a 8GB sized geotiff in QlandkartegT and want to export it
 to jnx.
 I select the area I want to export and start the export, but after ~75%
 the process exits:
 0...10...20...30...40...50...60...70.ERROR 1: TIFFAppendToStrip:Maximum
 TIFF file size exceeded ERROR 1: TIFFAppendToStrip:Maximum TIFF file
 size exceeded ERROR 1: WriteEncodedTile/Strip() failed.
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: WriteEncodedTile/Strip() failed.
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: WriteEncodedTile/Strip() failed.
 ERROR 1: An error occured while writing a dirty block
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: WriteEncodedTile/Strip() failed.
 ERROR 1: qlgt_1.tif, band 2: An error occured while writing a dirty
 block ERROR 1: qlgt_1.tif, band 3: An error occured while writing a
 dirty block ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: WriteEncodedTile/Strip() failed.
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded
 
 Running the command by hand and adding BIGTIFF=yes it doesn't crash:
 /usr/bin/gdal_translate -co BIGTIFF=yes -co tiled=yes -co
 compress=DEFLATE -srcwin 0 0 37752 83348 source.tif
 temporary_destination.tif
 
 
 -- 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
--
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