1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 19:55:53 +01:00
Commit Graph

705 Commits

Author SHA1 Message Date
8d92cf6d86 The destructor still needs to be virtual 2021-10-02 11:59:11 +02:00
29705b4cdf Get rid of unnecessary virtual stuff 2021-10-02 09:24:00 +02:00
54db2a5a6c Don't use a map where an array is fully suficient and much faster 2021-09-30 20:26:36 +02:00
3d4adba90a Some more code cleanup 2021-09-30 20:26:16 +02:00
505d7271f1 Code cleanup 2021-09-29 19:52:39 +02:00
2d5cf5478a Code cleanup 2021-09-28 12:47:14 +02:00
e47cbc9af3 Added missing namespace 2021-09-20 21:43:17 +02:00
11c83b405f Project structure cleanup 2021-09-17 23:45:12 +02:00
499461ff76 Code cleanup 2021-09-17 23:22:32 +02:00
fd65882907 Do not render tiles that will not be shown due to zoom in/out 2021-09-16 22:54:09 +02:00
018d0ba085 Redesigned HTTP downloader
- Save the data as they come rather than at once
- + some related refactoring
2021-08-26 22:22:18 +02:00
d5a472ddc0 Cosmetics 2021-08-25 00:34:31 +02:00
09a6d8655e Code cleanup 2021-08-23 22:27:36 +02:00
ab062cc3ff Improved handling of labels with separators 2021-08-16 09:00:36 +02:00
78e8b03d66 Code cleanup 2021-08-10 20:44:16 +02:00
69cc6ccb75 Render symbols/labels for not rendered areas 2021-07-27 21:53:24 +02:00
f042f11eed Fixed rule evaluation logic 2021-07-27 21:52:37 +02:00
7676a21fc3 Some more file open logic fix/improvement 2021-07-22 00:32:36 +02:00
dc6a57338e Code cleanup 2021-07-22 00:31:57 +02:00
a53fedf838 Yet another unnecessary file open remove 2021-07-21 02:06:35 +02:00
3f3ccb6856 Cache the open file descriptors between successive raster loads 2021-07-19 22:51:00 +02:00
2ea16eaaab Do not open/close the data files when not accessing them 2021-07-19 22:47:44 +02:00
8bd08b31a3 Give the flags human readable names 2021-07-18 22:32:49 +02:00
29f9fb7a68 Some more error checking 2021-07-13 19:58:12 +02:00
b04ac5fae3 Some more style error checks 2021-07-13 19:43:29 +02:00
c5e1872c2e Fixed "float font sizes causing crash on style load" issue 2021-07-13 17:31:37 +02:00
3d7e64a470 Removed the artificial POI zoom level limits 2021-07-09 07:56:35 +02:00
34e3e04e03 Improved error handling/reporting.
+ refactoring
2021-07-01 22:18:45 +02:00
f4d0c7f032 Remove all the remaining obscure micro-optimizations 2021-07-01 08:54:48 +02:00
17ed28ebf7 Cosmetics 2021-06-28 23:48:02 +02:00
0dcfeeead1 Fixed error handling 2021-06-27 21:27:02 +02:00
c0c7e9046a Code cleanup 2021-06-27 16:00:27 +02:00
f5ea667f34 Improved error handling 2021-06-27 16:00:08 +02:00
1a3660ba2f Cosmetics 2021-06-22 07:42:48 +02:00
057c625283 Improve WKT parsing compatability 2021-06-21 23:35:31 +02:00
47d9eea1af Use propper basename in extension replace 2021-06-21 23:34:29 +02:00
3244dd675d Fixed QT6 build 2021-06-17 22:40:37 +02:00
319f1180f1 Cosmetics 2021-06-17 22:13:31 +02:00
ec5a1c7851 Added support for world file maps 2021-06-17 21:58:25 +02:00
7163441cb5 Fixed pixel align issue 2021-06-04 21:04:09 +02:00
8589716a59 A little bit more sane bitmask 2021-05-31 22:37:55 +02:00
d39bd296f6 Properly handle Mapsforge world maps 2021-05-27 22:07:09 +02:00
441ccc59d0 Added support for font-family style parameters 2021-05-27 22:06:14 +02:00
14b884f61a Removed obsolete include 2021-05-09 22:40:24 +02:00
cbaecee4a8 Code cleanup 2021-05-09 22:35:05 +02:00
2e2fee560f Switched to Qt5 signal/slot API 2021-04-28 00:01:07 +02:00
9f3917b0f2 Fixed crash when loading Trekbuddy atlases or Garmin GMAP as map dirs. 2021-04-25 10:00:15 +02:00
3c8ac118ae propper hidpi icon scaling 2021-04-18 18:10:23 +02:00
663859ef1c Improved mapsforge hi-dpi rendering 2021-04-18 12:20:07 +02:00
a4e39a98c0 Improved area labels rendering 2021-04-17 13:23:53 +02:00
c29acb1aea Only do the layered painting for areas 2021-04-17 00:43:00 +02:00
cdd5c47da3 Only shift the top left corner 2021-04-16 22:56:34 +02:00
b65682a828 Fixed/improved label rendering 2021-04-15 23:11:47 +02:00
f1396b6eff Do not touch the pixmap outside the painter 2021-04-15 09:40:31 +02:00
ce6f03de73 Layer rendering issue fix + optimization 2021-04-14 22:03:06 +02:00
f97f33f111 Some more build fix 2021-04-13 22:56:10 +02:00
0a04869f05 Fixed build on some Qt versions 2021-04-13 22:23:27 +02:00
071056b9bc Optimization 2021-04-13 20:30:27 +02:00
a42709e6a2 Added polygon labels rendering 2021-04-11 11:37:43 +02:00
f2585486b6 Only use the wildcard compare where it should be used
+ QT6 build fix
2021-04-10 15:49:48 +02:00
44a5e5de81 Added support for Mapsforge maps 2021-04-10 15:27:40 +02:00
98e30fe930 RTrees can not be copyied! 2021-03-21 21:23:00 +01:00
ce0d50e4aa Yet another CRS URI format (used by Swisstopo) 2021-03-20 23:06:09 +01:00
659cf4cc7a Preserve directory structure when loading the maps 2021-03-20 09:59:03 +01:00
8196b96f65 Fixed error handling 2021-03-19 20:09:11 +01:00
a4648020d9 Code cleanup 2021-03-19 09:12:42 +01:00
0a87c06b0d Optimization 2021-03-19 08:42:20 +01:00
b458c53be4 sqlite -> SQLite 2021-02-13 10:19:17 +01:00
a2390ae26f A much more sane raster tabel load... 2021-02-10 21:26:26 +01:00
af3b41cc92 Localization update 2021-02-09 22:51:19 +01:00
0929e9a692 Added support for sqlitedb maps (Locus, OsmAnd, RMaps) 2021-02-09 21:05:23 +01:00
c4599e6c4c Fixed AQM maps display with "world-level" tiles
+ code cleanup
2021-02-09 20:09:14 +01:00
946f30f696 A little bit more sane feature check 2021-02-09 20:06:11 +01:00
de064c7ea1 Code cleanup after recent SubFile redesign 2021-02-08 19:54:14 +01:00
145a46686e Propper error checking 2021-02-07 11:53:10 +01:00
065d52d98b Propper error handling 2021-02-07 11:46:03 +01:00
d769ec4f06 Propper error handling 2021-02-07 11:43:30 +01:00
1830c038f3 Fixed assignment instead of compare 2021-02-07 09:08:28 +01:00
c82e97b1ca Code cleanup 2021-02-05 21:58:34 +01:00
86c6fa7b03 Added support for AlpineQuest AQM maps 2021-02-04 23:22:16 +01:00
5cec192a1c Removed BOM 2021-02-03 23:34:03 +01:00
f73097af86 Cosmetics 2021-02-03 23:15:52 +01:00
2f740d5b8e Code cleanup 2021-02-03 22:56:30 +01:00
b9c1c6c6cf Fixed block read algorithm 2021-02-03 22:49:06 +01:00
731f2d7e6d Added an optimized subfile block read 2021-02-03 22:16:00 +01:00
d2a1271348 Optimization 2021-02-01 20:06:05 +01:00
47b6c9d116 Code cleanup 2021-01-31 14:54:21 +01:00
97dbfb163b Scale the painter, not the images for performance reasons 2021-01-31 10:30:06 +01:00
33f2002a52 Do not cache the raster data 2021-01-27 21:18:06 +01:00
02c3682758 Added propper error handling 2021-01-25 23:01:36 +01:00
bf613f1b6d Added support for raster polygon backgrounds 2021-01-25 21:37:07 +01:00
6d8ccd2216 Unified path -> name conversion 2021-01-17 19:33:06 +01:00
7217f9acfc Cosmetics 2021-01-15 06:44:31 +01:00
925ddffba5 Remove accidently added BOM 2021-01-11 23:41:44 +01:00
14a9c0a8cb A little bit more sane binary search 2021-01-11 23:38:46 +01:00
cb8c19a2bc Yet another retype for MSVC/qt6 2021-01-11 00:30:52 +01:00
f4ee36a173 Silence Qt6 MSVC warning 2021-01-10 16:17:19 +01:00
ae1e357fb7 See if this silences MSVC2019... 2021-01-10 15:42:29 +01:00
1468528a62 Try to silence some more MSVC warnings 2021-01-10 15:21:00 +01:00
a568efadd2 Silence MSVC warning 2021-01-10 15:03:32 +01:00
815071fc55 Use propper qHash return values on Qt6 2021-01-10 13:23:43 +01:00
1b842ab2f0 Fixed crash on invalid KMZ maps 2021-01-05 20:56:40 +01:00
6201ba1c67 Cosmetics 2020-12-28 14:42:16 +01:00
85d6357cb9 Added missing HiDPI mode support 2020-12-28 14:05:51 +01:00
b12eef7366 Use a better data descriptions 2020-12-26 14:45:38 +01:00
821790fa91 Code cleanup 2020-12-26 14:30:18 +01:00
dde8e9a22c Make the source projection of JNX and KMZ maps selectable 2020-12-24 16:33:17 +01:00
07894f3a55 Various KMZ map fixes 2020-12-23 23:05:12 +01:00
86dd6ed772 Fixed typos 2020-12-22 22:50:46 +01:00
d01a5a7e42 Added support for KMZ maps 2020-12-22 22:32:07 +01:00
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
561d8362a9 Fixed projection comparison 2020-12-14 22:04:50 +01:00
239e571358 Provide propper map bounds for overviews 2020-12-13 19:40:09 +01:00
4cef089c81 A more robust RectC to RectD algorithm 2020-12-12 10:19:48 +01:00
0f03ef4af7 Yet another map load crash fix 2020-12-10 01:09:23 +01:00
743a937f41 Fixed crashing async map loading
fixes #331
2020-12-09 23:07:05 +01:00
abd1dc2450 Added support for polyconic projections 2020-12-04 00:25:57 +01:00
9e70a1ffbb Added the "Load map dir" feature 2020-12-02 23:58:11 +01:00
8d52dbf59f Fixed issue with Mercator projections 2020-12-02 20:51:19 +01:00
af6082425e Propper map size must be known from the start 2020-12-01 20:17:19 +01:00
df3ee11f42 Properly handle skewed charts 2020-12-01 19:03:58 +01:00
8423fc1230 Remove the untested and broken NOS stuff 2020-11-28 20:34:25 +01:00
2431f432d4 Use the right Mercator 2020-11-28 14:50:10 +01:00
0cc6908b30 Fixed broken projection comparsion
+ refactoring/code cleanup
2020-11-28 14:48:20 +01:00
96733883cb Added support for BSB charts maps 2020-11-27 01:11:50 +01:00
75bd542feb A more sane (and usefull) angular units compare 2020-11-19 21:47:45 +01:00
c43a68c3b0 Inform about the whole parameter combination that failed to load 2020-11-19 21:46:25 +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
515f1aeb27 Use propper structure names 2020-10-14 22:04:32 +02:00
3b68f497fe Fixed ODR (One Definition Rule) violation 2020-10-12 20:05:17 +02:00
5a4de1cef0 Accept case insensitive authorities names 2020-10-11 21:33:19 +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
51becc4bf1 Dummy non-class callback functions are not needed 2020-07-02 23:51:15 +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
c461b2e549 Added support for non-standard 8-parts CRSs 2020-05-02 09:48:30 +02:00
8965f450ce 32 layers ought to be enough for anybody 2020-04-30 21:46:41 +02:00
a958544667 Added support for IMG maps overlays 2020-04-26 15:46:42 +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
159e5aeae9 Fixed error handling 2020-04-22 00:47:12 +02:00
c1584f30d2 Limit the map bounds properly based on projection, not a magic height 2020-04-21 23:26:35 +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
7811527239 Rather show less road shields than more 2020-04-15 22:48:28 +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
b1647d944c Silenced clang warnings 2020-03-27 23:09:13 +01:00
77ac919b83 Fixed broken error path reporting 2020-03-27 23:03:11 +01:00
82c0c1f8a7 Asynchronous WMS/WMTS map loading
(also fixes crash on OS X)
2020-03-17 21:06:51 +01:00
23c18d4acd Optimization 2020-03-07 19:24:39 +01:00
9859608115 Added missing support for URLs defined in OnlineResources 2020-03-04 19:47:23 +01:00
9f62b7114e The service parameter is expected in the GetMap request by some servers
(The WMS specification is not 100% clear here)
2020-03-03 09:38:18 +01:00
c85f404d28 Enable specifiing of format parameters 2020-03-03 09:29:16 +01:00
521369a6ec Make the WMS tile size configurable 2020-03-01 13:59:15 +01:00
45a6cdeda0 Strip the format parameters for format comparsion 2020-03-01 13:26:19 +01:00
ee24bd54f1 Fixed tile cache reload issues 2020-03-01 11:43:08 +01:00
cc22df3bf2 Cosmetics 2020-03-01 10:30:00 +01:00
d7f0cda4b2 Properly parse the ScaleHint tag 2020-02-29 21:40:13 +01:00
a898ff2807 Use 72dpi in the ScaleHint to scaleDenominator transformation 2020-02-29 20:11:49 +01:00
9dd4e117f6 Added missing WMS 1.1 ScaleHint handling 2020-02-29 13:47:27 +01:00
015a9187a0 Fixed memory leak
(formal only, the data is allocated during the whole application life anyway)
2020-02-20 09:02:01 +01:00
54b6225c6c Fixed "rect inversion" problems 2020-02-17 19:23:36 +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