1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-25 12:15:54 +01:00
Commit Graph

835 Commits

Author SHA1 Message Date
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
26229e5871 Fixed tile bounds exceeding map bounds 2020-02-16 08:43:37 +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
7b03c4d852 Fixed error handling 2020-02-13 22:48:47 +01:00
eb9767f2dd Cleanup the map loading code 2020-02-12 20:32:57 +01:00
8d06ab6208 Enable loading of GMAP maps when Garmin BaseCamp has associated them 2020-02-12 09:37:03 +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
df1be4aeb9 Added missing reference 2020-02-04 23:03:50 +01:00
fa0c09b30c Code cleanup 2020-02-04 23:01:47 +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
d035a307d8 Variables with underscores followed by a capital letter are prohibited by the C++ standard
Fixes #266
2020-01-23 23:19:32 +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
67a1f7e108 Includes cleanup 2020-01-19 17:05:26 +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
e38e12f89b Allow arbitrary zoom levels
Closes #244
2019-11-10 18:38:47 +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
a24d55025f Text layout tweaking & optimization 2019-10-05 12:41:42 +02:00
c365de130b Properly align the zoom 0 level with tiles of a different size than 256 2019-10-02 23:58:58 +02: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
5f5b391cd9 Added support for Geographic 2D projections (coordinate systems) in vector maps 2019-08-01 08:36:58 +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
aa3579c0be Fixed QT4 build 2019-07-13 15:14:29 +02:00
297177ad41 Cosmetics 2019-07-13 14:42:44 +02:00
0e9720f68b Optimization 2019-07-13 14:18:16 +02:00
c1f36e5fbb Improved shields layout algorithm 2019-07-13 08:36:04 +02:00
a20fd3e474 Fixed cut&paste error 2019-07-11 18:55:12 +02:00
aba78f3baa Properly handle self-asignments 2019-07-10 23:08:58 +02:00
2f24bb5462 Some more code cleanup 2019-07-10 21:49:46 +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
db0df92933 Use a smaller font for shield labels 2019-06-30 23:09:09 +02:00
537b1c3716 Added support for label shields 2019-06-30 20:39:22 +02:00
561fadb4f2 Do not resize the font on every usage 2019-06-29 10:27:12 +02:00
ebb690673c Code cleanup 2019-06-28 07:43:16 +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
f2d32b30d3 Merge branch 'master' of https://github.com/tumic0/GPXSee 2019-06-07 09:39:04 +02:00
56013c01fd Improved POI handling in IMG maps 2019-06-07 09:37:10 +02:00
b7f2eeab3b Code cleanup 2019-05-30 19:36:24 +02:00
fe69280cc5 Fixed broken zoom fit on IMG maps 2019-05-29 18:27:11 +02:00
ff3c0aafa1 Fixed memory leak 2019-05-29 18:26:29 +02:00
738b49668c Fixed broken WMS scale denominators -> zooms transition 2019-05-28 07:26:13 +02:00
3f97d12a76 Code cleanup 2019-05-21 17:59:46 +02:00
4de22d6679 Fixed broken IMG maps after print/PDF export 2019-05-21 17:44:47 +02:00
5b2af9fc9c Added support for QuadTiles maps 2019-05-20 23:23:24 +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
37c971a720 Added support for vector maps projection setting
Removed obsolete "Always show the map" setting
2019-05-14 23:01:24 +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
cdfd968592 Fixed Qt4 build 2019-03-13 08:42:18 +01:00
bf845a4a65 Added support for Geotagged JPEG files 2019-03-13 00:25:46 +01:00
d8ad020678 Added RMap Dutch grid projection support 2019-03-10 18:49:41 +01:00
e63a2e1fde Silenced MSVC warnings 2019-03-09 14:36:15 +01:00
b58adc5486 Use a less restrictive check
(some rmaps contain tiles with exceeding image data)
2019-03-09 12:09:43 +01:00
172b2b1b14 Improved rmap support 2019-03-07 22:58:43 +01:00
060f940b75 Use a shared CalibrationPoint implementation 2019-03-07 01:08:51 +01:00
e2ad2e9d98 Fixed QT4 build 2019-03-05 23:05:50 +01:00
0e404e993e Fixed some clazy warnings 2019-03-05 22:34:50 +01:00
efca589f01 Made coverity happy 2019-03-05 21:44:36 +01:00
d307ef4b98 Improved error handling 2019-03-05 20:44:10 +01:00
90dcda217e Code cleanup 2019-03-04 22:29:53 +01:00
3c3fb43993 Use the more common map type name (also used by MOBAC) 2019-03-03 21:21:24 +01:00
d2f10aca7c Added missing RMap HiDPI scaling support 2019-03-03 21:17:57 +01:00
78654aa1cf Added missing include 2019-03-03 09:36:57 +01:00
fb34f5c7db Added missing UTM S/N handling 2019-03-02 18:49:01 +01:00
c1a1c3425b Added support for (raster) RMap maps 2019-03-02 16:51:14 +01:00
6b14a7f948 Fixed cut&paste error 2019-02-26 22:16:58 +01:00
a0697a6ce7 Fixed broken equations 2019-02-26 22:16:05 +01:00
1444a88ad0 Enable empty WMTS styles 2019-02-15 20:32:53 +01:00
ec9d81c65a Added support for oblique stereographic projections 2019-02-15 20:32:13 +01:00
a6b327f773 Code cleanup 2019-02-13 00:45:34 +01:00
e88c0c34d0 Open MBTiles SQL files in read-only mode 2019-01-18 00:29:47 +01:00
b8a2b76d7c Fixed bounds computation 2019-01-14 23:47:24 +01:00
9d5725f732 Added some more polar stereographic based projections 2019-01-12 00:37:47 +01:00
fec5780da2 Added support for polar stereographic projection
closes #181
2019-01-08 21:42:28 +01:00
9f0fcdc13e Fixed broken map sources parsing 2018-12-08 02:27:27 +01:00
3c6ce2dde2 Propper handling of vector tiles scaling in all map display modes 2018-11-17 10:10:35 +01:00
4c88414677 Scale the tile images in HiDPImode when they are scalable (vector tiles) 2018-11-15 00:38:03 +01:00
bf6d7616ba The default constructor is required with some C++ compilers 2018-11-11 18:54:21 +01:00
9842214bb6 Parallelized tile loader 2018-11-10 13:18:54 +01:00
b6e9400392 Code cleanup 2018-11-10 10:44:37 +01:00
c1a217847f QPixmap is not thread safe, do the parallel computations on QImage 2018-11-10 10:40:00 +01:00
409ce889cd Added support for online PBF maps
(https://maps.tilehosting.com)
2018-11-10 00:19:51 +01:00
efc773d04b Run the parallel computation only for tiles to be (newly) rendered 2018-11-06 01:30:29 +01:00
9c6c574443 Added support for vector MBtiles 2018-11-03 00:43:52 +01:00
f762013e1e Changed application data paths to more platform-standard locations 2018-11-02 20:01:19 +01:00
f6b1344ee2 Improved error handling 2018-10-26 18:47:34 +02:00
4a612f12bb Properly handle WMTS TileMatrixLimits and default style 2018-10-15 00:20:20 +02:00
8f4ce8d38c Code cleanup 2018-10-11 18:19:35 +02:00
57d3d9c965 Cosmetics 2018-10-09 22:59:20 +02:00
58b44d33a7 Fixed broken bounds handling 2018-10-09 22:46:28 +02:00
e568806366 Never change a winning team! 2018-10-08 22:07:36 +02:00
24c03fc15b Code cleanup 2018-10-07 17:30:48 +02:00
f9af06267a Fixed HTTP2 settings handling 2018-10-07 14:22:13 +02:00
2f9751672e Code cleanup 2018-10-07 13:07:04 +02:00
e6a39b5146 Fixed QT4 build 2018-10-06 23:14:46 +02:00
6e92557806 Code cleanup 2018-10-06 21:15:06 +02:00
a7e02bdc8b Some more cosmetic optimizations 2018-10-05 07:10:49 +02:00
ed4e201b08 Cosmetics 2018-10-04 23:02:43 +02:00
06901d8d7a Fixed -Wold-style-cast warnings 2018-10-04 01:37:07 +02:00
254deae04a Code cleanup 2018-09-30 12:16:41 +02:00
bb7787b001 Refactoring 2018-09-25 21:07:44 +02:00
bc6d48d1fe Some more code cleanup 2018-09-25 01:49:08 +02:00
9bae94f30d qWarning() mesage formating cleanup 2018-09-24 23:07:11 +02:00
351fc0309a Code cleanup 2018-09-24 22:49:10 +02:00
d8116c7f5d Properly fixed the zoom 0 display issue
(without breaking non-default map bounds)
2018-09-23 21:07:16 +02:00
e9f7642cde Code cleanup 2018-09-22 14:17:24 +02:00
c39298000d Added TMS maps support 2018-09-22 13:32:54 +02:00
65b74b146d Added support for local (file:) URLs 2018-09-22 12:42:49 +02:00
d7fe0fa9bf Fixed broken automatic loading of MBTiles maps 2018-09-22 10:25:43 +02:00
5a692c71a8 Added support for tiles with a different size than 256px 2018-09-21 23:18:05 +02:00
99ea19e35a Use the map name from the metadata table if available 2018-09-21 00:19:30 +02:00
0a74684713 Improved map validity checks 2018-09-20 08:50:52 +02:00
db98f381b5 Added initial MBTiles support 2018-09-20 07:59:47 +02:00
7855c69729 Fixed WMS/WMTS URLs composing 2018-09-16 12:05:11 +02:00
d58322b412 Map API cleanup 2018-09-10 21:22:57 +02:00
fe1aaa73a0 Fixed compile warning 2018-09-10 21:21:40 +02:00
a8d183639e Fixed broken zoom 0 handling
Fixes #151
2018-09-09 09:41:04 +02:00
0a9077545b Make huge images work under OpenGL (at least memory-ineficient) 2018-08-24 12:26:32 +02:00
bbc1d43290 Fixed QT4 build 2018-08-24 00:46:06 +02:00
9f74bbb27a Some more code cleanup 2018-08-24 00:14:40 +02:00
21dbd3958d Removed obsolete method 2018-08-23 23:56:23 +02:00
92ac7c0c10 Removed obsolete define 2018-08-23 20:33:14 +02:00
1f71b3a3b2 Code/API cleanup 2018-08-23 20:26:10 +02:00
3176271955 Only create/copy the sub-images when OpenGL is used 2018-08-23 09:08:59 +02:00
d4b46a4bb6 Broken OpenGL image part drawing workaround 2018-08-22 00:14:07 +02:00
de196e8281 Splited the OfflineMap class to separate OziMap and GeoTIFF map classes 2018-08-21 20:01:47 +02:00
f376f7139b Report an error on HiDPI maps when HiDPI support is not enabled 2018-08-20 18:46:44 +02:00
cdc9e51696 Added HiDPI displays/maps support 2018-08-18 21:06:36 +02:00
121a262ea1 Remaining WGS84 deduplication 2018-07-26 23:51:11 +02:00
004e9bfef3 Fixed QT version handling in build process 2018-07-24 17:23:14 +02:00
c0e458a437 Added support for HTTP/2 2018-07-23 23:53:58 +02:00
fe4eed8aa2 Fixed error reporting 2018-07-23 21:55:43 +02:00
90473300e0 Added missing projection parameter handling 2018-07-21 10:08:26 +02:00
5706cdcfa1 Added workaround for broken nakarte.tk maps 2018-07-13 10:10:44 +02:00
d794ee4b22 Includes cleanup 2018-07-13 09:55:36 +02:00
262ee5bb5f Map API cleanup 2018-07-13 09:51:41 +02:00
5547cf668e Make Coverity happy 2018-07-10 08:58:37 +02:00
a432ff3461 Now using a strict horizontal map scale
Code cleanup
2018-06-30 12:14:58 +02:00
201256d882 Fixed loading of OziExplorer maps with missing (default) projection parameters 2018-06-30 12:12:12 +02:00
b2a34bd10f Hardcode web mercator (EPSG 3857) support 2018-06-28 22:12:16 +02:00
026cc68bf2 Includes cleanup 2018-06-04 23:40:42 +02:00
ec247d5d1d Added support for OziExplorer files with UTF8 BOMs 2018-06-02 16:41:27 +02:00
ca7016176f Added missing pixmap caching 2018-05-30 22:10:35 +02:00
2c816a509b Refactoring 2018-05-29 21:54:25 +02:00
58e752a022 Added missing coordinate system 2018-05-29 00:37:04 +02:00
7d412a274d Added support for Krovak projection 2018-05-29 00:17:20 +02:00
eeab6a399e Fixed broken map formats list 2018-05-28 22:30:13 +02:00
e4feeae064 Improved error handling + code cleanup 2018-05-24 22:11:00 +02:00
0d879e61a9 Added support for Garmin JNX maps 2018-05-22 22:40:15 +02:00
7324535bfc Some more code cleanup 2018-05-19 22:36:11 +02:00
59c95e53c4 Precompute some more constants 2018-05-19 20:55:43 +02:00
a66ca7b3a8 Includes cleanup 2018-05-19 20:32:00 +02:00
7198d610c5 Code cleanup 2018-05-18 22:22:36 +02:00
a6389f0174 Precompute e2s as well 2018-05-18 22:10:43 +02:00
be9da5aabe Some more naming unification 2018-05-18 00:21:59 +02:00
a486f9e78d Datum shift optimization (precompute ellipsoid constants)
+ projections code unification
2018-05-17 22:41:56 +02:00
81a5c712c6 Projection error handling cleanup 2018-05-16 18:52:48 +02:00
025a403c73 PI defines cleanup 2018-05-15 21:51:56 +02:00
5f47383648 Updated PCS list 2018-05-14 00:37:19 +02:00
abfb0c637a 9804 was correct... 2018-05-13 08:52:20 +02:00
c9cedebeb0 Use the propper mercator projection EPSG code number 2018-05-13 01:16:10 +02:00
be1c7fa4c2 Added support for Mercator projection (the real one) 2018-05-13 00:40:03 +02:00
2b421f3b63 Properly name the web mercator projection 2018-05-12 22:38:42 +02:00
80f13d7057 Fixed LCC2 GeoTIFFs loading 2018-05-12 21:45:58 +02:00
c8433f7b55 Added EPSG 9606 and 9607 datums to the gcs.csv file
(gcs file format change)
2018-05-12 14:48:21 +02:00
bb52003743 Includes cleanup 2018-05-12 13:18:49 +02:00
22ea1b0bca Cosmetics 2018-05-12 13:13:35 +02:00
3b0a4a30bb Use precise arc second to radian transformation constants 2018-05-11 20:06:16 +02:00
792ec17a20 Added support for EPSG:9606 and EPSG:9607 datum transformations 2018-05-11 19:54:12 +02:00
cf81e42f52 Remaining qreal/double separation
+ some minor TrekBuddy atlas issues fixes
2018-05-02 21:25:14 +02:00
beb966c58f Fixed broken returning from print mode 2018-04-28 22:18:11 +02:00
9eb2e38499 Includes cleanup 2018-04-28 19:08:21 +02:00
247eef5261 Added download retries in case of connection timeout 2018-04-28 19:07:52 +02:00
9c125a0583 Cosmetics 2018-04-28 16:14:03 +02:00
bcff05c37c Code cleanup 2018-04-28 16:07:32 +02:00
266a1d037e Code cleanup 2018-04-27 23:08:44 +02:00
f8c92cf036 Enable authorization for OSM type maps 2018-04-27 21:13:10 +02:00
566f3185f9 Separated map downloaders, added configurable connection timeouts 2018-04-27 19:31:27 +02:00
e5d566807a Fixed HTTP redirects (+addded support for relative URLs)
Fixes #104
2018-04-19 19:46:56 +02:00
c50e41dea1 Numerical instability fix 2018-04-17 22:26:20 +02:00
9e36451001 RectC now uses the expected axis direction
+ some more refactoring
2018-04-16 20:26:10 +02:00
b26a10a5b3 Added missing initialization 2018-04-16 19:14:27 +02:00
4530ec1354 Code cleanup 2018-04-15 17:32:25 +02:00
f2b72ec1b5 Fixed GeoTIFF on platforms where qreal != double 2018-04-15 16:27:47 +02:00
3f71775101 Fixed broken radius-rect computation
Always use the double type for coordinate related data
2018-04-13 21:14:12 +02:00
b4cf614f77 Added missing "other sample dimensions" support for WMS 2018-04-08 19:13:16 +02:00
c894e75c17 Adjusted stuff to comply with the new map version 1 xsd 2018-04-08 17:48:13 +02:00
259a15332e Fixed QT4 build 2018-04-07 23:04:26 +02:00
c4915891e7 Code cleanup 2018-04-07 18:42:25 +02:00
c5256b25e9 Added missing namespace 2018-04-05 21:13:48 +02:00
81b3a517f8 Use the correct axis order defaults for WMS/WMTS maps 2018-04-05 20:38:23 +02:00
3aa1ab4b4c Set a less restrictive lower bound for WMS scale denominators 2018-04-03 23:14:47 +02:00
d4fb8ed9c9 Fixed error reporting 2018-04-03 23:05:17 +02:00
4096d87a6a Improved default WMS/WMTS style handling 2018-04-03 22:35:13 +02:00
68eac5b8cc Yet another WMS corner case handling fix 2018-04-03 01:14:58 +02:00
88d6904ded Yet another WMS bounding box computation fix 2018-04-03 00:08:01 +02:00
021558b114 Fixed QT4 build 2018-04-02 23:33:10 +02:00
b8815ca9f5 Fixed layer bounding box & scale denominator range joining 2018-04-02 23:27:42 +02:00
e845e216bd Added support for WMS multi-layer maps 2018-04-02 19:59:52 +02:00
60cc869ade The "default" style does not to be set wxplicitly 2018-04-02 18:30:57 +02:00
e3e8fdbacf Fixed WMS 1.1.x support
Added support for HTTP basic authorization
2018-04-01 20:01:25 +02:00
16f2d7ad34 Added support for WMS 1.1.x versions 2018-03-31 11:27:01 +02:00
bf3589812a Initial WMS support (no multi-layer support for now) 2018-03-30 10:25:05 +02:00
8821536419 Fixed most clazy warnings 2018-03-29 00:29:08 +02:00
820e614921 Fixed broken data size copy 2018-03-26 01:02:31 +02:00
35703e3363 Refactoring 2018-03-22 20:00:30 +01:00
a54821863f Includes cleanup 2018-03-21 19:23:17 +01:00
992fd2c5cd Code cleanup 2018-03-21 19:09:37 +01:00
4b4a1902ef Indent cleanup 2018-03-21 18:52:57 +01:00
0bb3b3812c Fixed broken release builds 2018-03-19 22:40:49 +01:00
2d8bf2dbb9 Added missing Swiss grid map file support 2018-03-19 19:56:31 +01:00