8399 Commits

Author SHA1 Message Date
Nyall Dawson
3ecafb3472 [processing] Allow extent parameters to avoid matching layer CRS check 2017-02-14 05:49:23 +10:00
Nyall Dawson
fbf99afd01 Add method to retrieve all valid srs ids from CRS databases 2017-02-14 05:49:23 +10:00
Nyall Dawson
f2ac60ab54 Merge pull request #4111 from nyalldawson/refresh_layers
[FEATURE] Allow layers to be automatically refreshed at a specified interval
2017-02-14 05:48:41 +10:00
Vincent Mora
77bf999094 Merge pull request #3905 from nextgis/25d_enhancement
[FEATURE] QGIS setting to choose default Z value
2017-02-13 09:11:27 +01:00
Nyall Dawson
38f87a624e [FEATURE] Allow layers to be automatically refreshed at a specified interval
This allows users to set a timer interval in layer properties
for individual layers. These layers will be automatically refreshed
at a matching interval.

Canvas updates are deferred in order to avoid refreshing multiple
times if more than one layer has an auto update interval set.

Additionally, logic has been added to skip any auto redraws of
the canvas while the canvas is already being redrawn. This avoids
issues caused by setting a layer auto refresh to a shorter time than
is required to redraw the canvas.
2017-02-13 08:28:39 +10:00
Nyall Dawson
04d392b5a3 Allow QgsMapLayer::triggerRepaint to defer updates
By calling QgsMapLayer::triggerRepaint( true ) any cached
version of the layer will be invalidated, but a map canvas
refresh won't automatically be triggered

