1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 21:51:17 +01:00
Commit Graph

616 Commits

Author SHA1 Message Date
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
29efa84075 Do not depend on the initializing ellipsoid 2018-03-19 19:13:48 +01:00
3d06fe8831 Also clear the error URLs when clearing the tile cache.
Code cleanup.
2018-03-15 18:46:34 +01:00
fe1f6c80b4 Use the correct units for azimuths 2018-03-15 00:27:44 +01:00
3043128565 Added finite HTTP response timeout 2018-03-14 07:23:07 +01:00
bf5ae22f0d Handle the WGS84 ellipsoid only definitions like the GRS80 ellipsoid only definitions 2018-03-12 20:05:53 +01:00
309fdb675c Removed unused definitions 2018-03-11 20:53:16 +01:00
e0daf367fb Added support for WGS84 GeoTIFF images with the GCS defined using the ellipsoid only 2018-03-11 20:11:42 +01:00
32d8672698 REST variables (dimensions) are apparently case-insensitive 2018-03-11 19:23:40 +01:00
8132ff722d Added support for WMTS dimensions 2018-03-11 10:31:41 +01:00
49792064d7 Fixed error handling 2018-03-11 09:24:04 +01:00
7aef81d823 Added support for EPSG 21781 PCS (Swiss grid)
Fixed swapped LCC1 and LCC2 GeoTIFF coordinate transformation codes
2018-03-11 01:10:24 +01:00
fd15799114 Includes cleanup 2018-03-10 09:25:52 +01:00
67aba4703b Some more code cleanup 2018-03-09 23:24:08 +01:00
60fcff7658 Code cleanup 2018-03-09 18:57:23 +01:00
bc881836ac Improved map index caching 2018-03-09 18:56:54 +01:00
de05f5e64b Some more offline map code cleanup 2018-03-08 19:08:39 +01:00
16476dbf74 Offline map code cleanup/refactoring 2018-03-08 02:24:10 +01:00
a21464d98d Added missing virtual destructors 2018-03-08 00:57:09 +01:00
d6746bc444 Code cleanup 2018-03-06 19:28:07 +01:00
9300d671a1 Fixed invalid memory access 2018-03-01 19:06:34 +01:00
b9ed0c3933 Improved scale computation on offline & WMTS maps 2018-02-28 22:19:46 +01:00
46cefada94 Code cleanup 2018-02-27 21:50:29 +01:00
e1e49b32e6 Added some more map definition checking 2018-02-27 01:02:22 +01:00
fa99d01a77 Extended error checking 2018-02-26 22:35:58 +01:00
8c6f70d837 Code cleanup 2018-02-26 19:13:57 +01:00
d1b0e2ef73 Improved error reporting 2018-02-26 19:05:53 +01:00
962310df7d Fixed single point zoom fit on WMTS maps 2018-02-25 19:33:12 +01:00
fbab4b0097 Made the axis order an attribute of the set rather than a separate element 2018-02-25 08:58:40 +01:00
5e5ff6d96f Added support for REST WMTS maps 2018-02-25 02:31:01 +01:00
55e967673c Use image/png as the default image format 2018-02-24 22:31:37 +01:00
757ba6a566 Fixed QT4 build 2018-02-24 16:48:38 +01:00
ee80260e46 Improved capabilities xml parsing
Improved bounds handling
2018-02-24 16:44:30 +01:00
fa3e6d8550 Added error checking 2018-02-24 11:40:54 +01:00
6e95d484cd Added support for OGC:CRS84 CRS to WMTS maps 2018-02-24 11:20:29 +01:00
376587202b Properly handling non-integer tile matrix ids 2018-02-24 10:34:27 +01:00
d11ffc9ea4 Added tile matrix set limits handling
Added axis order setting
2018-02-24 01:59:03 +01:00
619df591e2 Added support for geographic2d "projected" WMTS maps 2018-02-22 21:02:56 +01:00
10aa7d3945 Code cleanup 2018-02-22 18:12:47 +01:00
b054cf9046 Using the correct projection for Lambert azimuthal equal area 2018-02-22 00:46:05 +01:00
9c5153f89a Fixed QT4 build 2018-02-21 00:13:11 +01:00
1bc4833a81 Added initial WMTS support 2018-02-20 23:37:19 +01:00
3def9f95b0 Fixed broken GeoTIFF Mercator coordinates transformation 2018-02-16 19:37:04 +01:00
b6e798f5c3 Removed debug stuff from release builds 2018-02-13 23:03:18 +01:00
5d590b7c86 Fixed object init loop issue 2018-02-12 01:20:21 +01:00
9675e19b94 Fixed error reporting 2018-02-10 09:57:21 +01:00
8e9db2354e Localization update 2018-02-04 15:30:54 +01:00
44d84bf19e API cleanup 2018-01-31 20:03:50 +01:00
4ca9c79dc4 Only 6 projection parameters are required in PCS CSV 2018-01-31 20:02:09 +01:00
84d860e2a2 Added recursive POI dir searching to be consistent with map dir searching 2018-01-30 00:30:26 +01:00
fbc0fd86cf Only allow one map per file 2018-01-29 00:19:57 +01:00
aa07b20aa4 Switched to XML defined online map sources 2018-01-28 22:56:08 +01:00
8a7edcfd8d Properly removed the obsolete header file 2018-01-26 01:33:00 +01:00
04a145a2e7 Using a more human-readable online maps bounds definition 2018-01-26 01:26:26 +01:00
66f0f6a202 Make the conversion functions a little bit more universal. 2018-01-25 20:49:01 +01:00
5698b4c9b0 Fixed another bunch of GeoTIFF handling bugs 2018-01-25 00:19:11 +01:00
77c4eda385 Code cleanup 2018-01-22 00:38:13 +01:00
d6de3acbd2 Added correct handling of the DMS degree definition (9110) 2018-01-22 00:28:58 +01:00
652ed8e919 Fixed broken error handling 2018-01-21 11:38:01 +01:00
58e1980b0d Debug stream code cleanup/unification 2018-01-21 11:19:46 +01:00
fda33cc95b Improved error reporting 2018-01-21 11:17:32 +01:00
02e724fefb Added remaining missing units conversions 2018-01-21 10:18:15 +01:00
da220c4b62 Improved error handling 2018-01-21 01:01:58 +01:00
6ffc71fd36 Improved debuging 2018-01-21 00:48:34 +01:00
635e2f1fe3 Fixed switched lat/lon parameter fetch 2018-01-21 00:47:51 +01:00
23e4e66c1b Use a PCS file format more compatible with the EPSG PCS database 2018-01-20 23:51:39 +01:00
1739625896 Added support for prime meridians and angular units to GCS 2018-01-20 20:13:56 +01:00
e9ef68a81c Improved map file selection 2018-01-14 23:58:11 +01:00
06205470fe Fixed broken online map lists loading 2018-01-14 23:46:39 +01:00
0e45831111 Do not require a directory per map anymore 2018-01-14 23:03:27 +01:00
0c8e864d32 Return the correct error value 2018-01-14 22:51:20 +01:00
045cbe81bf Added support for matrix-defined transformations
Fixed transformation matrix computation
2018-01-10 01:28:40 +01:00
b8102d6bb7 Do a propper cleanup on error 2018-01-09 23:19:35 +01:00
fc80bd1b7c Code cleanup 2018-01-09 23:19:24 +01:00
89878fade1 Made the MM/II code work on Windows as well 2018-01-09 09:39:35 +01:00
83b7741ed9 Added missing include 2018-01-09 09:35:56 +01:00
f44b14473d Fixed broken MM files size issue 2018-01-09 01:29:20 +01:00
699de8b133 Added support for files referenced using geodetic datum+projection combination 2018-01-09 00:26:18 +01:00
5fa52b0166 Add support for GeoTIFF images 2018-01-08 23:47:45 +01:00
5bdc263cda Moved all the map bounds checking where it belongs 2017-12-03 10:41:07 +01:00
179f2f1451 Removed obsolete code 2017-12-03 10:24:24 +01:00
92e772a02b Fixed some corner case map drawing issues 2017-12-03 10:17:29 +01:00
48e972f920 Include paths unification 2017-12-02 20:28:53 +01:00
e30078a63e Code cleanup 2017-11-27 23:50:55 +01:00
51c0c31838 Fixed broken map scale computation 2017-11-27 08:48:37 +01:00
56e4c80999 Project structure refactoring 2017-11-26 18:54:03 +01:00