133 Commits

Author SHA1 Message Date
Peter Petrik
e87e821337 update to MDAL 0.6.92 2020-08-11 06:37:44 +10:00
Matthias Kuhn
adf525df52 More loops 2020-08-09 11:35:25 +02:00
Matthias Kuhn
9245abeb28 Qt include dirs are sys dirs 2020-08-09 11:35:10 +02:00
Peter Petrik
ea74e863e3
update MDAL to 0.6.91 (#37937) 2020-07-23 10:09:20 +02:00
Vincent Cloarec
de68f83cc3
Virtual dataset groups for mesh layer (#37605)
[FEATURE] Introduces mesh virtual datasets

With the mesh calculator the user can choose to create those "virtual" dataset groups that will be added to the layer. Then, for these dataset groups, values are not stored in memory but each dataset is calculated when needed whit the formula entered in the mesh calculator.

Those virtual dataset groups are saved with the project.

If needed, the user can remove them or can persist them on files to make them persistent.

Co-authored-by: Étienne Trimaille <gustrimaille@yahoo.fr>
2020-07-23 07:39:28 +02:00
Vincent Cloarec
6be16a5bfe
Memory dataset group and possibility to persist it (#37389)
[FEATURE] Introduces memory dataset groups for mesh layer. These dataset groups are temporary and are not kept when the project is closed.

Memory dataset groups can be created from the mesh calculator with a new option.

Allows the possibility to remove or save these memory dataset groups to a file with specified driver.
2020-07-01 10:18:27 +02:00
Peter Petrik
659ed397a7
MDAL 0.6.1 patch release (#37246) 2020-06-16 17:24:37 +02:00
Even Rouault
8de4821f8d external/rtree: fix warning about unused variable 2020-06-15 11:17:46 +10:00
Even Rouault
2946083b01 external/mdal: fix warnings about unused variables 2020-06-15 11:17:46 +10:00
Matthias Kuhn
24254e7c81 Update nmea_parse return value 2020-06-05 07:49:22 +02:00
Matthias Kuhn
d32853c7d6 Add support for parsing the following NMEA sentences
- GNVTG
- GNGST
- GNHDT
2020-06-05 07:40:36 +02:00
Vincent Cloarec
1df077a950
MDAL update 0.6.0 (#36703)
MDAL update 0.6.0
2020-05-27 09:07:40 +02:00
Vincent Cloarec
fca90a7bfb
[MESH] scalar color settings depending on classification (#36313)
* [MESH] [FEATURE] Sets meh color ramp classification from metadata read by MDAL driver.
Some mesh layer formats can provide values that can be compressed by categorizing values in consecutive intervals, each represent by an integer or byte. MDAL has the capabilities to recognize this dataset type and store the bounds of each class an the units in the metadata.
QGIS uses this metadata to setup adapted color ramp shader.

* [MDAL] update to pre-release 0.5.92
2020-05-11 07:19:22 +02:00
Juergen E. Fischer
765aa9c705 spelling fixes 2020-04-30 08:20:30 +02:00
Vincent Cloarec
17a95ef0a5
[MESH][FEATURE] update to MDAL 0.5.91 Multi meshes in one file (#35669)
Allow load of multiple (sub-)meshes from a single file. If file contains multiple meshes (e.g. UGRID file), user needs to select the meshes to load from the dialog.
2020-04-14 08:17:15 +02:00
Peter Petrik
62bcc92339
MacOS CI (#35407)
[infrastructure] [macos] use QGIS-Mac-Packager dependencies to setup MacOS CI build with GitHub workflows. Use CMake's define QGIS_MAC_DEPS_DIR to define folder to dependencies
2020-04-05 10:51:00 +02:00
Peter Petrik
0675c0b697
[FEATURE] Mesh 1D Renderer (#34848)
* MDAL 0.5.90 : support for custom Logger and 1D meshes
* [FEATURE] [MESH] Support rendering of 1D meshes, see https://github.com/qgis/QGIS-Enhancement-Proposals/issues/164

1D mesh consist of edges (edge is straight line segment with 2 vertices) and the data that is defined on either
vertices or edges. Such data can be loaded by MDAL and rendered as mesh layer in QGIS.
2020-03-09 05:59:51 +01:00
Vincent Cloarec
27a70eab7c
[FEATURE] mesh simplification (#34532)
[FEATURE] fix #31575 mesh layer speed rendering improvements (LOD)

As mesh layer could have millions of triangles, rendering could be very slow, especially when all the triangles are displayed in the view whereas triangles are too small to be viewed.

For those situations QGIS has an option to simplify the mesh. Simplification leads to one or more simplified mesh that represents levels of detail (LOD). When rendering the mesh, the appropriate level of detail is chosen to have an adequate rendering depending on the view.
2020-02-25 08:05:49 +01:00
Peter Petrik
572ff9b724 update to MDAL 0.5.1: fcritical fix for SWW/Telemac files 2020-02-20 12:27:43 +01:00
Peter Petrik
e0615d4948 MDAL 0.5.0 2020-02-05 14:08:37 +01:00
nirvn
f072e09add Fix Qt53DExtrasConfig.cmake syntax which triggers error on ubuntu 20.04 (cmake 3.13) 2020-02-04 05:39:14 +10:00
Nyall Dawson
acd458446e Fix leak in qt-unix-signals 2020-01-21 18:05:18 +10:00
Peter Petrik
19deb05edc update MDAL to 0.4.95 : add proper reference time for TUFLOWFV format 2020-01-17 13:46:39 +01:00
Martin Dobias
a5c9b39955
Merge pull request #33480 from wonder-sk/3d-layers-load-in-background
[3d] Load 3D vector layer data in background + tiling
2020-01-17 00:00:33 +01:00
Peter Petrik
a2a80976c2 update MDAL to 0.4.94 2020-01-15 12:25:03 +01:00
Martin Dobias
ff82f63ded Roll back a regression from updated poly2tri library
It looks like it was introduced when trying to make compiler happy:
e0ba327ed8

Also added a test to make sure this crasher does not come back

See https://github.com/jhasse/poly2tri/issues/11 for upstream issue
2020-01-09 17:01:08 +01:00
Nyall Dawson
494b52b231 [gps] Sync some changes from a fork of nmealib, and add support for
handling HCHDG and HCHDT heading packets
2020-01-07 12:29:19 +13:00
Nyall Dawson
da5cd52162 [pal] Bring back refined upstream version of superliminal rtree index
Turns out this index is MUCH (magnitudes) faster for use in pal. So
grab an updated version of the upstream library and place in external libs,
and use this for indices in pal.

(we should probably investigate whether this is faster for snapping and
other index use too!)
2019-12-15 10:18:47 +10:00
Peter Petrik
6e2ef1544f push MDAL 0.4.93 RC1 for 3.12 release with fixed bug in reading of reference time 2019-12-14 05:31:53 +10:00
Peter Petrik
4988468e26 update to MDAL 0.4.92, second beta release for QGIS 3.12. it speeds up and optimize memory usage by allowing QGIS to check if driver/dataset uses active flag or not 2019-12-12 08:37:55 +01:00
Nyall Dawson
a9d02dab8b Update poly2tri external library (minor changes only) 2019-12-06 04:51:48 +10:00
Nyall Dawson
a6c563c6cb Update kdbush external module 2019-12-06 04:51:48 +10:00
Nyall Dawson
382098e188 [gps] Don't treat n/a values as '0'
Avoids reporting things like an unavailable heading as a real "0" heading
2019-12-06 04:50:53 +10:00
Nyall Dawson
6b5f983ad6 [gps] Add support for GPHDT heading from true north messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
07915f7af7 [gps] Support GNGSV messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
2234d92be6 [gps] Support GNGSA messages 2019-12-06 04:50:53 +10:00
Nyall Dawson
299c61292b [gps] Support GNGGA nmea messages 2019-12-06 04:50:53 +10:00
Peter Petrik
8aa0c28070 update MDAL to 0.4.91 (alpha release of 0.5.0 for QGIS 3.12) - stacked meshes 3d 2019-12-05 07:08:50 +01:00
Peter Petrik
679e75e13c update MDAL 0.4.0 2019-10-25 17:59:53 +02:00
Juergen E. Fischer
94fa3c44e0 dwg/dxf import:
* fix orientation of TEXT entities
* also clean TEXT strings
* support non-origin-based blocks
* support extrusion
2019-10-25 14:22:53 +02:00
Nyall Dawson
9af5a531b1 [o2] If an o2 auth refresh reply contains an error message, then
the refresh was NOT successful and we need to unlink the auth so
that a new login will be prompted

Fixes connections to ESRI portal fail after refresh token expires
on the server
2019-09-12 04:12:59 +10:00
Juergen E. Fischer
650f79617c fix windows build (includes update to inja.hpp 57ac9b93725cb) 2019-08-07 18:03:56 +02:00
Alessandro Pasotti
92ac7a2e93
[server] Server api and WFS3 (#10016)
Implementation of OGC API and WFS3 core draft specification
2019-08-06 16:38:21 +02:00
Alessandro Pasotti
063d29b256
Add NMEA GST Message for GPSInformation.Accuracies (#30274)
* Update sentence.h

* Update sentence.h

* Update sentence.h

* Update sentence.c

* Update parse.h

* Update parse.h

* Update sentence.h

* Update parse.c

* Update qgsnmeaconnection.cpp

* Update qgsnmeaconnection.cpp

* Update qgsnmeaconnection.cpp

* Update info.h

* Update qgsnmeaconnection.h

* Update qgsnmeaconnection.h

* Update parse.c

* Update parse.c

* Update parse.c

- Corrected Buffer Sizecomparison to 6
- defined Variable for buffer_size

* Astyle

* Fix docstrings
2019-06-25 09:41:29 +02:00
Nyall Dawson
49731f21ec Add note about new nmea upstream 2019-06-24 19:29:02 +10:00
Peter Petrik
f33ebc8100 update to MDAL 0.3.3 2019-05-28 06:14:34 +10:00
Nyall Dawson
9cde65457b Ensure correct thread locale QgsNetworkAccessManager is used during
o2 requests

Otherwise the main thread manager is always used, resulting in
lots of warnings and potential crashes
2019-05-12 15:00:25 +10:00
Nyall Dawson
ba8f8e3f07 [o2] A new refresh_token is not a mandatory part of the response
after requesting a refresh

The server will always return a new access_token, but returning
a new refresh_token is optional
2019-05-12 15:00:25 +10:00
Alessandro Pasotti
9a612d4e19
Merge pull request #9832 from elpaso/qjson-nlohmann
Fast (and beautiful) json serializing
2019-05-10 11:33:10 +02:00
Peter Petrik
435b594bbc update to MDAL 0.3.2 2019-05-07 08:52:34 +02:00