41157 Commits

Author SHA1 Message Date
Nyall Dawson
ea09aa92a3 Remove QgsTransectSample
Because:
- it's unused in master, and is more code to maintain
just for possible use by plugins
- it's unmaintained, and has had no work done (beside compilation
fixes) in the recent past
- there's no unit tests or detailed documentation to show
how the class should be used
2017-09-04 09:05:38 +10:00
Nyall Dawson
85e6a63328 Daily Q_FOREACH -> for conversion 2017-09-04 08:25:29 +10:00
lbartoletti
e30f7044c9 [FEATURE][Processing] Minimal enclosing circle 2017-09-03 07:37:53 +10:00
Harrissou Sant-anna
f51244c98b Add Help button and connect it to user manual 2017-09-02 11:17:58 +02:00
Nyall Dawson
8e12757ce6 Merge pull request #5102 from nyalldawson/socket_error
Fix QSocketNotifier error on startup
2017-09-02 16:13:38 +10:00
Nyall Dawson
bbd0beb50c Fix bad doc string
[ci skip]
2017-09-02 16:12:53 +10:00
Nyall Dawson
56040c41e8 Merge pull request #5109 from nyalldawson/fix_17086
[composer] Fix node based items (line/polygon) ignore exclude from export setting
2017-09-02 14:12:46 +10:00
Nyall Dawson
64489be468 Fix QSocketNotifier error on startup
And avoid unnecessary creation of unused QFileSystemWatchers
2017-09-02 13:59:51 +10:00
Nyall Dawson
14ce8b5bc0 [composer] Fix node based items (line/polygon) ignore exclude
from export setting

Fixes #17086

(forward port from 89c38ed)
2017-09-02 13:20:30 +10:00
Nyall Dawson
46264414bc Merge pull request #5104 from nyalldawson/composer_tweaks
Composer tweaks
2017-09-02 12:26:20 +10:00
Nyall Dawson
9d3c9e1963 [FEATURE] Expose "justify" text alignment as an option for
composer label alignment

It's supported by Qt already, just not shown as an option
in the config widget!
2017-09-01 20:59:25 +10:00
Nyall Dawson
7ca0b2deb3 [composer] Allow finer setting of scalebar height and widths
While the settings are stored as double, they were being
rounded off in the UI to the nearest mm
2017-09-01 20:44:24 +10:00
Alessandro Pasotti
d9152429a1 Merge pull request #5101 from boundlessgeo/fix_pseudocolor_ramp_widget
Fix broken qgscolorramp button
2017-09-01 08:37:15 +02:00
Nyall Dawson
247d2657ca Fix invalid regular expression warnings 2017-09-01 09:00:57 +10:00
Nyall Dawson
1037d4752d Fix QFileSystemWatcher debug warning on startup 2017-09-01 08:59:45 +10:00
Nyall Dawson
15a48df644 Pass QString by const ref 2017-09-01 08:57:24 +10:00
Nyall Dawson
7ba1b1734b Add missing SIP_FACTORY 2017-09-01 08:56:57 +10:00
Nyall Dawson
42b3e0bb10 Fix another small leak 2017-09-01 08:48:15 +10:00
Nyall Dawson
e84543d0fc Fix memory leak 2017-09-01 08:40:22 +10:00
Nyall Dawson
75c65c590c Fix uninitialized/not copied member variable 2017-09-01 08:14:41 +10:00
Nyall Dawson
0be4c67346 Avoid Coverity unchecked return value warnings 2017-09-01 08:12:40 +10:00
Nyall Dawson
e68835f12e Fix some possible leaks in tests 2017-09-01 08:00:59 +10:00
Nyall Dawson
6bddc38276 Fix possible divide by 0 (Thanks to Coverity) 2017-09-01 07:57:16 +10:00
Nyall Dawson
ed5e4b69c7 Switch some dynamic_casts to qobject_casts 2017-09-01 07:56:22 +10:00
Nyall Dawson
e7ddfff09d Fix some Coverity null pointer dereference warnings 2017-09-01 07:54:20 +10:00
Nyall Dawson
9a07cd513a Add guard against nullptr dereference (Coverity warning) 2017-09-01 07:50:53 +10:00
Nyall Dawson
133d58fa89 Merge pull request #5089 from nyalldawson/hausdorff
Expose GEOS Hausdorff distance calculations to QgsGeometry, add expression function
2017-09-01 07:44:10 +10:00
Alessandro Pasotti
b6d86753e2 Fix broken qgscolorramp button
For a misterious reason ( the docs are not completely clear )
calling text() on the ramp QAction returned all string prefixed
with '&' causing the whole button to miss the changed ramp.

