90702 Commits

Author SHA1 Message Date
bdm-oslandia
e4d4c4a9d9 fix(qgstest): in checkLongStr add ^ to locate where is the first diff 2025-03-24 07:32:24 +10:00
Julien Monticolo
2ebb99d802 Add order by enumsortorder in the query for enum values 2025-03-24 07:31:48 +10:00
Jean Felder
2d480db451 testqgspointcloud3drendering: Improve coverage for plane clipping
This tests that enabling and disabling clipping multiple times works.
2025-03-24 07:29:49 +10:00
Jean Felder
3a8270883a testqgs3drendering: Improve coverage for plane clipping
This tests that enabling and disabling clipping multiple times works.
2025-03-24 07:29:49 +10:00
Jean Felder
2303a8193c testqgs3drendering: Disable opacity for the polygons clipping test
This will make it easier to test enabling/disabling clipping multiple
times with the other reference image.
2025-03-24 07:29:49 +10:00
Jean Felder
03fa8bf440 testqgs3dmaterial: Add tests for clipping 2025-03-24 07:29:49 +10:00
Matej Bagar
fb13cc5d02 qgsmaterial: Fix removal of parameters when clipping is disabled
Plane clipping uses two `QParameters` named
`CLIP_PLANE_ARRAY_PARAMETER_NAME` and
`CLIP_PLANE_MAX_PLANE_PARAMETER_NAME`. When clipping is disabled both
parameters need to be removed to prevent side effects on the shader
code. However, the loops which iterates through the parameters breaks
as soon one parameter is found. This means that the second parameter
is never removed.

This issue is fixed by removing the `break` condition. This way, both
parameters are always removed from the material.
2025-03-24 07:29:49 +10:00
Martin Dobias
7591e02260 Fix tiled scene chunk loader for globe scenes
This disables the workarounds for nodes of 3D tiles with large spatial extent
when the scene is shown as globe, because in case of globe those workarounds
are not needed, and actually break the functionality.

