Nyall Dawson
a533268edf
Ensure map frame and background also follow clip path
2020-07-28 15:12:04 +10:00
Nyall Dawson
c5b3443cb3
Don't draw items which are a clip source for a map
2020-07-28 15:12:04 +10:00
Nyall Dawson
2f3258cb81
Add unit test for overview frame following a clipped map
2020-07-28 15:12:04 +10:00
Nyall Dawson
264bd51594
[layouts] Add API to set item based clipping region on maps
...
Allows using shape or polygon layout items to set the overall shape
of a layout map item's contents
2020-07-28 15:12:04 +10:00
Nyall Dawson
77badc0097
QgsLayoutItemShape can provide clip paths
2020-07-28 15:12:04 +10:00
Nyall Dawson
aa0b36b27d
QgsLayoutItemPolygon can provide a clip path
2020-07-28 15:12:04 +10:00
nirvn
44fd606595
[FEATURE][locator] Add a goto locator
2020-07-28 08:14:00 +07:00
Nyall Dawson
b93813080b
More masks
2020-07-27 13:53:13 +10:00
Nyall Dawson
f1e3dbc573
Add some more variations on 3d rendering test images
2020-07-27 13:53:13 +10:00
Nyall Dawson
fdae5b1ba9
Add Travis reference images
2020-07-27 13:53:13 +10:00
Nyall Dawson
4205ebfb7b
Fix rendering of 3d extruded lines
2020-07-27 13:53:13 +10:00
Nyall Dawson
f2e4ac606e
[3d] Abstract out material settings
...
Opens the possibilities for non-phong based materials for 3d symbols
2020-07-24 16:28:18 +10:00
Nyall Dawson
a345ae94a5
Merge pull request #37929 from nyalldawson/fix_37912_refactor_fields
...
Fix expression previews in Refactor Fields and Aggregate algorithms
2020-07-24 16:26:20 +10:00
Nyall Dawson
1f6e1b14e1
Flake
2020-07-24 12:58:55 +10:00
Nyall Dawson
e2a370fe3e
Avoid repeating points when appending lines
2020-07-24 12:58:55 +10:00
Nyall Dawson
91931fedb2
Tests for dash pattern alignment
2020-07-24 12:58:55 +10:00
Nyall Dawson
ca5901b336
Add utility function to slice a QPolygonF linestring
2020-07-24 12:58:55 +10:00
Nyall Dawson
6dbc1788b4
Better error message when no feature available for expression evaluation
2020-07-24 10:43:22 +10: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
282d5f9b63
Multi identify for mesh layer ( #37916 )
...
[FEATURE] map tool identify for mesh layer with displaying the dataset value corresponding of the current time of the temporal controller for all dataset groups
2020-07-23 07:12:38 +02:00
Nyall Dawson
8ec0f94472
Fix test
2020-07-23 07:53:20 +10:00
Nyall Dawson
80e5d16511
Move method to create default 3d symbol for a geometry type to 3d symbol registry
2020-07-23 07:53:20 +10:00
Nyall Dawson
0528fe284c
Populate 3D symbol registry, and use to create symbols
2020-07-23 07:53:20 +10:00
Nyall Dawson
a34eabd1fb
[api] Add a proper registry for 3D symbol types
2020-07-23 07:53:20 +10:00
Nyall Dawson
aa93872f0d
Provide more descriptive error messages when converting a field value
...
fails
And fix Python exception handling in QgsField::convertCompatible to
avoid Python "returned an object with the error set" error message
and instead just use the proper ValueError exception with a descriptive
exception message
2020-07-23 07:52:28 +10:00
nirvn
518cc16e87
Add additional output strings to help model making
2020-07-22 19:11:50 +07:00
nirvn
8c61a803fc
[FEATURE][processing] Add a save features to file algorithm
2020-07-22 19:11:50 +07:00
Nyall Dawson
05be43da55
[ogr] Automatically set QGIS field alias if OGR is able to read one
...
from the underlying datasource
Supported on GDAL >= 3.2, for the file geodatabase driver only
2020-07-22 15:39:27 +10:00
Nyall Dawson
ee4797973d
Fix ellipse symbol layer doesn't reflect feature selection state
...
Fixes #37893
2020-07-22 13:08:16 +10:00
Nyall Dawson
0d944fb314
Fix flexible aspect ratio is ignored when rendering marker svg symbols
2020-07-22 06:47:00 +10:00
Peter Petrik
d9f18ccb9c
Fix spelling ( #37849 )
...
fix the spelling errors
2020-07-21 12:51:48 +02:00
Alessandro Pasotti
3af038f861
Merge pull request #37832 from elpaso/browser-create-table
...
Browser create database table
2020-07-18 17:18:16 +02:00
Alessandro Pasotti
a775665d20
Revert endless mess in providerKey
...
the big issue is that layer items return the QgsDataProvder key
while other items return the QgsDataItemProvder key.
This needs a complete refactoring (and API break).
2020-07-17 16:30:45 +02:00
Alessandro Pasotti
9a17d9355a
Use connections API for creating tables
2020-07-16 15:37:03 +02:00
Matthias Kuhn
986df3b8a7
Merge pull request #37830 from suricactus/fix_paste
...
Fix pasting features - only a single insert operation, no unnecessary (failing) updates
2020-07-16 13:54:07 +02:00
Alessandro Pasotti
1ac91c1f2e
Add geom col capabilities and create spatial index
2020-07-16 09:40:18 +02:00
Matthias Kuhn
21e478b08c
Merge pull request #37826 from olivierdalang/tracing_curves_tolerance
...
allow to customize convertToCurves parameters for tracing curves
2020-07-16 08:38:29 +02:00
Ivan Ivanov
5e0430e1da
Test the new QgsAttributeEditorContext::FixAttributeMode
2020-07-16 07:51:20 +03:00
Nyall Dawson
bd830ba2dd
[feature][expressions] Add "main_angle" function to return the estimated
...
main angle of a geometry
Returns the angle of the oriented minimum bounding box which covers the
geometry value.
Useful for data defined overrides in symbology of label expressions,
e.g. to rotate labels to match the overall angle of a polygon, and
similar for line pattern fills...
2020-07-16 08:44:51 +10:00
uclaros
152a1f98ce
Fix returning topological candidates when using deprecated QgsGeometry::splitGeometry
...
Fixes #37806
2020-07-16 08:44:24 +10:00
Alessandro Pasotti
cc3d5d3942
Stupid flake!
2020-07-15 18:14:12 +02:00
Alessandro Pasotti
f0b43aa2b7
Browser table: skip fields conversion + UX & tests
...
The reason for skipConvertFields is that the providers
are not smart enough to recognize if a field is alredy
compatible and they narrow down all fields anyway
to stay on the safe side.
Fixing all providers would be nice but it's definitely
out of scope for this PR.
2020-07-15 16:51:00 +02:00
olivierdalang
1d0e7949e6
added test for tracing curves far from the origin
2020-07-15 13:18:54 +02:00
Daniel Minor
9ceb806498
Add unit tests
2020-07-15 08:58:23 +10:00
Alessandro Pasotti
15a4c3928c
Merge pull request #37136 from SebastienPeillet/several_fix_locale_raster_properties
...
Fix decimal point issues on raster properties forms, Fixes #33859
2020-07-14 15:45:05 +02:00
Alessandro Pasotti
1f11d31c68
New database table dialog: actions
2020-07-14 15:25:20 +02:00
Alessandro Pasotti
d8a7531dc9
Connections API: add nativeTypes method
2020-07-14 15:25:20 +02:00
nirvn
5d3201e718
Modify travis test
2020-07-14 19:35:15 +07:00
nirvn
c964dea4fa
[layouts] Allow cell-based data-defined text format in the attribute table
2020-07-14 19:35:15 +07:00
Alessandro Pasotti
56613de7d1
Merge pull request #37760 from elpaso/browser-expose-fields
...
Browser expose fields
2020-07-14 07:44:46 +02:00