By calling iconText() instead we get the right name for
the ramp.
2017-08-31 18:01:18 +02:00
Alessandro Pasotti
4810c73e4d Keep XYZ connections synchronized in browser(s) and data source manager dialog 2017-08-31 15:14:47 +02:00
Alessandro Pasotti
341947e7e3 Merge pull request #5096 from boundlessgeo/server_ogr_multi_geom
[server] Rely on the provider to get the correct wkbType
2017-08-31 08:23:58 +02:00
Nyall Dawson
9fa12ac57f Merge pull request #5090 from nyalldawson/raster_layer_extent
[FEATURE] New algorithm for creating vector layer from raster layer's extent
2017-08-31 09:02:32 +10:00
Nyall Dawson
c2f8a8224b Geometry error string is not shared
Instead move it to a private QgsGeometry member. It's copied
with QgsGeometry, but not the underlying private geometry
data.

This means the error string can be changed without detaching
(and copying) the geometry data.

Also make greater use of error string for all use of GEOS
functions.
2017-08-31 08:36:01 +10:00
Nyall Dawson
a73c099835 Fix evaluation of expression functions which use optional arguments
with null default values
2017-08-31 08:02:44 +10:00
Nyall Dawson
0a9e9944b4 [FEATURE] Expression function for hausdorff distance
Allows calculation of the Hausdorff distance between two
geometries
2017-08-31 08:02:44 +10:00
Nyall Dawson
d8607222e0 Expose GEOS Hausdorff distance calculations to QgsGeometry 2017-08-31 08:02:44 +10:00
Alessandro Pasotti
0346fb839a [server] Rely on the provider to get the correct wkbType
This commit removes a check for OGR provider that
always returned gml:GeometryPropertyType in
describefeaturetype.

This is a partial fix for #17019

Needs backporting
2017-08-30 17:41:19 +02:00
Matthias Kuhn
6fe6394fc7 Make crssync quiet by default
We only need it to show up in the build log if something has gone wrong.
By default we will just happily assume that it's doing a great job in
all conscience.
2017-08-30 16:25:17 +02:00
Nyall Dawson
3b997c2ff0 Merge pull request #5092 from nyalldawson/algs
Port some GDAL algs to new API
2017-08-30 20:53:24 +10:00
Nyall Dawson
d46317802b Port gdal translate alg to new api 2017-08-30 18:13:51 +10:00
Nyall Dawson
a29e3780cd Port rgb2pct to new API 2017-08-30 17:53:14 +10:00
Nyall Dawson
d0fea64b23 Port GDAL info alg to new API 2017-08-30 17:44:52 +10:00
Nyall Dawson
bb5a499c23 Fix generation of processing tests on Windows 2017-08-30 15:25:11 +10:00
Nyall Dawson
8dde180f3f Rename parameter for consistency with other algs 2017-08-30 14:42:19 +10:00
Nyall Dawson
43e4ed0b27 Rename Polygon from Layer Extent to Polygon from Vector Extent
Helps clarify that this alg only functions for vector layers
2017-08-30 14:41:24 +10:00
Nyall Dawson
44e7f3371e [FEATURE] New algorithm for creating vector layer from raster layer's extent
Allows creation of a new vector layer with a single feature containing
a raster layer's extent. Previously this was only possible for
vector layers.
2017-08-30 14:40:21 +10:00
Juergen E. Fischer
12e69d0991 dxf export:
* empty field name resets to layer name (fixes #17060)
* allow forcing to 2d to support polyline width (fixes #17049)
2017-08-30 00:50:10 +02:00
Nyall Dawson
b978c4d429 Merge pull request #5088 from telwertowski/master
Add headers needed by macOS for recently added std:: prefixes
2017-08-30 08:18:29 +10:00
Nyall Dawson
2a4a2d872b Merge pull request #5087 from nyalldawson/algs
Port remaining plotly based algs to new API
2017-08-30 08:05:26 +10:00
Nyall Dawson
184899ec30 Port remaining plotly based algs to new API 2017-08-30 07:28:25 +10:00
Tom Elwertowski
c12fc9c62f Add headers needed by macOS for recently added std:: prefixes 2017-08-29 17:27:20 -04:00