40911 Commits

Author SHA1 Message Date
Nyall Dawson
4c6c74ca0b Fix ui build warning 2017-08-14 03:18:28 +10:00
Nyall Dawson
44f98d9ac8 Fix spelling 2017-08-14 03:15:44 +10:00
Nyall Dawson
9be7b27d8c Merge pull request #5001 from nyalldawson/algs
Restore some processing functionality
2017-08-14 02:23:05 +10:00
Nyall Dawson
f7ae07126e Base class processing feedback object forwards messages to message log 2017-08-14 01:42:16 +10:00
Nyall Dawson
913bf64e65 Fix some possible exceptions in topocolor alg 2017-08-14 01:42:16 +10:00
Nyall Dawson
a056e24a02 Fix exception in TopoColor algorithm 2017-08-14 01:42:16 +10:00
Nyall Dawson
47fe2a182d Port Points From Lines to new API 2017-08-14 01:42:16 +10:00
Nyall Dawson
c6b3855b41 Port Points From Polygons to new API 2017-08-14 01:42:15 +10:00
Nyall Dawson
c8ac7841f0 Port Points Displacement algorithm to new API
Rework algorithm to use same approach as points displacement
renderer. Also maintain Z/M values, and add tests and docs.
2017-08-14 01:42:15 +10:00
Matthias Kuhn
35da03f640
Update NEWS 2017-08-13 17:19:13 +02:00
Matthias Kuhn
ee3ab4da1b Merge pull request #4541 Add qgsgeometry_cast
Because it

* is faster than dynamic_cast
* doesn't rely on RTTI
* encapsulates type checking in one place
2017-08-13 16:14:43 +02:00
Matthias Kuhn
3da4c33bb3
Avoid extra copy of point in QgsGeometry::centroid() 2017-08-13 15:27:58 +02:00
Matthias Kuhn
7f4880be2e
Handle M/Z typed CurvePolygons in qgsgeometry_cast 2017-08-13 15:26:56 +02:00
Richard Duivenvoorde
20a54b1cf4 Fix #16528 mix of Qgis en qgis as root in settins
On Linux the use of Qgis and qgis as root for connection settings
makes it currently impossible to add a new WCS connection

Fixes #16528
2017-08-13 14:37:04 +02:00
Matthias Kuhn
d3e35ee9a2
Update connections to Qt5 style 2017-08-13 14:21:39 +02:00
Sebastian Dietrich
479e3cb736
Reset digitizing tools when new project is loaded/created
Refs #4237 https://issues.qgis.org/issues/4237
2017-08-13 14:21:39 +02:00
Matthias Kuhn
b879d5303c
Fix build error 2017-08-13 13:08:07 +02:00
Matthias Kuhn
d2076a1400
Convert more dynamic_casts to qgsgeometry_casts 2017-08-13 12:29:05 +02:00
Matthias Kuhn
d0f33d6d05
Expose makeValid() errors to QgsGeometry::error() 2017-08-13 12:18:55 +02:00
Matthias Kuhn
feffa04988
Use pointers instead of references for QgsAbstractGeometry 2017-08-13 12:14:56 +02:00
Matthias Kuhn
b2cd9f2a5e
Add qgsgeometry_cast to qgssurface 2017-08-13 11:08:57 +02:00
Matthias Kuhn
59f270ab6b
Allow qgsgeometry_cast-ing const geometries 2017-08-13 10:51:07 +02:00
Matthias Kuhn
dba8cc0f6c
Convert more calls to qgsgeometry_cast 2017-08-13 10:35:44 +02:00
Matthias Kuhn
d9ad859a81
Fix misplaced SIP_TRANSFER 2017-08-13 10:28:42 +02:00
Matthias Kuhn
975d730633
Fix build warnings 2017-08-13 10:05:31 +02:00
Nyall Dawson
69c991ed87 Restore ability to create processing tests from history panel 2017-08-13 16:56:58 +10:00
Nyall Dawson
5177972806 Improve conversion of processing parameters to Python code
- Use layer paths instead of layer ids where possible, since they are persistent
- Don't wrap in QgsProcessingFeatureSourceDefinition/QgsProcessingOutputLayerDefinition
if we can avoid it
2017-08-13 16:56:58 +10:00
Denis Rouzaud
b00a60da01 spell check: add ...:…
and a few fixes :)

