8340 Commits

Author SHA1 Message Date
Nyall Dawson
54089ff710 Follow up 4a3871, fix broken data defined properties
(definitions are often accessed before a QgsSymboLayer/etc
is constructed)
2017-02-05 14:27:26 +10:00
Nyall Dawson
fa8189a53c Tweak property definitions for size type properties 2017-02-05 14:27:14 +10:00
Juergen E. Fischer
2c65a66587 revert more of ab0345 2017-02-04 21:22:48 +01:00
Nyall Dawson
4f20979d39 Partially revert ab0345 2017-02-04 21:43:19 +10:00
Nyall Dawson
ab03453136 [processing] Rename 'export/add geometry columns' alg + add tags for discoverability 2017-02-04 14:56:54 +10:00
rldhont
cb9314af67 Merge pull request #4100 from rldhont/bugfix_dbmanager_detect_query_layer
[BUGFIX][DB Manager] Detect query layer like providers do
2017-02-03 11:30:58 +01:00
matteo
74c65c8e74 [processing] qgis voronoi test 2017-02-03 11:28:09 +01:00
rldhont
2a77ba76f4 [BUGFIX][DB Manager] Detect query layer like providers do
In postgres provider, a query layer is detected as a table starting with `(` and ending with `)`.
2017-02-02 14:21:42 +01:00
Alexander Bruy
5939ae23e7 Merge pull request #4076 from volaya/remove_processing_providers
[FEATURE][processing] removed otb and lidartools providers

Tagged as feature to not forget mention this in changelog and docs
2017-02-02 10:56:56 +02:00
Alexander Bruy
95091d9342 Merge pull request #4062 from alexbruy/raster-provider
Use native QGIS raster API instead of GDAL API in zonal statistics
2017-02-02 10:54:03 +02:00
Nyall Dawson
46404f73d9 Merge pull request #4081 from ghtmtt/rename_sql
[processing] rename execute sql output
2017-02-02 14:24:48 +10:00
Borys Jurgiel
c30eb9e084 Merge pull request #4097 from alexbruy/plugin-from-zip
[FEATURE] allow installing plugins from local ZIP packages
2017-02-01 18:11:38 +01:00
Alexander Bruy
afe85ca39e [FEATURE] allow installing plugins from local ZIP packages
This may be useful for users who have plugin packages, so they
don't need to extract them manually.
2017-02-01 17:31:09 +02:00
Alessandro Pasotti
e6b38aff4f Revert "Merge pull request #4087 from elpaso/resource-sharing-plugin"
This reverts commit db0fa9ff5b7421262304ce6fb5f6e832db1baa57, reversing
changes made to aaa8c4e492d135210cd989b5e3131384954badd1.
2017-02-01 15:17:17 +01:00
Nyall Dawson
c84ea71bb8 Use list of map layers instead of map layer ids 2017-02-01 14:46:33 +10:00
Nyall Dawson
0aa085d41f Add quick hasCacheImage method to QgsMapRendererCache 2017-02-01 14:42:31 +10:00
Nyall Dawson
d0e6e17816 QgsMapRendererCache can have multiple dependent layers for a cache image
In some cases the render result for a layer may depend on more than
one layer.

This changes QgsMapRendererCache to use "cache keys" instead of layer ids
to identify images within the cache. When setting an image inside the
cache, a new list parameter is used to specify all layers on which
that image depends.
2017-02-01 14:42:31 +10:00
Nyall Dawson
d74fbff0aa Make QgsMapRendererCache protected members private
This class isn't designed to be subclassed
2017-02-01 14:42:31 +10:00
Nyall Dawson
75506867aa Make protected members in QgsMapRendererJob not part of public API
QgsMapRendererJob and subclasses are not designed to be subclassed
outside of core QGIS code. Marking them private API allows us to
change them after API is frozen again.
2017-02-01 14:19:36 +10:00
Alessandro Pasotti
248c5831ca Resource Sharing Plugin Tests Added 2017-01-31 15:23:42 +01:00
Alessandro Pasotti
b3de34a6b6 Fixed spell check 2017-01-31 12:56:27 +01:00
Alessandro Pasotti
e50bc7c2e8 Added QGIS Resource Sharing Plugin and deps 2017-01-31 12:05:27 +01:00
Nyall Dawson
aaa8c4e492 [FEATURE] Expose GEOS Voronoi and delaunay triangulation to QgsGeometry 2017-01-31 19:35:32 +10:00
Denis Rouzaud
f85ac23cde fix version in added note 2017-01-31 10:03:33 +01:00
Nyall Dawson
1fce65707c Add missing annotation api break docs, fix sip binding 2017-01-31 12:58:51 +10:00
Martin Dobias
7683cfacd3 Rework vector joins so they do not use QgsProject::instance()
The basic idea is to split reading of XML definition and resolution of layer IDs into layers.

