ca0d859c6d
Fixed include guard comment
2024-05-20 20:20:57 +02:00
947d2d62b3
Added DEM filtering (bluring)
2024-05-20 19:17:27 +02:00
11677f5e35
API cleanup
2024-05-20 19:10:56 +02:00
6ef6644260
Fixed DEM display glitches
2024-05-19 22:06:57 +02:00
f6f9e4146d
Remove cut&paste remains
2024-05-19 19:03:49 +02:00
d1401bc302
Show the map elevation from the map DEM if available
2024-05-19 18:59:40 +02:00
488e5e1cac
Fixed build on older Qt5 versions
2024-05-19 16:39:12 +02:00
ff4f3eea60
Use the map-provided DEM data for hillshading on IMG maps
2024-05-19 16:14:23 +02:00
5940a2ced4
Silence clang warnings
2024-04-23 01:04:38 +02:00
33c45f845a
Code cleanup
2024-04-21 00:00:24 +02:00
55de85579c
Move the tables to the function where they are used
2024-04-20 19:57:52 +02:00
86f98aca42
Make it clear the tables are not modified during runtime
2024-04-20 19:50:33 +02:00
31cd65f15e
Remove the zoom offset hack
...
Now that we are back to the map data defined tile size, it makes no sense any
more. Additionaly it crashes with world maps as zoom 0 becomes -1...
2024-04-18 20:35:31 +02:00
089ccfde71
Code cleanup
2024-04-18 20:35:05 +02:00
a0ce50e7e4
Use QVectors instead of plain arrays
2024-04-16 10:26:17 +02:00
031d82f689
Code cleanup
2024-04-16 09:17:18 +02:00
99f620f101
Fixed capitalization algorithm
2024-04-16 08:52:54 +02:00
5ef29bf827
Some more code cleanup
2024-04-14 23:32:44 +02:00
6f029d81a0
Code cleanup
2024-04-14 22:15:30 +02:00
90395a32dd
Improve the capitalization algorithm
2024-04-14 17:33:49 +02:00
6210d1b983
Switched back to diagonal pattern for national parks
2024-04-14 14:50:34 +02:00
0c7296e006
Cosmetics
2024-03-23 09:22:03 +01:00
01dfbb3706
Fixed error line reporting in CSV-based files
2024-03-23 09:16:41 +01:00
e8b4105365
Some more missing PCSs
2024-03-23 08:36:57 +01:00
2eeeb965dc
Added missing OziExplorer projections
2024-03-20 08:29:55 +01:00
07435a3fdc
Code cleanup
2024-03-20 07:45:49 +01:00
a48b46d0fb
Refactoring
...
Moved Projection::Method and Projection::Setup to the Conversion class
2024-03-19 22:39:42 +01:00
bd8d2267c7
Check if the conversion is valid/exists when loading the PCS entry
2024-03-19 19:12:47 +01:00
5945ceaa09
Fixed debug code
2024-03-12 09:56:35 +01:00
ff50ffa003
Use the CT type for geographic/projected projections distinguishing
2024-03-11 23:12:51 +01:00
2f07c51d17
Use the original data tile size for rendering to prevent grid artifacts
2024-03-07 09:30:24 +01:00
83c2a309fb
Includes cleanup
2024-03-07 08:24:45 +01:00
20f1003ce6
Increase hillshading contrast
2024-03-01 00:37:58 +01:00
19fcccb6aa
Code cleanup
2024-02-29 08:19:10 +01:00
c94d7b5905
PArks/military areas style adjustement
2024-02-28 21:51:18 +01:00
69c4e6d2dc
Aded support for downloading hillshading DEMs
2024-02-27 21:36:16 +01:00
2026036015
Do not draw IMG contour lines that have no color defined
2024-02-27 07:20:09 +01:00
af7696bfd7
Do the hillshading in alpha layer only
2024-02-26 10:27:58 +01:00
f3bb7ada9a
Split the alpha and z values
2024-02-26 09:10:38 +01:00
6ccfe0eb21
Raster tile APIs unification/cleanup
2024-02-23 09:45:41 +01:00
d42c6831df
Fixed debug code
2024-02-23 09:25:41 +01:00
f7a81cafd5
Move the DEM sources to the common folder now that we use them in map/data
2024-02-22 21:34:34 +01:00
108e68c7c9
Prevent zoom change due to float computations errors
2024-02-22 21:23:37 +01:00
3f6eca7404
Do as much as possible in parallel
2024-02-21 18:40:28 +01:00
ed11bbd730
Code cleanup
2024-02-21 18:39:21 +01:00
cf86fb7557
Added hillshading to vector maps
2024-02-21 08:49:09 +01:00
f21a155f79
Do not pretend Matrix can have bigger indexes than int
2024-02-19 22:06:18 +01:00
26d2403fc0
Code cleanup
2024-02-18 15:05:54 +01:00
334f191fb4
Improved debug code
2024-02-18 11:29:51 +01:00
0a281f8ca8
Fixed broken ENC atlases names (center locations)
2024-02-18 07:38:46 +01:00
32262e7c46
Added missing reference
2024-02-17 16:28:09 +01:00
88b458e959
Use QVector as the data container in Matrix
2024-02-17 11:54:07 +01:00
ea29155463
Code cleanup
2024-02-12 22:38:42 +01:00
ba2fd6d2e2
Reload the ENC style on device pixel ratio changes
2024-02-12 10:02:19 +01:00
c4b1671fec
Added missing cleanup
2024-02-11 23:46:00 +01:00
7bcd5f63bc
Downscale HiDPI images rather than upscale the standard versions
2024-02-11 16:47:32 +01:00
3b3f06cec8
Silenced some more clazy warnings
2024-02-09 09:46:49 +01:00
268ec1050b
Fixed highway line
2024-02-09 08:23:52 +01:00
d214819298
Silenced clazy warnings
2024-02-09 02:29:51 +01:00
52e0d921da
Some more IMG POI icons additions + fixes
2024-02-08 22:12:00 +01:00
9464bbc13f
Use a better high/low speed ramps style
2024-02-08 01:03:07 +01:00
4e7c6e39aa
Improved bitmap lines drawing
2024-02-07 22:10:40 +01:00
96b602bf14
Use a railway line color that fits the ENC style
2024-02-06 23:44:18 +01:00
f7f680b93e
Fixed multiple HiDPI map render issues
2024-02-06 22:37:01 +01:00
fe70b31212
Use SVG Maki icos instead of PNGs
2024-02-06 22:36:28 +01:00
a3bac33bf4
Use a more accurate and faster top left xy coordinate computation
2024-02-04 17:42:36 +01:00
7f7de87e99
Drop Qt5Compat dependency
...
Use QStringConverter instead of QTextCodec on Qt > 6.5.
Qt6 builds now require Qt build with ICU support for the non-UTF encodings to
work!
2024-01-18 10:04:38 +01:00
866b2c27ca
Consistently initialize all stuff in constructor
2024-01-05 00:20:05 +01:00
07614a8f74
Added missing header includes
2024-01-04 18:53:43 +01:00
6b4990a204
Fixed error handling
2024-01-02 19:11:04 +01:00
a1e10c395a
Some more code cleanup
2024-01-01 13:02:42 +01:00
c97561add4
Code cleanup
2024-01-01 10:58:23 +01:00
d994fae4ce
Fixed the change that has broken non-TAR maps
...
Do not fail on the first image read error - there may be files with a "_%u_%u."
file name match that are not image tiles.
2024-01-01 10:48:16 +01:00
789606cf86
Silenced some more clazy warnings
2023-12-31 13:57:43 +01:00
542b3e920e
Fixed read error check
2023-12-31 13:24:36 +01:00
0248ecb254
Improved tile file check
2023-12-31 13:20:04 +01:00
7860ce8acc
Use the info we already have for calibration file type distinction
2023-12-31 10:05:02 +01:00
2541797e7d
Improved error reporting
2023-12-31 01:12:46 +01:00
e13d6dfc4b
Fixed broken image dimensions checks
2023-12-29 18:01:28 +01:00
ca71eb9d93
Header includes cleanup
2023-12-26 20:46:52 +01:00
14dc2af877
Code cleanup
2023-12-26 14:14:08 +01:00
9380f31022
Code cleanup
2023-12-25 11:12:52 +01:00
5f76427ba4
Code cleanup
2023-12-25 10:49:50 +01:00
3d27b4ea00
The codec is always set in load(), use the default constructor
2023-12-21 17:27:27 +01:00
502a7b4129
Do not have a separate class/file for ENC style retrieving, move
...
the stuff to the ENC raster tile constructor
2023-12-21 16:57:11 +01:00
6f32c73684
Added infinitive recursion assert
2023-12-21 16:55:42 +01:00
829d85a70a
Optimize TextCodec initialization
...
QTextCodec initialization is very slow due to it's broken caching in Qt when
ICU is enabled. Make TetCodec initialize fast anyway as it may be used very
often in IMG maps (every LBL subfile has it's own codec!).
2023-12-21 01:31:44 +01:00
bff27df10c
Fixed race conditions on local static data
2023-12-21 01:13:36 +01:00
112dc59cf2
Fixed broken map scale (ruler) on HiDPI maps
2023-12-18 20:35:55 +01:00
aa892f6c3f
Limit the overzoom by the resulting tile size rather than number of levels
...
Huge sizes may cause broken rendering and cache ping-pong. Do not allow
resulting tile sizes > 4096x4096px.
2023-12-18 20:32:00 +01:00
c1c8f6303c
Code cleanup
2023-12-11 21:13:11 +01:00
5fcc27c176
Fixed broken TMS maps rendering
2023-12-11 20:31:13 +01:00
77e9fae19d
Asynchronous rendering of online vector maps
2023-12-11 20:11:16 +01:00
148fc76d5a
Added support for online vector maps overzoom
2023-12-11 18:54:46 +01:00
6f1f5fd965
Limit the overzoom to max 3 levels
2023-12-10 15:34:39 +01:00
58cd2a826d
Added support for MVT overzoom
...
Requires QtPBFImagePlugin version 2.7
2023-12-10 15:24:39 +01:00
5525ba6e8c
Code cleanup
2023-12-10 08:51:18 +01:00
63d3558b14
Provide the zoom level to QImageReader when fetching the tile size
...
Although technically not needed here, it workarounds the issue with the broken
Qt SVG imageformat plugin (QTBUG-119910).
2023-12-10 08:46:26 +01:00
eee4f31369
Cosmetics
2023-12-09 18:48:44 +01:00
bac55e317b
Added workaround for broken Qt SVG image plugin colliding with the MVT plugin
2023-12-09 18:00:24 +01:00