handle #spellok in shell or cmake files

allow to exclude scripts from search files
2017-08-12 21:13:02 +02:00
Matthias Kuhn
b282b89c82
Take inheritance into account in qgsgeometry_cast 2017-08-12 20:34:23 +02:00
Matthias Kuhn
f70b5b5465
Avoid crash 2017-08-12 20:11:11 +02:00
Matthias Kuhn
4c136a7808
QgsPointV2 -> QgsPoint 2017-08-12 19:26:20 +02:00
Matthias Kuhn
639d0640a9
NULL to nullptr 2017-08-12 19:26:20 +02:00
Matthias Kuhn
a6800d6a5a
Add qgsgeometry_cast
Because it
- is faster than dynamic_cast
- doesn't rely on RTTI
- encapsulates type checking in one place
2017-08-12 19:26:20 +02:00
Matthias Kuhn
5fd19d532c
Make sure relations are reloaded when setting edit config 2017-08-12 19:24:05 +02:00
Alessandro Pasotti
59f8af25dc Merge pull request #5011 from boundlessgeo/less_verbose_items
QgsDebugMsg -> QgsDebugMsgLevel + typo
2017-08-12 17:45:36 +02:00
Alessandro Pasotti
afd45eefff QgsDebugMsg -> QgsDebugMsgLevel + typo 2017-08-12 17:06:40 +02:00
arnaud.morvan@camptocamp.com
97d168e163 Insert dropped uris in reverse order.
As each one is inserted on top of previous,
this result in layers sorted alphabeticaly in layer tree.
Relate with #6828.
2017-08-12 10:40:02 +02:00
arnaud.morvan@camptocamp.com
e34a593c65 [FEATURE] Add expression function array_agg 2017-08-12 10:18:21 +02:00
Juergen E. Fischer
c8876f2c23 fix fix !"@$% 2017-08-11 17:27:59 +02:00
Juergen E. Fischer
025a23451b fix utf8 python translation string 2017-08-11 17:26:38 +02:00
Matthias Kuhn
ff3f84b645 [travis] Run make in ctest if on pull request 2017-08-11 13:19:10 +02:00
Harrissou Sant-anna
24adf77e5d more typo fixes 2017-08-11 13:17:15 +02:00
Harrissou Sant-anna
87c7ec3714 Typo fixes 2017-08-11 13:17:15 +02:00
Mathieu Pellerin
1053823369 [processing] improve rasterize dialog UI, add help (#5008) 2017-08-11 13:29:58 +07:00
Mathieu Pellerin
5336a0d4d1 Merge pull request #4793 from DelazJ/RenderingDiagram 2017-08-11 13:21:34 +07:00
Jorge Gustavo Rocha
c07ac6e67f helpviewer application source code removed 2017-08-11 07:32:34 +02:00
Jorge Gustavo Rocha
146c0c8c2d Prevent test_console.py to open the browser with help file
Fix link to documentation related with OGR connections
2017-08-10 23:45:06 +02:00
Nyall Dawson
34032d662b Merge pull request #5003 from nyalldawson/proc_algs
Followups to rasterise alg
2017-08-11 05:46:16 +10:00
Nyall Dawson
0227bdc376 Remove QgsGeometryAnalyzer, QgsOverlayAnalyzer, QgsPointSample
These classes are unused in the master QGIS code, and are
unmaintained and with no unit tests or other QA, and
have inflexible API (e.g. always requiring writing outputs
to shapefiles)

They all have equivalent algorithms available via Processing
(where the algorithms are unit tested and maintained). We should
be pushing all QGIS api users to use the Processing algorithms
instead.
2017-08-11 04:48:11 +10:00
Nyall Dawson
13431ca123 Bump minimum tile size to 64 for rasterise alg 2017-08-11 04:46:15 +10:00