Julien Cabieces
d5505e329d
Add missing Q_OBJECT macros and enable clazy check missing-qobject-macro
2022-07-13 08:24:23 +10:00
Nyall Dawson
ea13e0c60e
Fallback to readonly dataset if needed
2022-07-13 06:44:58 +10:00
Nyall Dawson
a432b51b4f
Fix table creation support for generic OGR connection
2022-07-13 06:44:58 +10:00
Nyall Dawson
8dc9635dbc
Only offer to create supported domain types
2022-07-13 06:44:58 +10:00
Nyall Dawson
fe363d134b
Expose field domain management capabilities for non-gpkg supported datasets in browser
2022-07-13 06:44:58 +10:00
Julien Cabieces
acdea9605c
Fix #48698 : create webdav folder with good permissions so it work
...
when CI is run locally
2022-07-13 06:44:25 +10:00
Nyall Dawson
0d0813392e
Apply suggestions from code review
...
Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>
2022-07-12 18:46:33 +10:00
Nyall Dawson
03d85f61bf
Fix regression in rendering polygons with z dimensions
...
Fixes #49157
2022-07-12 18:46:33 +10:00
Nyall Dawson
41a8563065
Fix crash when clipping curved polygon
2022-07-12 18:46:33 +10:00
Nyall Dawson
42d48ddad8
Fix crash when clipping empty polygon
2022-07-12 18:46:33 +10:00
Nyall Dawson
876188b627
Fix incorrect dimensionality of curves created from ArcGIS REST
...
geometries, and correctly handle curves with M but not Z values
2022-07-12 15:02:52 +10:00
Nyall Dawson
8b15f59639
Force use of raster masking in layout designer preview
...
The vector masking (while great for output quality) is much slower,
so for the layout designer preview renders we just use the faster
raster approach.
2022-07-12 14:59:43 +10:00
Nyall Dawson
85857d5d2e
Correctly update raster legend after loading styles
...
Fixes #47506
2022-07-12 14:41:17 +10:00
Nyall Dawson
36f9698278
Consistently return null geometry instead of empty point
2022-07-12 11:42:10 +10:00
Nyall Dawson
5a6b76abaf
Fix difference algorithm when differencing a point results in
...
a null geometry
Fixes #49291
2022-07-12 11:42:10 +10:00
Etienne Trimaille
896b50360c
Update some default actions : proper field, use messageBar
2022-07-12 11:25:30 +10:00
Julien Cabieces
d50d1bf950
Merge pull request #48282 from troopa81/feat_oracle_save_project
...
[Oracle] Implement the save to project
2022-07-11 09:43:42 +02:00
Nyall Dawson
9b09445c08
Change project style disabling from being a project load flag
...
to a new project "capability"
This avoids the unwanted cost of initialising a blank style database
whenever QgsProject::clear is called and project styles are not
required (eg. for server)
2022-07-11 15:22:11 +10:00
Jean Felder
e3499eb1bc
light.inc.frag: Fix adsModel usage
...
adsModel is by used by phongFunction with worldView parameter, not
worldEye.
This fixed is copied from qt3d shader source code.
The tests are updated to take into account this change.
2022-07-11 12:35:05 +10:00
Matthias Kuhn
6e374855c2
Rename WITH_QT6 to BUILD_WITH_QT6
2022-07-11 11:59:16 +10:00
Andrea Giudiceandrea
cce558bcac
[GUI][Labelling] Fix Line Anchor Settings window title
2022-07-11 09:15:54 +10:00
Juergen E. Fischer
fd7c8b3595
debian packaging: ignore gitstatus test and set gdal library
2022-07-10 20:24:43 +02:00
Nyall Dawson
8d25fe973f
Indentation
2022-07-09 07:12:08 +10:00
Nyall Dawson
dc76c33f9e
Test tolerance
2022-07-09 07:12:08 +10:00
Nyall Dawson
8034ae7a2a
Fix tests on qt 5.13
2022-07-09 07:12:08 +10:00
Nyall Dawson
6c3f54d864
Qt6 compat
2022-07-09 07:12:08 +10:00
Nyall Dawson
09fb955ae6
More old qt compatibility
2022-07-09 07:12:08 +10:00
Nyall Dawson
1b26ee1382
Old qt compatibility
2022-07-09 07:12:08 +10:00
Nyall Dawson
1e84d4f6a6
Make sure new methods are compatible with encoded colors written
...
using the old methods, and make strings generated by the new
methods compatible with the old lossy methods too
Means we don't need to break project/style compatibility with
older projects when we port to the new methods
2022-07-09 07:12:08 +10:00
Nyall Dawson
44708b9c0c
Create QgsColorUtils class
...
Contains methods to serialize/deserialize colors from xml and strings,
where the colors are losslessly stored/restored.
The previous methods for storing colors (Eg QgsSymbolLayerUtils::encode/decodeColor)
are lossy, and only store QColors as 8 bit RGB representations. In
contrast, the new methods store the full lossless representation of
a QColor, including support for 16 bit color components, extended
RGB color components, and storage of HSL/HSV/CMYK color specifications
using their original color components instead of RGB components.
When these new methods are used in place of the existing lossy methods,
they open the possibility of 16 bit color support for QGIS symbols/projects,
(and potentially future CMYK color support).
2022-07-09 07:12:08 +10:00
Loïc Bartoletti
d1dfad2452
Merge pull request #49276 from lbartoletti/use_alternate_linker
...
Use alternate linker (mold, gold, etc)
2022-07-08 11:04:51 +02:00
Nyall Dawson
4759815fc7
Keep vector tile raster sublayers and vector tile layer together
...
in a group when adding to project
2022-07-08 16:06:19 +10:00
Nyall Dawson
356974e401
When loading a new vector tile source into a project, if the associated
...
MapBox GL style includes any raster sublayers, then also load those
into the project with converted styles.
Fixes #46593
2022-07-08 16:06:19 +10:00
Nyall Dawson
6bb01c80f3
Convert raster sublayers in mapbox gl style layers, including
...
data defined layer opacity
2022-07-08 16:06:19 +10:00
Nyall Dawson
31fc7405d1
Add method to convert raster source to QgsRasterLayer
2022-07-08 16:06:19 +10:00
Nyall Dawson
dd3058eb42
Add support for parsing raster sources to QgsMapBoxGlStyleConverter
2022-07-08 16:06:19 +10:00
Loïc Bartoletti
db4cf8a96f
Use alternate linker (mold, gold, etc)
2022-07-08 07:44:21 +02:00
Mathieu Pellerin
52a34cc7b7
[positioning] Add missing equal-to operator to the QgsSatelliteInfo class
2022-07-08 10:05:10 +10:00
Nyall Dawson
f849f858d0
Better rendering of selected vector tile features
2022-07-08 09:12:46 +10:00
Nyall Dawson
53ace17880
Add derived tile_zoom and tile_layer attributes to features copied
...
from vector tile layers
2022-07-08 09:12:46 +10:00
Nyall Dawson
25a28524af
Fix accidental fallthrough
2022-07-08 09:12:46 +10:00
Nyall Dawson
56912b1602
Don't select invisible features
2022-07-08 09:12:46 +10:00
Nyall Dawson
542015a3df
Implement toggling support for selecting single features
2022-07-08 09:12:46 +10:00
Nyall Dawson
10f484c34d
Better rendering of selected vector tile features
2022-07-08 09:12:46 +10:00
Nyall Dawson
fac728e669
Ensure that copying features from vector tile layers copies the
...
"superset" of all selected feature fields
2022-07-08 09:12:46 +10:00
Nyall Dawson
611a3f8298
Removing features from a vector tile selection should not depend on
...
the tile zoom level
ie. you can remove from the selection at any zoom level, not just
the one where the features were added
2022-07-08 09:12:46 +10:00
Nyall Dawson
8087df19bc
Generalise map selection tools so that they also work for vector
...
tile layers
2022-07-08 09:12:46 +10:00
Nyall Dawson
12321df49a
Allow actions which work on selection to also work with vector tile selections
2022-07-08 09:12:46 +10:00
Nyall Dawson
1f48f16b2f
Render selected features on top of vector tile layer
2022-07-08 09:12:46 +10:00
Nyall Dawson
721bcaab66
Implement API for selecting features in a vector tile layer
2022-07-08 09:12:46 +10:00