1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00
Commit Graph

2155 Commits

Author SHA1 Message Date
332abd53ae Draw at least the color rectangle under the Qt 6.7.1 windows style 2024-05-24 19:16:21 +02:00
73fa197c25 Added missing fallback elevation fetch 2024-05-23 22:03:42 +02:00
c425be3741 Code cleanup 2024-05-22 21:02:26 +02:00
09d0b281c2 Shift the levels by one, not by divide by two 2024-05-22 09:00:51 +02:00
ff25f02965 Use a better "magic" DEM data rect extension computation 2024-05-22 02:02:23 +02:00
27401d58b7 Make the DEM data borders look much better 2024-05-21 20:59:06 +02:00
da2b6661f6 Replace the compiler dependent signed right shifts with a universal version 2024-05-21 20:57:21 +02:00
de76eafdfb Missing header change... 2024-05-21 20:56:55 +02:00
19cda6fbd5 Enable inlining of the "hot" paths 2024-05-21 20:55:50 +02:00
6803ee0324 Made the code more standard conforming 2024-05-21 09:14:15 +02:00
43271d9ff8 Fixed rendering glitch 2024-05-21 08:46:29 +02:00
6bd83780cd Enable hillshading by default 2024-05-21 08:34:52 +02:00
c4d07b5f12 Prefer render quality rather than render speed 2024-05-20 21:19:26 +02:00
b28217a026 A much more accurate overlap delta value 2024-05-20 21:13:27 +02:00
1af2c130b0 Adjust hillshading parameters 2024-05-20 20:21:29 +02:00
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
d46ac8435e Fixed Debug build 2024-05-01 10:27:39 +02:00
15fbd6d35e Added support for TCX course points icons 2024-04-28 00:43:02 +02:00
7de180d580 Cache size limits update
Allow caches up to 4GB (usefull for 0.5' DEM tiles)
Do not allow smaller pixmap cache than 64MB (minimum for async maps to work on
4K displays is ~34MB of tile image data!)
2024-04-27 12:30:07 +02:00
bd37521ca0 Use kB in the chache size arithmetics to prevent integer overflow 2024-04-27 12:15:06 +02:00
4445976cb9 Use a more strict regular expression to match the tiles 2024-04-27 11:46:00 +02:00
76b14c23c6 Do not show local DEM tiles with unsupported file names 2024-04-27 11:42:37 +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
56425a3318 Always use the GPXSee icon theme on Mac and Windows 2024-04-20 16:23:23 +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
648f90f230 Improve FIT locations support 2024-04-03 02:30:26 +02:00
324168340b Do not blur the icons when resizing them 2024-04-03 02:18:00 +02:00
3e1bddbcfd Fixed line style combo box rendering on retina displays 2024-04-01 21:00:56 +02:00
b069d2ac3f Fixed broken error string encoding 2024-04-01 20:22:28 +02:00
f814d1f5a3 Use the water temperature as temperature data when no air temperature is present 2024-04-01 13:30:50 +02:00
8a069f113e Cosmetics 2024-04-01 12:37:06 +02:00
bfe31023e0 FIT course symbols instead of description 2024-04-01 12:28:50 +02:00
779f98a206 Ignore GeoJSON features with null geometries 2024-03-27 09:07:39 +01: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
625ee42eb4 Added support for GeoJSON Coordinate Properties extension 2024-03-12 21:30:15 +01:00
5945ceaa09 Fixed debug code 2024-03-12 09:56:35 +01:00
7728dba605 Removed BOM 2024-03-12 08:58:08 +01:00
275a9a2683 Removed BOM 2024-03-12 08:56:32 +01:00
ff50ffa003 Use the CT type for geographic/projected projections distinguishing 2024-03-11 23:12:51 +01:00
026ef5854d Improved error reporting
+ code cleanup
2024-03-11 23:09:38 +01:00
f6a14e6008 Code cleanup 2024-03-10 08:09:44 +01:00
4417b3d5e2 Properly ignore objects with null/empty GeoJSON coordinates 2024-03-10 07:46:50 +01:00
8780a40b9f Added support for arbitrary CRSs in GeoJSON files 2024-03-09 17:51:43 +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
468e662e4f Yet another recent files fix 2024-03-03 23:31:08 +01:00
3ba6d2d24f Fixed recent paths update logic 2024-03-03 23:20:25 +01:00
d9e6c30567 Use the QAction data() for file paths rather than text()
As seen in KDE Neon, some Qt themes or distros mangle the text() by adding
automatic shortcut accelerators that break the paths for opening.
2024-03-03 23:11:48 +01:00
20f1003ce6 Increase hillshading contrast 2024-03-01 00:37:58 +01:00
0fad1a14d7 Localization cleanup 2024-02-29 10:32:35 +01:00
19fcccb6aa Code cleanup 2024-02-29 08:19:10 +01:00
a6b408da4a Moved demloader from data to common 2024-02-29 07:59:34 +01:00
c94d7b5905 PArks/military areas style adjustement 2024-02-28 21:51:18 +01:00
666f491224 Show the DEM tiles in the same color 2024-02-28 21:50:37 +01:00
112cfe6391 Enable the hillshading action only for maps that actually use it 2024-02-28 07:54:08 +01:00
f0d5a32dca Localization update 2024-02-27 21:55:13 +01:00
69c4e6d2dc Aded support for downloading hillshading DEMs 2024-02-27 21:36:16 +01:00
c33215565f Allow arbitrary HGT grid sizes 2024-02-27 21:13:12 +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
e0ff4529b6 Code cleanup 2024-02-23 08:15:13 +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
f1fd4f8bc9 Code cleanup 2024-02-22 21:14:49 +01:00
d8f7089450 Code cleanup 2024-02-21 18:54:27 +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
54e185ed4a Disable hillshading by default 2024-02-21 08:59:39 +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