Hi Oliver,

Thank you very much for qlandkartegt. I really like it!

But I have a problem with the creation .kmz or other files.
I do the following:
F1->F6->Convert a TIFF into GeoTiff by geo referencing it.->Open gif->Add 
Ref.->Start process
F1->F6->Create map collection from existing geo-referenced files->Create new 
*.qmap definitions->Add files->Save
File->Load Map->F1->F5->Select, in "Selected Maps" choose Export, choose 
"Output path", "Garmin custom Map" for example and "Export"
(if i use OSM stream then the result is the same)

In Details
*************************************
Cut area from files...
-------------------------------------
/usr/bin/gdal_translate -co tiled=yes -co compress=DEFLATE -expand rgba -srcwin 
1228 304 1022 1023 /home/qwerty/QLk/100k--n37-115_ref.tif /tmp/qlgt_3.T21740.tif
Input file size is 2672, 3081
0...10...20...30...40...50...60...70...80...90...100 - done.

*************************************
Combine files for each level...
-------------------------------------
copy /tmp/qlgt_3.T21740.tif ->/tmp/qlgt_4.T21740.tif

*************************************
Reduce color bands to 3 (RGB)...
-------------------------------------
/usr/bin/gdal_translate -b 1 -b 2 -b 3 -co tiled=yes -co compress=jpeg -co 
jpeg_quality=100 /tmp/qlgt_4.T21740.tif /tmp/qlgt_5.d21740.tif
Input file size is 1022, 1023
0...10...20...30...40...50...60...70...80...90...100 - done.

*************************************
Re-project files...
-------------------------------------
/usr/bin/gdalwarp -t_srs EPSG:4326 -ts 1022 1023 -r cubic -co tiled=yes -co 
compress=jpeg -co jpeg_quality=100 /tmp/qlgt_5.d21740.tif /tmp/qlgt_6.j21740.tif
Creating output file that is 1022P x 1023L.
Processing input file /tmp/qlgt_5.d21740.tif.
0...10...20...30...40...50...60...70...80...90...100 - done.

*************************************
Create Garmin Custom Map...
-------------------------------------
map2gcm -q 75 -s 411 -z 50 -t /tmp/qlgt_7.C21740.tif /tmp/qlgt_6.j21740.tif 
/home/qwerty/QLk/QLk.qmap_37.2266_55.6425.kmz
Wrong JPEG library version: library is 62, caller expects 80

****** map2gcm, Version 1.7.5 ******


----------------------
/tmp/qlgt_6.j21740.tif:
projection: +proj=longlat +datum=WGS84 +no_defs 
width: 1022 pixel height: 1023 pixel
area (top/left, bottom/right): 55.642523 37.226586, 55.524547 37.434740
xscale: 0.000204 deg/px, yscale: -0.000115 deg/px
real scale: 12.781195 m/px
Start to extract tiles and to build KMZ.

!!! failed !!!


I try the same thing in the console

qwerty@nbk:/tmp$ /usr/bin/gdal_translate -co tiled=yes -co compress=DEFLATE 
-expand rgba -srcwin 1228 304 1022 1023 /home/qwerty/QLk/100k--n37-015_ref.tif 
/tmp/qlgt_3.T21740.tif
Input file size is 2672, 3081
0...10...20...30...40...50...60...70...80...90...100 - done.

qwerty@nbk:/tmp$ cp /tmp/qlgt_3.T21740.tif /tmp/qlgt_4.T21740.tif

qwerty@nbk:/tmp$ /usr/bin/gdal_translate -b 1 -b 2 -b 3 -co tiled=yes -co 
compress=jpeg -co jpeg_quality=100 /tmp/qlgt_4.T21740.tif /tmp/qlgt_5.d21740.tif
Input file size is 1022, 1023
0...10...20...30...40...50...60...70...80...90...100 - done.

qwerty@nbk:/tmp$ /usr/bin/gdalwarp -t_srs EPSG:4326 -ts 1022 1023 -r cubic -co 
tiled=yes -co compress=jpeg -co jpeg_quality=100 /tmp/qlgt_5.d21740.tif 
/tmp/qlgt_6.j21740.tif
Creating output file that is 1022P x 1023L.
Processing input file /tmp/qlgt_5.d21740.tif.
0...10...20...30...40...50...60...70...80...90...100 - done.


qwerty@nbk:/tmp$ map2gcm -q 75 -s 411 -z 50 -t /tmp/qlgt_7.C21740.tif 
/tmp/qlgt_6.j21740.tif /home/qwerty/QLk/QLk.qmap_37.2266_55.6425.kmz

****** map2gcm, Version 1.7.5 ******
Segmentation fault


/tmp/qlgt_7.C21740.tif is lost?

My System - Slackware 14.0
JPEG library 
ftp://ftp.slackware.com/pub/slackware/slackware-14.0/slackware/l/libjpeg-v8a-i486-1.txt
proj-4.8.0
geos-3.4.2
gdal-1.9.2
qlandkartegt-1.7.5
SlackBuilds from http://slackbuilds.org/repository/14.0/desktop/qlandkartegt/

Please help me.

Thank you!

Regards,
Dmitry

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to