With this fix, google 3D tiles work with globe 🎉
2025-03-24 07:28:22 +10:00
Juergen E. Fischer
c6edab485a release.pl: don't error out when a translation is dropped (because it falls below the 35% threshold)
(cherry picked from commit d363994a6480607d2d3ead3e41527cded38688de)
2025-03-21 13:40:42 +01:00
Mathieu Pellerin
4d33cac8ee
Merge pull request #60600 from gacarrillor/dragndrop_stackdiagrams_followup
Fix drag and drop for stacked diagrams (follow-up)
2025-03-21 15:14:28 +07:00
Germap
2609f5e8e0
[fix] Make stacked diagrams behave as expected with horizontal fixed-size stacked bars (#61082) 2025-03-21 15:14:09 +07:00
Nyall Dawson
ef246db997 Address review 2025-03-21 09:48:17 +10:00
Nyall Dawson
1f57723e3c Add test masks 2025-03-21 09:48:17 +10:00
Nyall Dawson
b0667549c8 Fix missing render of global raster in small area local projection
If we are trying to view a global layer in a small area local
projection, then the transform of the map extent to the layer's
local projection can often fail.

Add fallback to try the opposite logic, and see if we can first
calculate the visible region in the layers extent, and then
transform that small region back to the map's crs

Fixes #60807
2025-03-21 09:48:17 +10:00
Nyall Dawson
e20db9aaf0 Rename variables so its clear what CRS they are in 2025-03-21 09:48:17 +10:00
Nyall Dawson
e51dfc1486 Add transform logic tests for #60807
No regressions here, just differences in a nonsensical transform
of the entire globe in EPSG:3857 to a local projection EPSG:5514
2025-03-21 09:48:17 +10:00
Even Rouault
19451dd2a7 [OGC API provider] Implement geometryColumnName() when Part 5 is available 2025-03-21 09:47:46 +10:00
Even Rouault
a57ceb0392 [FEATURE] [OGC API provider] Implement Part 5 - Schemas 2025-03-21 09:47:46 +10:00
Nyall Dawson
de7692787d [mssql] Fix creation of geometry_columns table
The query was testing whether [dbo].[geometry_columns] exists,
but then attempting to create just [geometry_columns] (without
"dbo").

This fails if the table will be created in any schema other then
"dbo".

Adjust to check whether just [geometry_columns] exists, so that
we are checking whether the table exists in the ACTUAL schema
we'll be creating it in.

Fixes #57614
2025-03-21 03:08:56 +10:00
Nyall Dawson
6df9588687 [mssql] Fix fields get unaligned when importing data 2025-03-21 03:08:35 +10:00
Nyall Dawson
073d50511d [mssql] Fix native integer types
bigint should map to LongLong variant type

Add actual type names to display strings
2025-03-21 03:08:35 +10:00
Nyall Dawson
c022b6a17a Remove unused dead code
Probably a remnant of copy/paste from the original implementation
from the postgres provider
2025-03-21 03:08:35 +10:00
Nyall Dawson
7d9aa70725 Fix crash when db import dialog closes 2025-03-21 03:08:35 +10:00
Nyall Dawson
1afc5dff1b Fix leak after creating table on sql server 2025-03-21 03:08:35 +10:00
Nyall Dawson
3548a2890a More thread safety for QgsVectorLayerExporterTask 2025-03-21 03:08:35 +10:00
Nyall Dawson
d2bf583186 [mssql] Optimise geom column type resolution
Don't create a new connection per table, when we can
just use one connection for all
2025-03-21 03:08:35 +10:00
Nyall Dawson
62d42cffdd [mssql] Use method which takes an existing connection instead of creating new connection
We already have a connection here:
2025-03-21 03:08:35 +10:00
Nyall Dawson
fce4556291 [cleanup] Avoid redundant container lookups 2025-03-21 03:08:35 +10:00
Nyall Dawson
d1afabebe4 [mssql] Fix connection corruption after executing sql
Executing any SQL on a SQL Server connection would result in the
connection being dropped while it was still in use, leaving
the provider in a interdeterminate state which would often
refuse to run futher queries.

The QSqlQuery class does NOT have a virtual destructor, so we
need to explicitly use the QgsMssqlQuery class for the results
iterator so that the QgsMssqlQuery destructor gets called and
the shared reference to the QgsMssqlDatabase instance gets
released correctly.
2025-03-21 03:08:35 +10:00
Withalion
bc190c2286 Fix deletion of 3D rubberbands 2025-03-20 16:24:24 +01:00
Withalion
ee1e5a3384 Add maximum size for paintbrush tool 2025-03-20 16:24:24 +01:00
Withalion
69b6bb7290 Finish editing when 2. point selected with line tool 2025-03-20 16:24:24 +01:00
Withalion
36c2f8f377 Keep 3D editing toolbar position on closing 2025-03-20 16:24:24 +01:00
Withalion
02c18edb46 Fix build issue & crash on closing 3D window
Fixes msvc build issue caused by uniqueqobject pointer, we revert back
to raw pointers. Fixes QGIS crash on 3D window closed when editing tools
are selected. We can't delete QgsRubberBand3D entities from this class
as they are owned by RubberBandRootEntity, which deletes them on windows
close. Only point rubberbands leave artifacts in scene whene deleted by
default destructor.
2025-03-20 16:24:24 +01:00
Withalion
9c2020c703 Fix paintbrush editing tool movement 2025-03-20 16:24:24 +01:00
Withalion
9b4abd4bf1 Add minimum size for paintbrush 3D editing tool 2025-03-20 16:24:24 +01:00
Withalion
ebb9e7ed53 Disable editing tool, when disabling editing in 3D 2025-03-20 16:24:24 +01:00
Withalion
542fa3df3a Fix line editing tool crash when used wrong 2025-03-20 16:24:24 +01:00
DiGro
142a25a158 Updated brand name SpatiaLite (capital L)
Line 257 : Spatialite Import = SpatiaLite Import
Line 280 : Spatialite Import = SpatiaLite Import
2025-03-20 14:07:56 +01:00
qgis-bot
17824ad647 auto sipify 🍺 2025-03-20 10:49:30 +00:00
Loïc Bartoletti
a4d1c8c381 rewrite test 2025-03-20 11:46:35 +01:00
Loïc Bartoletti
c38ad69a1e fix: retrieve Z and M values in QgsMapToolCapture::nextPoint
Corrected logical error where Z and M values were not retrieved from layerPoint.
Additionally, ensured Z and M values are captured via match without reprojection
to prevent multiple transformations causing recessions.
2025-03-20 11:46:35 +01:00
Loïc Bartoletti
6e589e1f51 Revert "fix(QgsMapToolCapture): Allow snapping point with different crs"
This reverts commit 7a0f84f39f2c412f6226b165d5f0b299284d1c4c.
2025-03-20 11:46:35 +01:00
Loïc Bartoletti
23c8095580 fix warning: narrowing conversion from 'GIntBig' (aka 'long long') to signed type 'int' 2025-03-20 06:51:38 +01:00
Loïc Bartoletti
4118105d92 prefer CPLGetUsablePhysicalRAM
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2025-03-20 06:51:38 +01:00
Loïc Bartoletti
49ebe43822 fix(system memory): Use robust GDAL version 2025-03-20 06:51:38 +01:00
Even Rouault
b1964063d8 [GDAL] Deal with [C]Float16 of GDAL 3.11 as [C]Float32
Related to https://gdal.org/en/latest/development/rfc/rfc100_float16_support.html
2025-03-20 10:49:42 +10:00
Nyall Dawson
51e559c206 Add special handling for geocentric CRS in QgsCoordinateReferenceSystem::toGeographicCrs()
proj_crs_get_geodetic_crs considers a geocentric crs as already a
geographic CRS, whereas this method advertises that it will always
return a geographic latitude/longitude based CRS

So we build a geographic CRS using the same datum as the original CRS
2025-03-20 10:15:23 +10:00
Jan Caha
d981659ecb add types 2025-03-20 10:12:37 +10:00
pre-commit-ci[bot]
117ef4c7d5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-20 10:12:37 +10:00