2484 Commits

Author SHA1 Message Date
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
Denis Rouzaud
09a36c3f6d fix UI and use invalidate rather than reset model 2020-06-06 09:22:38 +02:00
Denis Rouzaud
558e0b6ce8 use filters rather than list of layer types 2020-06-06 09:22:38 +02:00
Denis Rouzaud
d311aef8c7 add static method to test if layer matches QgsMapLayerProxyModel::Filters 2020-06-06 09:22:24 +02:00
Denis Rouzaud
97862bbc15
make QgsLocalizedPathRegistry thread safe (#36865) 2020-06-05 17:05:41 +02:00
Denis Rouzaud
91f71f51e9 fix dox + sip 2020-06-05 16:18:16 +02:00
Denis Rouzaud
3322d2bb64 add QgsLayerTreeFilterProxyModel to easily use a layer tree 2020-06-05 14:21:30 +02:00
Matthias Kuhn
a741700013
Merge pull request #36909 from m-kuhn/offline_editing_style_copy
Fix styles are not copied in offline editing
2020-06-05 07:27:02 +02:00
Nyall Dawson
8fb8e45d51 Ensure that fields required by marker symbol backgrounds for labels
are fetched when rendering

Fixes #36944
2020-06-05 08:53:06 +10:00
Nyall Dawson
d74715c310 Add metadata to project for last save datetime alongside the existing
last saved username details
2020-06-05 08:41:00 +10:00
Nyall Dawson
1d995840ec Add API to set an "original path" for QgsProject
This is intended for use with non-qgs/qgz project files
(see QgsCustomProjectOpenHandler) in order to allow custom project open handlers
to specify the original file name of the project. For custom project formats,
it is NOT appropriate to call setFileName() with the original project path, as
this causes the original (non QGIS) project file to be overwritten when the
project is next saved.
2020-06-05 08:41:00 +10:00
Matthias Kuhn
68574d9835 [api] Add QgsMapLayerStyleManager::copyStylesFrom 2020-06-03 14:37:57 +02:00
Nyall Dawson
4fdfa949cf [processing] Start porting Aggregates parameters to C++
Port parameter type to c++
2020-06-03 15:17:56 +10:00
Even Rouault
b4f5b48b35
Merge pull request #36873 from rouault/cppcheck_gh_action
Fix remaining cppcheck warnings, add scripts/cppcheck.sh and corresponding GH workflow jobs
2020-06-03 00:17:47 +02:00
vcloarec
9fec5262b0 update SIP 2020-06-03 06:10:10 +10:00
Even Rouault
729a2f1482
regenerate qgslayertreenode.sip.in 2020-06-02 13:56:22 +02:00
Juernjakob Dugge
4094d1800d Re-center the map when zooming with active scale lock
Fixes #30023
2020-06-02 14:23:07 +10:00
Nyall Dawson
eee4327168 Add "contains" method to QgsObjectCustomProperties, improve dox, add tests 2020-06-02 11:32:14 +10:00