Even Rouault
47da98c070
Raster resampling: add provider-level settings, and a switch at rasterpipe level between resamplingFilter and provider resampling
...
Also
* in settings UI, add a 'Early resampling' checkbox
* in raster properties UI, add similar checkbox
* serialize/deserialize new settings in QgsRasterLayer XML
2020-06-20 04:29:36 +10:00
Even Rouault
f32026c8e0
[GDAL provider] Fix misalignment of raster with overviews
...
Fixes #36820
The way QGIS is currently handling resampling is sub-optimal given GDAL >= 2
capability of having sub-pixel accuracy. So when a QgsRasterResampleFilter
is set, make it try to delegate resampling back to the underlying input interface,
and implement that improved resampling in the GDAL provider.
The GDAL resampling will take into account the settings of the QGIS resample
filter: zoom-in resampling kernel, zoom-out resampling kernel and max resampling
factor. The later is important to avoid performance issues if not enough overview
levels are generated (in the case, we will fallback to the generic method, which
may introduce sub-pixel shifts)
2020-06-20 04:29:36 +10:00
Harrissou Sant-anna
f2f7236fc8
Layout new name dialog
...
Make the new layout dialog use the qgsnewnamedialog class
Add/enable help button to open user manual chapters
2020-06-20 04:28:18 +10:00
Alessandro Pasotti
4b362629e8
GPKG and spatialite AUTOINCREMENT: get next value from sequence
...
for PK default value, fixes #37222
Also, fix dangling transactions for spatialite.
2020-06-20 04:24:55 +10:00
Nyall Dawson
4dc9b38142
Add API to retrieve QGIS version used to save a QgsProject
...
project.lastSaveVersion()
now returns the version number used to save the project.
Also cleanup QgsProjectVersion code
Fixes #37288
2020-06-20 04:21:53 +10:00
Denis Rouzaud
0cb8408425
more flags warnings fixes for Qt 5.15 ( #37309 )
...
* more flags warnings fixes for Qt 5.15
* fix sip compilation
2020-06-19 12:02:00 +02:00
Denis Rouzaud
7fb552d62d
fix layout
2020-06-19 08:47:23 +10:00
Denis Rouzaud
044a05d828
run sipify
2020-06-19 08:47:23 +10:00
Nyall Dawson
b7eac07721
Add a render context flag so we know when a render operation is
...
occurring for drawing a symbol preview
Because these have no map association, certain settings like
sizes in "meters in map units" will have no meaning, and may need
special handling
Refs #28690
2020-06-17 08:02:49 +10:00
Nyall Dawson
d98fe9f989
[symbology] When rendering a multipart geometry, ensure that
...
geometry generator symbol is only rendered once, instead of
once per part
Fixes #23730
2020-06-16 06:04:14 +10:00
Peter Petrik
81d2e5658a
fix sip
2020-06-15 08:54:04 +02:00
Matthias Kuhn
91f1485a6e
Merge pull request #36514 from lbartoletti/fix_interpolation_split
...
[BUGFIX] Fix interpolation on split geometry
2020-06-15 08:45:59 +02:00
Vincent Cloarec
b5d61594ee
mesh layer expose datasetIndexAtTime() ( #37197 )
...
mesh layer expose datasetIndexAtTime()
2020-06-15 08:32:33 +02:00
Nyall Dawson
8d4f00b0af
Remove TODO comments included in public API documentation
...
This is just "airing our dirty laundry". We don't want/need end users
to see this.
2020-06-15 13:43:58 +10:00
Nyall Dawson
67896ebabc
Fix some doxygen warnings
2020-06-15 13:43:58 +10:00
Nyall Dawson
74400c7ff8
Some fixes to numbered list handling in dox/PyQGIS API
2020-06-15 13:43:58 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Nyall Dawson
e653711509
QgsGeometry::error() does not exist, should be lastError()
2020-06-15 13:43:58 +10:00
Nyall Dawson
a5101f2ade
[sipify] Fix header formatting
2020-06-13 16:49:14 +10:00
Nyall Dawson
cedd73ee4d
More list formatting fixes
2020-06-13 16:49:14 +10:00
Nyall Dawson
561a8326c5
Modernize language
...
And avoid insensitive/trigger words (as far as possible -- some are
coming from Qt or other external APIs)
2020-06-13 16:48:38 +10:00
lbartoletti
04c3c0124f
add an explanation
2020-06-12 15:39:36 +02:00
Blottiere Paul
01e879c5b0
Update QgsRuleBasedRenderer::RenderJob
2020-06-12 08:45:13 +10:00
Blottiere Paul
71cf5af210
Fix use of deleted function for QgsReadWriteContextCategoryPopper
2020-06-12 08:45:13 +10:00
Blottiere Paul
5d2b7d200d
Fix use of deleted function for QgsReadWriteLocker
2020-06-12 08:45:13 +10:00
Blottiere Paul
fe2621d063
Fix use of deleted function for QgsRenderedFeatureHandlerInterface
2020-06-12 08:45:13 +10:00
Blottiere Paul
7c752cb89d
Fix use of deleted function for QgsEffectPainter
2020-06-12 08:45:13 +10:00
Blottiere Paul
7ac386bf0b
Fix use of deleted function for QgsLinearMinMaxEnhancementWithClip
2020-06-12 08:45:13 +10:00
Blottiere Paul
39b63cbbdc
Fix use of deleted function for QgsRuleBasedRenderer::RenderJob
2020-06-12 08:45:13 +10:00
Martin Dobias
b2da49b78b
[vector tile] Fix issue with disappearing features ( fixes #36982 )
...
The issue was that renderer/labeling were only keeping "their" required fields,
but the final fields may have been extended by the other, making the field indices
cached in expressions invalid.
The fix is to keep the final QgsFields around and avoid creating those QgsFields on-the-fly
from previously requested fields.
2020-06-11 14:39:45 +02:00
lbartoletti
e69116fb34
revert changes in qgsgeometry.sip
2020-06-11 07:50:49 +02:00
Nyall Dawson
ae42850d08
Sipify
2020-06-11 13:29:59 +10:00
Nyall Dawson
860dff9fb0
Fix a broken list
2020-06-11 13:29:59 +10:00
Nyall Dawson
c795ddb1e9
Updates
2020-06-11 13:29:59 +10:00
Nyall Dawson
d3a54eed6f
Add flags to control geometry to WKB export behavior
...
With initial flag to force conversion of triangle types to polygons
2020-06-11 05:32:26 +10:00
Nyall Dawson
8d00ae8638
[legends] Fix corrupted data defined legend rendering in layout designer
...
Fixes #36765
Fixes #34658
2020-06-11 05:30:42 +10:00
Nyall Dawson
98d618b444
Tighten includes
2020-06-11 05:30:42 +10:00
Alessandro Pasotti
2b59519576
Namespace QgsOgcUtils::Context (for SIP bindings)
2020-06-10 09:18:33 +02:00
Alessandro Pasotti
8cd7f0da6f
Fix OGC utils filter srsName
...
Adds a layer + coordinateTransform context to pass
to the ogc utils functions that read the GML geometry
so that it can be transformed to layer's CRS when
constructing the feature filter.
Fixes #36398
2020-06-09 19:06:56 +02:00
Nyall Dawson
adf0fe32d9
Dox
2020-06-09 19:49:15 +10:00
Nyall Dawson
a9d6b04f77
[browser] Refine refreshConnections method to avoid triggering a full
...
refresh of ALL browser content
Instead limit refresh to the provider associated with the item only
(and provide a means for items to refresh a different provider, e.g.
to allow the geopackage connection item to be refreshed when a
new connection is added through a directory item)
Fixes #37007
2020-06-09 19:49:15 +10:00
Nyall Dawson
154a4995e0
[api] Optionally allow items in QgsMapLayerModel to be reordered via drag and drop
2020-06-09 11:38:16 +10:00
Nyall Dawson
e81af2c9e1
[processing] Add metadata setting for file destination parameters
...
to avoid file overwrite confirmation prompt
Fixes #37011
2020-06-09 04:02:32 +10:00
Nyall Dawson
777c75bccd
Revise advanced effects warning to account for GeoPDF capabilities
...
when exporting canvas to GeoPDF
2020-06-08 13:30:06 +10:00
Nyall Dawson
8d38aa2c15
Respect layer opacity and composition modes where possible when exporting GeoPDF
...
Fixes #33305
2020-06-08 13:30:06 +10:00
vcloarec
9f75860425
fix sip
2020-06-08 09:20:45 +10:00
vcloarec
15132730af
set time step when first loading meshlayer
2020-06-08 09:20:45 +10:00
Mathieu Pellerin
404187d277
Revert a Qgis -> QGIS change, the doc was referring to the actual Qgis class name
2020-06-08 09:12:21 +10:00
Denis Rouzaud
ce17f7fa78
Merge pull request #37000 from 3nids/layer-tree-filter-proxy
...
Use a filter proxy model for the dependencies layer tree
2020-06-06 13:05:03 +02:00
nirvn
291ba7f2dc
{Qgis,QGis} -> QGIS
2020-06-06 17:45:43 +07:00