93270 Commits

Author SHA1 Message Date
Nyall Dawson
0b630faa9c Add properties to QgsElevationProfile 2025-08-17 04:26:36 +10:00
Nyall Dawson
a665d48588 Create elevation profile manager dialog 2025-08-17 04:26:36 +10:00
Nyall Dawson
d6d8e307c0 Implement elevation profile manager model 2025-08-17 04:26:36 +10:00
Nyall Dawson
fdcda15365 [api] Create elevation profile manager, attached to QgsProject
This mimics QgsLayoutManager, but for storage of elevation profiles
attached to a project
2025-08-17 04:26:36 +10:00
Nyall Dawson
4ec64ba4db Silence dllimport attribute ignored warnings
Silence noisy and harmless 'inline function declared as
dllimport: attribute ignored' warnings.

These can be safely ignored, but cause thousands of lines of
warnings during windows builds (eg mingw builds)

(Unfortunately a macro based approach CANNOT be used here -- that
breaks the mingw build, as it seems to have issues with nesting
_Pragma along with __declspec)
2025-08-17 04:26:19 +10:00
Andrea Giudiceandrea
e6a44f6876 [WFS] Only use NAMESPACE for WFS 1 and NAMESPACES for WFS 2.0 2025-08-16 17:34:56 +02:00
Matthias Kuhn
5a6066c8a4 Fix merge conflicts 2025-08-16 14:31:58 +02:00
qgis-bot
b24906550b auto sipify 🍺 2025-08-16 10:22:00 +00:00
Alexander Bruy
3a09cd10ca
Merge pull request #62794 from nyalldawson/elev_profile_scale
Show distance:elevation scale ratio in profile settings menu
2025-08-16 11:19:24 +01:00
Nyall Dawson
39070a433f [3d] Fix main annotation layer is not rendered on terrain 2025-08-16 10:28:56 +10:00
Nyall Dawson
9dff3a89de Ensure main annotation layer can be resolved from weak layer ref 2025-08-16 10:28:56 +10:00
Nyall Dawson
a6d9c60c88
Increase test tolerance 2025-08-16 07:22:05 +10:00
Nyall Dawson
c667615290 [mssql] Respect custom "timeout" parameter in data source URIs
When constructing a URI for a SQL server connection, you can
now set a custom timeout for the connection using:

  ds = QgsDataSourceUri()
  # set host, etc
  ...
  # set connection timeout to 20 seconds
  ds.setParam('timeout', '20')

  vl = QgsVectorLayer(ds.uri(), 'my layer', 'mssql')
