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

881 Commits

Author SHA1 Message Date
822a0c2866 Tile search can be done lock-free 2023-05-21 09:14:19 +02:00
a92d6efec6 Do not do any time consuming actions in the mapview redraw callback
On all vector maps (ENC, IMG and Mapsforge), do the data loading
asynchronous like the tile rendering.
2023-05-19 19:33:22 +02:00
8a72b20af8 Added support for all paths scaling modes 2023-05-19 01:30:54 +02:00
e351eb6370 Only preallocate the memory when usin moveto/lineto 2023-05-17 23:10:45 +02:00
81e967f20d Only fetch data when the rect is valid 2023-05-17 23:08:17 +02:00
cf81a90865 Some more micro-optimizations & code cleanup 2023-05-16 23:03:07 +02:00
d0cea97c90 Added support for custom HTTP headers in map tile requests 2023-05-13 15:01:35 +02:00
ddc7eb7149 Do not outline soundings like in ENC maps 2023-05-12 10:19:52 +02:00
bb22ad95b7 Use the point label as additional source for the id hash
Some (marine) maps have different points with the same type on the same
position.
2023-05-11 22:57:35 +02:00
60e83b24f9 Use as much as possible of the 64b hash in Qt6 2023-05-11 21:31:10 +02:00
d9c0770b51 Code cleanup 2023-05-06 21:53:40 +02:00
ca6c7247c0 Added missing cache insert 2023-05-06 16:14:49 +02:00
ccfb748404 Fixed KMZ maps bounds computation 2023-05-04 21:14:52 +02:00
a4a54101a3 Removed forgotten debug stuff 2023-05-04 09:51:42 +02:00
97e12d809f Map API refactoring
Including several map providers refactoring/rewrite
especial KML, JNX and TrekBuddy atlases.
2023-05-04 09:38:35 +02:00
62aabe0c56 If there are broken matrix limits, ignore them 2023-04-27 00:16:54 +02:00
2bd25dd9b0 Fixed build with Qt < 5.13 2023-04-25 23:33:54 +02:00
8cea06f2ad Improve SQLite-based maps error reporting 2023-04-25 22:52:55 +02:00
1d589e25d8 Some more Mapsforge microoptimizations + code cleanup 2023-04-25 22:11:47 +02:00
1eaaf719fd Code cleanup 2023-04-25 00:02:50 +02:00
6c91060cbb Some more Mapsforge micro-optimizations 2023-04-23 11:01:18 +02:00
ce4f0472c0 Use integers as tag keys in Mapsforge maps 2023-04-22 17:28:32 +02:00
229af4c749 The coordinates and the point type are sufficient for a unique ID 2023-04-19 00:33:04 +02:00
a928cc4ccb Cosmetics 2023-04-16 09:42:00 +02:00
2824751615 Allow advanced CSV formating in CRS files 2023-04-15 03:18:52 +02:00
e5199f8648 Redesigned CRS logic (including CSV files structure) 2023-04-13 08:39:33 +02:00
b6ca28e159 Render circles 2023-04-08 00:34:33 +02:00
648627b17f Use style-defined priorities
+ code cleanup
2023-04-06 23:29:05 +02:00
2aa759a4bc Filter all way references, not only "ref"s 2023-04-06 09:41:31 +02:00
84dc58da71 Code cleanup 2023-04-05 21:50:19 +02:00
25838ad02d Removed obsolete header include 2023-04-05 21:02:20 +02:00
6cd122f59b Fix/improve Mapsforge tiles rendering 2023-04-05 19:28:17 +02:00
981bd33680 Properly encapsulate the ENC-specific text point 2023-04-05 19:27:25 +02:00
8b24aa17e2 Increase path render instructions cache 2023-04-04 00:29:50 +02:00
6fc5a2f67d Added support for the "text-transform" attribute 2023-04-04 00:22:15 +02:00
d794de5818 Added support for curved lines 2023-04-03 23:53:57 +02:00
81f695a672 Fixed crash on empty IMG/GMAP maps 2023-04-03 23:29:35 +02:00
84a592998d Only tile big (> Qt OpenGL cache size / 2) images 2023-04-02 14:36:03 +02:00
c114383c85 Do not outline countour height entries 2023-04-01 12:04:21 +02:00
164e59602e Added missing BCNCAR rendering 2023-03-30 00:00:45 +02:00
b80cd05d4b Added currents rendering 2023-03-25 13:31:15 +01:00
46109d0ce0 Render masts as pylons 2023-03-25 10:55:32 +01:00
cd1f80f2c1 Label sizes adjustment 2023-03-25 00:12:06 +01:00
dbe407d9d9 Various ENC rendering improvements 2023-03-24 22:54:53 +01:00
54d6016b1a A better point items layout algorithm 2023-03-24 09:18:13 +01:00
f057ebdbb7 Added fog signals rendering 2023-03-23 01:05:44 +01:00
416bd3472f Render lights merged with the root objects, not as separate objects 2023-03-22 00:41:03 +01:00
048198dfe1 Removed duplicit map error debug output 2023-03-18 10:11:11 +01:00
152f17f15a Do not try to load the style when it does not exist 2023-03-18 09:04:55 +01:00
62f3343f75 Render international border lines 2023-03-16 21:37:27 +01:00
07581f027b Fixed header length check 2023-03-16 20:58:28 +01:00
6105783a6d Redesigned marine icons
Added marine icons outlines to make the icons visible on dark backgrounds.
2023-03-02 00:43:20 +01:00
00a349575c Marine maps draw order fix 2023-02-28 23:58:03 +01:00
f026387d76 Fixed broken handling of IMG "multi-maps" (maps with overviews) 2023-02-27 22:06:31 +01:00
108444d29b Fix multiple MSVC warnings 2023-02-25 11:06:14 +01:00
ed638bb5fc Fixed marine charts rendering 2023-02-24 20:00:50 +01:00
ae3d190e08 Do not unnecessary convert the image tiles to pixmaps 2023-02-23 22:46:45 +01:00
a5916cad90 Make the MSVC2019 Debug builds compile 2023-02-23 22:45:42 +01:00
7a53fb8e01 Remove the qpainter/qimage draw workaround
Seems to be fixed in newer Qt versions and it did not properly work in older
Qt versions anyway...
2023-02-22 23:22:18 +01:00
9538d15d79 Fixed centroid computation 2023-02-19 14:47:57 +01:00
bfeb6d266e Some more iso8211 code cleanup 2023-01-26 01:13:15 +01:00
af3e5d41c2 Split the config header to config+hash headers 2023-01-26 01:11:56 +01:00
ab76521990 ISO8211 API cleanup 2023-01-19 10:08:17 +01:00
ee73908231 Do not treat Ozimaps as directories
Directory parsing was stopped at the level of the map which is not what we
want - users would have to create separate directories for every Ozimap.
2023-01-19 10:04:03 +01:00
3af98b6785 Fixed typo 2023-01-16 21:16:20 +01:00
21c02010f7 Improved marine charts render style 2023-01-14 13:00:36 +01:00
c209e24db8 Optimization/code cleanup 2023-01-14 08:45:18 +01:00
9ff7ecea97 ENC signal stations 2023-01-11 23:03:54 +01:00
78e3c78197 Added safety zone lines 2023-01-09 23:58:03 +01:00
65515143eb Added missing include guard prefix 2023-01-05 21:44:03 +01:00
88f7e13500 Added alignment check 2022-12-23 08:35:59 +01:00
ae49e9f2fd Turbulences and pilot boarding places 2022-12-10 18:41:35 +01:00
ca3e0eda49 Yet another ENC style improvement 2022-12-10 11:59:48 +01:00
d33716e3af Various ENC render style enhancements 2022-12-08 00:29:39 +01:00
ff2dd6cdec Code cleanup 2022-12-05 08:52:27 +01:00
7900e88907 Some more ENC style improvements 2022-12-04 23:09:59 +01:00
9b90cf5783 Fixed display order 2022-12-04 19:32:55 +01:00
b7ea02bc44 Some more ENC style improvements and fixes 2022-12-04 12:39:47 +01:00
07954b7d1a Prohibited areas 2022-11-26 19:22:09 +01:00
08dbb315cb Turning basins 2022-11-26 16:51:12 +01:00
82b8314b74 Some more ENC stuff 2022-11-26 15:14:41 +01:00
12b17487ac Some more ENC render style enhancements 2022-11-26 13:05:08 +01:00
a05098f502 Fixed render order 2022-11-25 23:23:08 +01:00
4cfb967e39 Some more ENC render style improvements 2022-11-25 23:20:35 +01:00
04f45013eb Some more inland wates ECDIS style fixes/improvements 2022-11-25 02:16:17 +01:00
0c8a77a4ca Fixed broken inland ECDIS styles 2022-11-24 09:34:03 +01:00
f47a5e50ad MORFAC & CRANES rendering 2022-11-19 23:55:17 +01:00
0c5076eaaf Added missing fences rendering 2022-11-19 16:15:50 +01:00
ac5f4cafeb Code cleanup 2022-11-17 13:26:45 +01:00
ccb0364e76 Some more missing ENC objects 2022-11-17 13:05:38 +01:00
414bdead17 Docks render style 2022-11-17 10:37:05 +01:00
8cf09a68d1 Some more missing ENC render style 2022-11-17 08:25:53 +01:00
e4c79d7275 Added missing dams and pylons rendering 2022-11-16 22:51:16 +01:00
a718f1e122 Properly handle non-ASCII characters
(Support for UCS-2 encoded files is still missing as there is no such sample
file available.)
2022-11-16 22:47:30 +01:00
bd2d66ecd3 Added traffic lines arrows 2022-11-14 22:29:27 +01:00
c09525f306 Fixed map order 2022-11-14 07:09:46 +01:00
5bc7487c3a Still wrong... Fixed the broken mask. 2022-11-11 11:26:15 +01:00
9b73b0f70e Fixed broken points ordering 2022-11-11 10:40:59 +01:00
4f1f3e569b Limit ENC maps zooms
+ somemore style adjustments
2022-11-10 23:53:34 +01:00
e4847ac243 Some more ENC objects to render 2022-11-10 09:43:14 +01:00
c96a0fd8f4 Added missing traffic separation line style 2022-11-09 23:12:40 +01:00
877d9331e4 ENC map style enhancement
+ code cleanup
2022-11-09 21:37:33 +01:00
9d8c23bc32 Fixed crash on ENC map unload 2022-11-09 21:37:05 +01:00
af688314fb Define symbols draw order 2022-11-08 01:16:38 +01:00
1946c3cc6f Image polygon lines 2022-11-08 00:38:45 +01:00
810e999068 Removed unused header include 2022-11-06 16:00:51 +01:00
b13bac3af9 Use asynchronous tile rendering in ENC maps 2022-11-06 15:26:28 +01:00
e1d1842fa6 Fixed error handling 2022-11-06 14:20:19 +01:00
59523f46ef Rather read the files twice than storing all the data in memory 2022-11-06 12:33:24 +01:00
75100cd500 Added unsurveyed area render style 2022-11-06 10:12:45 +01:00
015598b951 ENC inland waters style hack 2022-11-05 20:38:08 +01:00
67209c4ad5 Do not outline soundings 2022-11-05 17:43:32 +01:00
3385fc86d3 Code cleanup 2022-11-05 14:08:08 +01:00
fdd3613c4a Drop the unused lines background drawing 2022-11-05 13:41:13 +01:00
4ce5dfbcf9 Yet another ENC style improvement 2022-11-05 13:34:01 +01:00
2b34140746 Icons structure cleanup 2022-11-05 10:12:14 +01:00
0dee97dc54 Improved ENC render style 2022-11-05 09:47:13 +01:00
8ef1aa0f40 Added missing attributes header file 2022-11-04 22:51:54 +01:00
5ef31f47f2 Improved ENC style 2022-11-04 22:47:21 +01:00
cc2703e71d ENC parser optimizations 2022-11-04 09:53:37 +01:00
37f9d97a9e Cosmetics 2022-11-04 09:34:54 +01:00
e8f3d028dd Fixed build with some Qt versions
+ ENC style enhancements
2022-11-04 09:22:17 +01:00
f8d856b7ee Added support for ENC maps 2022-11-04 09:03:36 +01:00
94b1815e81 Some more missing marine style stuff 2022-10-12 23:34:47 +02:00
6768647070 Fixed broken zoom 0 on HiDPI displays 2022-09-14 00:21:50 +02:00
4653f771a6 Code cleanup 2022-08-15 09:12:37 +02:00
22e5ffaa0c Added support for non-SQL Orux maps
+ error handling fixes/improvements
2022-08-11 23:39:36 +02:00
e2bdc1aae6 Added support for RD grid and Ellipsoidal mercator projections
+ removed (aparently) unsupported projections
2022-08-11 00:04:45 +02:00
6d2e6f64d3 Added support for LAEA projections to Orux maps 2022-08-08 23:24:33 +02:00
183cb4825c Fixed cut&paste errors 2022-08-08 10:11:19 +02:00
7b8fff7440 Properly sort the Orux maps zoom levels 2022-08-08 00:21:24 +02:00
a01ff33768 Add another alias for WGS84 2022-08-08 00:20:30 +02:00
c3117bb3ac Fixed projection parameters parsing in Orux maps 2022-08-07 23:44:48 +02:00
6e40d8cbc7 Handle Orux maps as directories
(there can not be two Orux maps in the same directory)
2022-08-05 08:40:38 +02:00
0ef28cda0f Fixed map calibration 2022-08-05 08:34:16 +02:00
399299d192 Added support for Orux maps 2022-08-04 00:06:36 +02:00
e9d93bcc03 Properly sort th map types 2022-07-18 08:52:12 +02:00
2cb186e674 Removed debug code 2022-07-15 21:52:46 +02:00
91150e97db Added support for GEMF maps 2022-07-15 21:24:49 +02:00
8b4daa43e3 Improved error reporting 2022-07-08 02:14:47 +02:00
97fdcfdd74 Code cleanup 2022-07-06 14:58:41 +02:00
90c1e52fb5 Fixed map bounds issues 2022-07-06 12:50:57 +02:00
028d87b443 Added support for Osmdroid SQLite maps 2022-07-05 11:32:14 +02:00
74b73d8700 Limit line lengths in line-based parsers 2022-07-05 11:08:57 +02:00
23e8154a1f Fixed map dir loading on Android 2022-06-19 23:05:01 +02:00
5af3808895 Properly compute the header size
+ code cleanup
2022-06-11 10:19:14 +02:00
1f2e460c87 Silenced clang warning 2022-06-11 09:48:55 +02:00
0f3fea5460 Improved map errors reporting 2022-06-10 08:09:07 +02:00
e7d6c3f76a Do not make unnecessary checks when loading IMG maps and TrekBuddy atlases 2022-06-09 00:38:25 +02:00
306116dbde Fixed possible crash on map unload 2022-06-02 23:22:34 +02:00