Also includes some cleanups in QgsProject and improvements in QgsVectorLayerJoinInfo.
2017-01-31 09:33:02 +08:00
Nyall Dawson
87f2fe55b2 Add unit test for processing polygonize algorithm 2017-01-31 10:47:00 +10:00
Nyall Dawson
14bd79f844 Remove dependance on shapely library
Port processing polygonize alg to use native QgsGeometry methods
2017-01-31 10:47:00 +10:00
Nyall Dawson
4cebb46445 [FEATURE] Expose GEOS polygonize operation via QgsGeometry 2017-01-31 10:47:00 +10:00
Nyall Dawson
8709e1f9d5 Merge pull request #4078 from nyalldawson/geom_api
API changes to QgsGeometry::isEmpty()/isNull()
2017-01-31 09:13:15 +10:00
Nyall Dawson
afcb75af51 Remove QgsGeometry::isGeosEmpty
Use the faster native QgsGeometry::isEmpty instead
2017-01-31 07:19:56 +10:00
Nyall Dawson
79bf17ae1f Replace deprecated assertRegexpMatches call 2017-01-31 07:18:11 +10:00
Nyall Dawson
af0d68b882 Implement QgsGeometry::isEmpty()
Faster than QgsGeometry::isGeosEmpty() because it avoids the
conversion to GEOS geometries and just uses the QgsAbstractGeometry
subclasses directly.

Also implements faster isEmpty() overrides for specific
QgsAbstractGeometry subclasses.
2017-01-31 07:15:51 +10:00
matteo
83a24884f9 [processing] rename execute sql output 2017-01-30 17:39:45 +01:00
LOMENEDE Jean-Daniel
c4165e4eeb [processing]Execute Sql : fix Input2.. InputN parameters 2017-01-30 16:38:58 +01:00
Nyall Dawson
49aae6e908 Rename QgsGeometry::isEmpty to isNull
Differentiates missing geometries from empty geometries (eg
empty geometry collections)
2017-01-30 21:58:23 +10:00
Nyall Dawson
61d3147261 Merge pull request #4073 from nyalldawson/annotations
Refactor annotations, add new annotation features + some other exciting stuff
2017-01-30 21:21:01 +10:00
volaya
f94f0d753c [processing] removed otb tests 2017-01-30 11:59:49 +01:00
Nyall Dawson
10c40dcaab Fix rendering offset lines as part of fill symbol (outside of
vector layers) results in broken offset outline
2017-01-30 19:58:08 +10:00
volaya
6002ca749f [processing] removed providers imports 2017-01-30 10:56:51 +01:00
volaya
0c11b8dd8f fixed Cmake file 2017-01-30 10:28:37 +01:00
volaya
cd17680c71 [processing] removed otb and lidartools providers 2017-01-30 09:41:38 +01:00
Nyall Dawson
41fe33551c Add missing python bindings 2017-01-30 17:40:41 +10:00
Blottiere Paul
44da573002 replace class by namespace 2017-01-30 08:21:06 +01:00
Blottiere Paul
5594418113 fix typo 2017-01-30 08:21:06 +01:00
Blottiere Paul
5c8360dba2 [server] WIP clean project parsing by using QgsProject 2017-01-30 08:21:05 +01:00
Nyall Dawson
ad184cdeed [composer] Remove last link between composer maps and canvas
you WILL respect the separation between core and gui!!\!
2017-01-30 15:09:27 +10:00
Nyall Dawson
4058f4734b Annotations are now handled at a project level
This commit implements a new QgsAnnotationManager class, which
handles storage, writing and retrieval of annotations.

QgsProject has an annotationManager() attached to it. Map canvases
sync their visible QgsMapCanvasAnnotationItems to the annotations
contained within the project's annotation manager.

This moves all management, storage and retrieval of annotations
up to core and out of app/canvas.
2017-01-30 14:57:16 +10:00
Nyall Dawson
dd51843e54 QgsSymbol estimateMaxBleed methods now use a QgsRenderContext
argument to correctly calculate bleed for mapunits/pixels/etc
2017-01-30 12:36:04 +10:00
Nyall Dawson
fac7887a9c [FEATURE] Annotations can be styled using fill symbol styles (fix #10552)
This changes the rendering of annotation frames to use QGIS' symbology
engine, which means that all the existing fill styles can now be
used to style annotation frames.

Also paint effects & data defined symbol parameters. Whee!
2017-01-30 12:17:44 +10:00