1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 21:51:17 +01:00
Commit Graph

227 Commits

Author SHA1 Message Date
97bea8c56c Added support for Qt6
Removed support for Qt4 and Qt5 < 5.12
2020-12-22 22:09:09 +01:00
7d8dcec88b Try to break even less bounding box transformations 2020-12-14 22:06:59 +01:00
baf574b68b Process all the ll2xy operations in parallel 2020-11-15 22:38:22 +01:00
ed9ebfffac Use the propper type in friend declaration 2020-11-11 23:15:12 +01:00
fa03ecd419 Use the propper array delete operator 2020-11-11 18:47:34 +01:00
f55d6d8501 API cleanup 2020-11-10 20:14:59 +01:00
f139d33502 Huffman encoded labels
+ more or less related fixes/refactoring
2020-11-10 00:58:19 +01:00
0644bb72a0 Broken subdivs are more common than one would expect... 2020-11-02 20:16:02 +01:00
1225d350d4 Allow broken subdiv bounds produced by mkgmap 2020-11-02 00:18:27 +01:00
80f5bbfbce Print a warning on invalid subdiv bounds 2020-11-01 23:47:44 +01:00
9bd79a4104 Fixed broken tile bounds 2020-10-27 20:52:29 +01:00
f9abf21e6d Fixed warious bounds wrapping issues 2020-10-27 16:46:09 +01:00
d291e55bdb Fixed label pointer parsing 2020-10-22 20:32:12 +02:00
b5893cf506 Fixed label text parsing
(use only space as whitespace separator)
2020-10-22 20:30:11 +02:00
8507fe3b52 Added missing collision detection 2020-10-22 01:16:23 +02:00
79edd6e09d Fixed missing reference 2020-10-21 21:21:35 +02:00
e4d7f45103 Remove the right item from the list 2020-10-17 20:59:58 +02:00
7babf734bf Fixed memory leak 2020-10-17 14:30:06 +02:00
630a5cea83 Improved polygon labels layout logic 2020-10-17 14:26:59 +02:00
7c6174a8ee Some more IMG POI style tweaking 2020-10-16 22:45:51 +02:00
cc4cbcbeda Various IMG style enchancements 2020-10-16 00:03:26 +02:00
56b7014eaf Unify unsupported data handling 2020-09-29 22:03:26 +02:00
0f8859dd20 Code cleanup 2020-09-29 18:53:49 +02:00
a09a58eece Some more code cleanup 2020-09-26 19:05:35 +02:00
7c90174751 Cosmetics 2020-09-26 18:56:26 +02:00
98f88db3cf Properly align the NOD file structure 2020-09-26 16:12:10 +02:00
54ed0ca9f6 Fixed/improved error handling 2020-09-26 16:02:14 +02:00
d738ad7b5a Level 0 2020-09-18 20:56:00 +02:00
03e7d092c4 Code cleanup 2020-08-26 18:20:15 +02:00
0b5d01a1f6 A little bit more sane subfile interface 2020-08-26 17:58:21 +02:00
29a821f8b2 Code cleanup 2020-07-02 00:17:41 +02:00
96bb3bbdbb Removed obsolete stuff 2020-06-29 23:46:06 +02:00
473d03cf1f Fixed broken extended objects segment fetching 2020-06-28 19:51:59 +02:00
32d3eab10e Initial (and partial) IMG links support
+ various IMG fixes (RGN parsing, IMG parsing)
2020-06-27 22:46:26 +02:00
ddf865834a Remove unused consructor 2020-04-26 02:01:25 +02:00
a4abed8f1f Code cleanup 2020-04-26 01:17:54 +02:00
08334d7fde Move the world maps bounds limit hack to the propper place 2020-04-19 11:36:17 +02:00
33bbd6a592 Yet another special case 2020-04-18 00:00:48 +02:00
31da4e1906 Some more default IMG style tweaking 2020-04-15 22:48:02 +02:00
ee3d43e249 A slightly darker white 2020-04-08 00:00:43 +02:00
242babb741 Improved default IMG style
("less green")
2020-04-07 00:54:31 +02:00
cc22df3bf2 Cosmetics 2020-03-01 10:30:00 +01:00
48c7299ba6 Improved railroad lines default style 2020-02-17 19:21:36 +01:00
2c503a2406 Enable world basemap projection in web mercator projection 2020-02-17 09:47:47 +01:00
27edc4d6b5 Properly handle IMG basemaps (gmapbmap.img) 2020-02-17 09:19:15 +01:00
f333a76ef7 Some more regions/countries rendering improvement 2020-02-16 20:31:09 +01:00
2c114f43c5 Code cleanup 2020-02-16 15:59:51 +01:00
29e29591f8 Fixed typo 2020-02-16 13:59:19 +01:00
e4ac9fda0e Improved country names labels handling 2020-02-16 12:57:40 +01:00
64bee2f2f4 Use a beter default min zoom value 2020-02-15 21:58:29 +01:00
e4288ee95c Remove devel code 2020-02-15 21:51:47 +01:00
c9b3c2eedd Compute the min map zoom from the tiles 2020-02-15 21:49:00 +01:00
42e4b0769f Fixed broken tile/subdivs/polygon bounds/coordinates
+ do the coordinates left shift in a C++ standard defined way
2020-02-15 11:46:16 +01:00
ce043ef8fa Do not try to open the user style file when it is not set 2020-02-14 20:00:42 +01:00
8c7050e273 Fixed broken subdiv bounds 2020-02-14 09:20:10 +01:00
d670107a11 Fixed gap between the basemap and normal map tiles on some maps 2020-02-13 22:49:15 +01:00
464d4c5327 Removed forgotten devel code 2020-02-11 21:16:31 +01:00
2d3ad41d69 Use the GMAP basemaps rather than discarding them
+ some minor point rendering issues fixes
2020-02-11 21:03:55 +01:00
2d5e11f001 Properly handle basemap entries with './xxx' paths 2020-02-10 19:40:39 +01:00
e86f89308b Decreased GMAP read block size to 4K 2020-02-10 19:40:04 +01:00
378fa8dc0e Make caching work for both IMG and GMAP maps 2020-02-10 19:38:45 +01:00
37c4fe1eba Cosmetics 2020-02-10 09:33:31 +01:00
1aa07a6a34 Removed duplicit code 2020-02-10 09:26:23 +01:00
8b6d7acec5 Give the compiler more posibilities for optimization 2020-02-10 09:10:09 +01:00
1773a1ae0d Cosmetics 2020-02-10 08:55:34 +01:00
911c63df0c Added support for GMAP maps 2020-02-09 23:24:48 +01:00
e2339c67cd Fixed bitstream4 flush 2020-02-08 16:16:24 +01:00
fac0bae006 Fixed crash on GMP tiles without LBL or NET parts 2020-02-08 16:01:22 +01:00
d63c666997 Code cleanup 2020-02-08 10:54:59 +01:00
0cd20a1e57 Unions can not have non-POD members 2020-02-08 10:52:26 +01:00
325e83569c Redesigned IMG caching
(Cache encoded data rather than raw data)
2020-02-07 22:10:06 +01:00
3b16f37e66 Some micro-optimizatoins and code cleanup 2020-02-04 21:47:31 +01:00
06a84dcea2 Code cleanup 2020-02-02 09:03:35 +01:00
ca204626a1 Some hot path inlining 2020-02-01 19:21:41 +01:00
09d6de00a6 Some more style/layout fiddeling
+ code cleanup
2020-01-24 19:44:19 +01:00
465b146001 Do not duplicate the area descriptions where (most) maps have POIs 2020-01-22 22:18:29 +01:00
ce6d6298bb Use the polygons labels for displaying rather than discarding them 2020-01-22 21:01:05 +01:00
ae2ff99be8 Do not fetch polygon labels as they are unused anyway 2020-01-22 07:46:58 +01:00
cd22e6207a Added support for Huffman compressed RGN data 2020-01-21 21:50:13 +01:00
7cc39f25e1 Code cleanup 2020-01-19 18:08:03 +01:00
f61d9fcd55 Fixed crash on error introduced with the latest error handling changes
(+ ignore broken tiles rather than terminate parsing)
2020-01-19 17:40:14 +01:00
040de56a54 Fixed error handling + code cleanup 2020-01-19 13:23:20 +01:00
2efc6fb6d3 Optimization 2020-01-11 23:41:04 +01:00
fdeb24a196 Properly load non-ASCII map names 2019-12-20 23:39:20 +01:00
a986293f20 Properly handle points with extended style IDs 2019-12-09 22:50:19 +01:00
b59112f74e Added missing error handling 2019-12-01 13:33:00 +01:00
db7e60bdfb Added support for GPI speed/red light cameras 2019-11-10 16:46:31 +01:00
6d6dc9f316 Code cleanup 2019-11-09 23:06:52 +01:00
070eff2115 Print a warning message on unsupported IMG compression 2019-09-28 23:55:26 +02:00
1bb9908936 Some more code cleanup 2019-09-21 00:36:49 +02:00
36555b3140 Code cleanup 2019-09-20 00:23:47 +02:00
1a3356b8fe Cosmetics 2019-09-18 09:18:09 +02:00
0a75298b2b Made the variable record info parsing universal 2019-09-18 09:11:46 +02:00
cdb641b204 Properly read variable length values
Code cleanup
2019-09-18 08:37:33 +02:00
c2abf2c146 Prefer loading speed over "NT maps not supported" reporting 2019-09-10 19:45:06 +02:00
37a0eec48f Added support for pseudo-NT IMG maps (e.g. TopoHispania) 2019-09-05 22:31:13 +02:00
ab6ea84255 Some more cleanup 2019-08-13 20:50:43 +02:00
f67eaa8dec Various code cleanup 2019-08-12 22:20:12 +02:00
1297db26f6 Properly de-capitalize strings with "scharfes S" 2019-07-28 10:31:03 +02:00
70b5371a6e Improved error handling 2019-07-18 00:26:27 +02:00
d07b6c6a9d Load TRE subdivs on demand, not all on tile load 2019-07-16 22:08:23 +02:00
c9a62e8b61 Removed obsolete stuff 2019-07-16 00:23:08 +02:00
297177ad41 Cosmetics 2019-07-13 14:42:44 +02:00
a20fd3e474 Fixed cut&paste error 2019-07-11 18:55:12 +02:00
c1fdb21fad Cosmetics 2019-07-10 21:37:03 +02:00
4e9faf3a23 Code cleanup 2019-07-08 21:19:25 +02:00
63335aa004 IMG maps font sizes adjustement 2019-07-04 21:38:57 +02:00
53e960fabe Improved IMG map memory management 2019-07-04 18:18:03 +02:00
b4cc88446a Improved IMG maps loading (lazy loading) 2019-07-04 09:05:30 +02:00
863aa3f542 Allow lower zooms, properly sort cities 2019-07-02 08:52:26 +02:00
03d5745da9 Added missing label validity checks 2019-07-01 22:53:34 +02:00
ce5a3be7ca Properly split the shield label 2019-06-30 23:18:30 +02:00
537b1c3716 Added support for label shields 2019-06-30 20:39:22 +02:00
3a046af6b6 Fixed crash on TYP files with incomplete styles 2019-06-22 20:32:37 +02:00
811f5f869a POI category fix 2019-06-15 09:25:16 +02:00
3de0ed055a Cut label text fix (workaround) 2019-06-08 12:01:35 +02:00
06e1685f85 Improved text layout/rendering on IMG maps 2019-06-07 20:33:08 +02:00
56013c01fd Improved POI handling in IMG maps 2019-06-07 09:37:10 +02:00
785bf94a01 Added support for user defined TYP files for Garmin IMG maps 2019-05-16 20:23:37 +02:00
1f5a051bee Fixed broken text display in Qt < 5.4
(Qt bug workaround)
2019-05-15 21:29:34 +02:00
beb93bcd1f Added missing spot units conversion 2019-05-12 15:43:46 +02:00
a3d22dcd2a Fixed contour check 2019-05-12 15:30:29 +02:00
8f799e1bcf Fixed possible crash when the cache wouldn't accept the new item 2019-05-12 01:23:18 +02:00
5cd0a3a8b0 Properly parse TRE7 section 2019-05-12 00:10:56 +02:00
2d0ac129ce Various TYP file parser improvements/fixes 2019-05-11 19:11:00 +02:00
38a4a4c32b Do not use pens for possibly large areas 2019-05-11 00:24:31 +02:00
0594774570 Added support for Garmin IMG maps 2019-05-10 18:56:19 +02:00