2025-08-16 05:19:02 +10:00
Nyall Dawson
da4260766f [mssql] Always use connection method with full QgsDataSourceUri
Remove the older method which took explicit host/database/service/...
arguments, and ensure we always use the method which takes a full
QgsDataSourceUri argument. This ensures that the db connection
always has access to ALL the properties of the original data source
uri, including any additional parameters set on it.
2025-08-16 05:19:02 +10:00
Nyall Dawson
a6e34c1a3c Improve memory safety in pal 2025-08-16 05:18:07 +10:00
Nyall Dawson
ad7cb46cd0 Update tinygltf to v 2.9.6 2025-08-16 05:17:50 +10:00
Nyall Dawson
9026d2e375 Fix missing argument warnings on mingw build 2025-08-16 05:17:50 +10:00
Alexander Bruy
2972766bfc
Merge pull request #62769 from pathmapper/wms_output_order
[server][wms] Change order of advertised output formats in GetCapabilities -> PNG first
2025-08-15 16:49:16 +01:00
Jean Felder
5d379cd75f qgs3dmapcanvaswidget: Correctly synchronize checked actions
The actions checked status are updated once the configuration dialog
is shown based on the current 3d map settings. However, these settings
may be updated by the configuration dialog. This means that the
actions need to be updated if the dialog is accepted instead.
2025-08-15 07:48:59 +10:00
Jean Felder
6a856d08b6 qgs3dmapcanvaswidget: Factor out logic to synchronize checked actions 2025-08-15 07:48:59 +10:00
Matthias Kuhn
9322bd815f Initialize 2025-08-14 23:01:17 +02:00
Harrissou Sant-anna
caf1be8a28 Assign correct labels to "Features inside polygon" algorithm's outputs
They had name and order switched.
2025-08-15 06:56:38 +10:00
Matthias Kuhn
1885c0de4f Make QGIS Mount Everest compatible 2025-08-14 22:45:56 +02:00
Matthias Kuhn
e5fd4c9815 Cleaner approach 2025-08-14 22:45:06 +02:00
Matthias Kuhn
27370e5663 Fix 3D chunk finished() signal not caught
This happens e.g. in combination with WMTS layers.
The symptom is, that the rendering progress bar doesn't disappear and it
consistently shows that some tiles are still being loaded.
This is caused by the signal of the loader being fired still in the
constructor when consumers of the loader couldn't connect to the
finished signal.
By using a `Qt::QueuedConnection` we make sure that the signal is only
sent later.
2025-08-14 22:42:53 +02:00
Nyall Dawson
44c7b329cb
Add hidden setting to move scale ratio widget to toolbar 2025-08-14 12:59:40 +10:00
Nyall Dawson
3def1fbdf6
Use nicer signal for scale ratio widget updates 2025-08-14 12:59:15 +10:00
Nyall Dawson
6d8ac234a1
Add tooltip 2025-08-14 11:58:59 +10:00
Nyall Dawson
6d937d0081
Tweak menu order 2025-08-14 11:58:59 +10:00
Nyall Dawson
0ff96c1a8f
[feature] Show distance:elevation scale ratio in profile settings menu
This adds a new widget for display of the current distance:elevation
scale ratio for elevation profile plots. The widget can also be
used to set a specific ratio. If the "lock" option is enabled for
the plot, then this scale ratio will be used instead of the
default 1:1 ratio when zooming and navigating the plot.
2025-08-14 11:58:59 +10:00
Nyall Dawson
43b5d11dc8
Rename class and widget for clarity 2025-08-14 11:58:58 +10:00
Nyall Dawson
d919d8f776
[api] Set specific distance:elevation ratio for elevation profile canvas 2025-08-14 11:58:58 +10:00
Andrea Giudiceandrea
19d87693db Add geometry column name in layer property info 2025-08-14 09:21:39 +10:00
Nyall Dawson
836534af4a Add moc 2025-08-14 06:38:58 +10:00
Nyall Dawson
419a74463e Add missing Q_OBJECT macros 2025-08-14 06:38:58 +10:00
Nyall Dawson
a9a77de725 Add missing Q_OBJECT macros 2025-08-14 06:38:58 +10:00
Nyall Dawson
cf24023fa6 Add missing Q_OBJECT macro 2025-08-14 06:38:58 +10:00
Nyall Dawson
95aa8c9590 Fix warning 2025-08-14 06:38:58 +10:00
Nyall Dawson
b41544b4d2 Fix warnings 2025-08-14 06:38:58 +10:00
Nyall Dawson
90a1fc567b Fix warning 2025-08-14 06:38:58 +10:00
Nyall Dawson
acb3eb31e7 Fix build warnings 2025-08-14 06:38:58 +10:00
Nyall Dawson
fe359e1bbf Fix clazy warning 2025-08-14 06:38:58 +10:00
Jürgen E. Fischer
f53f9d6177 debian packaging: drop explicit dependency on python3-sip 2025-08-12 08:58:11 +10:00
Juergen E. Fischer
13a79b4cc4 translation string fix 2025-08-12 08:58:11 +10:00
Jean Felder
6bf5a1b90b
qgsrectangle: Add isvalid method 2025-08-11 12:34:58 +02:00
Valentin Buira
f6e38c7627
qgsrectangle: Improve isNull documentation 2025-08-11 11:02:38 +02:00
Harrissou Sant-anna
3a4de77548 Indicate correct field name for applying modification 2025-08-11 11:12:03 +10:00
Nathan Woodrow
c09b17a9d4 Add ; for CACHE_INVOCATION_COMMAND options 2025-08-10 15:10:57 +10:00
Nathan Woodrow
76a42a5320 Remove quotes around CMAKE_C_COMPILER_LAUNCHER 2025-08-10 15:10:57 +10:00
Tudor Bărăscu
9a894bad76 improve round function help
address review

address review
2025-08-09 18:42:42 +02:00