This allows invalidation of cached images while deferring
the actual map update until the next canvas refresh.
2017-02-13 08:27:01 +10:00
Juergen E. Fischer
92091c536b dxf export: consider layer styles (fixes #15946) 2017-02-12 20:20:12 +01:00
Nyall Dawson
767e7a53c6 Expose QgsGeometryUtils to python bindings
Has some handy functions and there's no strong reason anymore
why these shouldn't be part of stable API
2017-02-12 13:01:24 +10:00
Nyall Dawson
9ceb6c67e8 Merge pull request #4109 from nyalldawson/db
Rename "Db"/"DB" in API to "Database"
2017-02-12 08:34:19 +10:00
Denis Rouzaud
4cba47814b use stylesheet rather than palette
add doxygen comments and fix sip bindings
2017-02-11 22:36:20 +01:00
Denis Rouzaud
f3102bbf8f option to show a search icon in QgsFilterLineEdit 2017-02-11 22:36:20 +01:00
Juergen E. Fischer
fe75e1f2a6 processing: fix warning 2017-02-11 21:44:32 +01:00
Alexander Bruy
f7380c1b6f Merge pull request #4132 from NaturalGIS/fix_ogr_postgis_mandatory_params
[processing] make ogr postgis parameters mandatory where needed
2017-02-10 18:04:12 +02:00
Alexander Bruy
e8be083daa [processing] remove unused parameters from test (followup 5ade65aa16) 2017-02-10 18:02:52 +02:00
Alexander Bruy
5c8c53c397 [processing] more fixes to GdalAlgorithm dialog (followup 47d46bb8c3) 2017-02-10 17:59:53 +02:00
Alexander Bruy
40dfdd7960 Merge pull request #4131 from NaturalGIS/fix_ogr_offset_lines
[processing] remove useless options form ogr offset line tool
2017-02-10 17:43:54 +02:00
Giovanni Manghi
26448364b4 make ogr postgis parameters mandatory where needed 2017-02-10 15:41:39 +00:00
Alexander Bruy
cc1adc528e [processing] handle case when default CRS is None and parameter is not optional 2017-02-10 17:39:45 +02:00
Alexander Bruy
47d46bb8c3 [processing] fix initialization of GdalAlgorithmDialog 2017-02-10 17:38:24 +02:00
Giovanni Manghi
5ade65aa16 remove usless options form ogr offset line tool 2017-02-10 15:01:25 +00:00
Alexander Bruy
16384cfe2c Merge pull request #4128 from arnaud-morvan/processing_geometrypredicate_wrapper
[processing] Remove obsolete GeometryPredicateWidgetWrapper
2017-02-10 16:41:35 +02:00
arnaud.morvan@camptocamp.com
f07154b613 [processing] Remove obsolete GeometryPredicateWidgetWrapper 2017-02-10 11:16:38 +01:00
Alexander Bruy
501a5f9268 [processing] always load ExecuteSQL algorithm 2017-02-10 11:18:05 +02:00
Alexander Bruy
c0eb9975f8 Merge pull request #4118 from alexbruy/processing-saga-ltr
[processing] support only SAGA LTR
2017-02-10 10:31:23 +02:00
Alexander Bruy
2ea3ac4611 Merge pull request #4122 from alexbruy/processing-gdal2
[processing] remove code with  GDAL 1.x API calls
2017-02-09 20:48:43 +02:00
Alexander Bruy
2c188b2b0f [processing] fix helper function from system module (fix #16128) 2017-02-09 14:25:53 +02:00
Alexander Bruy
f66646c483 [processing] remove code with GDAL 1.x API as QGIS 3 will require GDAL 2.x 2017-02-09 14:15:31 +02:00
Alexander Bruy
71f1d28b6e Merge pull request #4121 from arnaud-morvan/processing_fix_modeler_open_file
[processing] fix modeler and batch file dialog
2017-02-09 12:25:35 +02:00
arnaud.morvan@camptocamp.com
c43b04ffff Fix modeler and batch file dialog 2017-02-09 11:05:09 +01:00
Alexander Bruy
732b501db1 [processing] support only SAGA LTR 2017-02-09 11:49:22 +02:00
Juergen E. Fischer
d55ab85633 processing: fix escaping 2017-02-09 09:40:13 +01:00
Giovanni Manghi
566c058db8 fix some ogr tools in master 2017-02-08 11:22:21 +00:00
Alexander Bruy
44698d4576 [processing] don't quote geometry column name (fix #16122) 2017-02-07 16:57:07 +02:00
Alexander Bruy
bb4c8c065f [processing] fix R syntax highlighting (fix #16082) 2017-02-07 16:47:24 +02:00
Alexander Bruy
4963548f4d [processing] warn user about incorrect input data when calculating
mean coordinates using weight field (fix #9084)
2017-02-07 16:29:27 +02:00
Alexander Bruy
d3003de61c [processing] add tags and short help 2017-02-07 12:52:05 +02:00
Alexander Bruy
91fe2f93c4 explicitly convert geometry to multi 2017-02-07 12:52:04 +02:00
Alexander Bruy
7df04ac7e7 [processing] Fix Geometry algorithm always produces multi-geometry
Also added code to handle GeometryCollections
2017-02-07 12:52:04 +02:00
Alexander Bruy
5a5c1bf6e1 test for Processing "fix geometries" algorithm 2017-02-07 12:52:04 +02:00
Alexander Bruy
0293bc76a0 [FEATURE][processing] algorithm to fix invalid geometries using native
makeValid() implementation
2017-02-07 12:52:04 +02:00
Nyall Dawson
a08137f101 Add unit tests for map renderer label caching 2017-02-07 11:24:30 +10:00
Nyall Dawson
2b3805eea5 Reuse existing labeling results if cached labels were redrawn 2017-02-07 10:07:19 +10:00
Nyall Dawson
d47d31d13c Rename "Db"/"DB" in API to "Database"
Motivations:
- consistency - we generally use expanded names, and this also
matches Qt API which uses Database instead of Db
- avoids unpredictable capitalization throughout API (mix of "Db"
and "DB")
2017-02-07 09:32:05 +10:00
Nyall Dawson
aa392dc23a Add method to retrieve dependent layers for map renderer cached images 2017-02-06 11:27:42 +10:00
Nyall Dawson
4f7d9cddfe Merge pull request #4064 from jgrocha/delete-style-from-db-provider-postgis
Delete style from db provider postgis
2017-02-06 08:34:24 +10:00
Jorge Gustavo Rocha
8b36ad5b90 Updated Qt connections to the new style qgis/QGIS-Enhancement-Proposals#77
Changed isDeleteStyleFromDBSupported to isDeleteStyleFromDbSupported
2017-02-05 19:35:47 +00:00
Nyall Dawson
c5546b0357 Allow conversion of QgsPropertyTransfomers to expressions (when possible) 2017-02-05 20:19:12 +10:00
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