28178 Commits

Author SHA1 Message Date
Nyall Dawson
688ac1610e Fix bad alloc when styling raster with random color ramp (fix #13112) 2015-08-04 16:22:56 +10:00
Nyall Dawson
1d2b4cb41a Fix random color ramps returning invalid QColors for value of 1.0 2015-08-04 16:22:49 +10:00
Nyall Dawson
5690402116 Fix saturation range ignored for random color ramps 2015-08-04 16:22:40 +10:00
Nyall Dawson
27ee8eea45 Fix incorrect values returned by certain color ramps 2015-08-04 16:22:28 +10:00
Juergen E. Fischer
c31810af8b typo fixes 2015-08-03 20:36:17 +02:00
Nyall Dawson
f00c52d5a6 Fix geometry simplification for rendering altering feature geometry
I noticed this when using memory layers - zooming out and then in
would result in the features getting more and more generalised.
Possibly it would affect other areas of the codebase too.

The geometry simplifier was unhelpfully casting away the const
from the pointer to the geometry's wkb, and was happily overwriting
the wkb for its own purposes. With QgsGeometry now implicitly
sharing this wkb pointer the non-const cast meant that the geometry
was not getting correctly detached and the original geometry was
being modified.
2015-08-03 23:26:23 +10:00
Nyall Dawson
7934a92519 [composer] Add an apply button for atlas settings, prevents
numerous refetching/redrawing when tweaking atlas configuration
2015-08-03 16:46:59 +10:00
Nyall Dawson
8088e35415 [composer] Use feature requests to filter atlas features, rather
than fetching all features and then filtering while iterating.
2015-08-03 16:46:59 +10:00
Nyall Dawson
69ac6771e8 [FEATURE][composer] Add page name option for atlas
Page name can be set to either a field or expression derived from
the coverage layer, and is shown in the new atlas page combobox.
2015-08-03 16:46:59 +10:00
Nyall Dawson
5537e23f35 [composer] Keep atlas page combo in sync when atlas feature changes 2015-08-03 16:46:59 +10:00
Nyall Dawson
dfff1257bf [pal] When set to draw all label candidates, shade candidates which
conflict with obstacles in red
2015-08-03 16:46:58 +10:00
Nyall Dawson
47e3e20e28 Boost QgsFeature test coverage to 100% 2015-08-03 16:02:40 +10:00
Nyall Dawson
f7b4315f9c Add missing overrides 2015-08-03 16:02:33 +10:00
Matthias Kuhn
6a2df335ae Some doxymentation and const'ing 2015-08-02 09:41:37 +02:00
Nyall Dawson
d107603f35 Expand QgsField/QgsFields tests 2015-08-02 06:29:38 +10:00
Nyall Dawson
2fb6c10631 Minor Coverity fixes 2015-08-01 17:57:15 +10:00
Nyall Dawson
4774c87d03 Switch doxygen coverage test to check count of undocumented members
The previous check (% of documented members) set the bar too low
(~60%). Now no members/classes can be introduced without full
documentation.
2015-08-01 17:07:39 +10:00
Martin Dobias
febadfe21b Fix crashes when rendering with SVG symbols that are missing
The crashes would happen after some time when browsing the map,
especially when size of SVGs is in map units. This was due to wrong
removal of deleted cache entries where cache entry key would be
different from SVG file's path, thus not removing the entry that
got deleted. Now explicitly keeping the lookup key in the entry
to make sure this does not happen.

Related issues: #9959, #8883
2015-07-31 20:35:15 +02:00
Giovanni Manghi
1dfec33e5a fix Processing QGIS vector grid as lines 2015-07-31 18:50:11 +02:00
Juergen E. Fischer
15170dd216 osgeo4w: switch to grass 7.0.1 from RC2 2015-07-31 10:36:59 +02:00
Larry Shaffer
d722f5bd4b Fix sys/select.h header include on Mac for grass data file 2015-07-30 17:51:17 -06:00
Radim Blazek
67151617aa [GRASS] modules debug bar 2015-07-30 18:46:27 +02:00
George Shegunov
37657dd96b Detach usage of qreal from QT_ARCH_ARM
Added float types additionally to double, qreal can be now float or double.
Removed QT_ARCH_ARM. qreal can be float not only on ARM.
There are overload functions for both types.
2015-07-30 15:40:00 +02:00
Hugo Mercier
95ff0922e4 Handle QgsDataItem class hierarchy in SIP bindings 2015-07-30 15:04:56 +02:00
George Shegunov
1c6a40cb6f WEBKIT includes changed
(cherry picked from commit 9f6c72fa33af4c60c2e3266282277f10eedd2749)
2015-07-30 11:15:01 +02:00
Juergen E. Fischer
fe50327b28 fix oracle provider (followup 5be0ee7) 2015-07-30 09:31:28 +02:00
Matthias Kuhn
2887a4ae57 Doxymentation 2015-07-30 00:02:01 +02:00
Juergen E. Fischer
384c0a703b processing: fix saga translation (followup 66a3d02) 2015-07-29 18:55:11 +02:00
Marco Hugentobler
335644e580 Skip m-coordinates in geos import 2015-07-29 15:57:53 +02:00
Marco Hugentobler
c42b8c17d6 Fix segmentation of full circles 2015-07-29 15:57:53 +02:00
Salvatore Larosa
e980e760b4 [composer ui] fix tooltip for add shape action in composer 2015-07-29 14:43:51 +02:00
Marco Hugentobler
d6d5be9448 Set wkb typ if adding the first line in QgsLineStringV2::append 2015-07-29 14:08:33 +02:00
Matthias Kuhn
e984fb00fd Remove QgsRenderOptions, return filter in separate method 2015-07-29 12:09:44 +02:00
Matthias Kuhn
7573078e2e Add boolean node literal to expressions 2015-07-29 12:09:44 +02:00
Matthias Kuhn
5be0ee734f Remove QgsFeatureRequest::FilterRect from providers/iterators 2015-07-29 12:09:44 +02:00
Matthias Kuhn
75712643cd Remove references to QgsFeatureRequest::FilterRect 2015-07-29 12:08:55 +02:00
Matthias Kuhn
1d7a6a4909 Rule based renderer exposes filter where clause
This filter can then be sent to the server to reduce the amount of fetched
features
2015-07-29 12:08:55 +02:00
Matthias Kuhn
cfe91f8261 Apply FilterRect in combination with other filters 2015-07-29 12:08:54 +02:00
Matthias Kuhn
b47b9a54b7 Add return type QgsRenderOptions to QgsRendererV2::startRender
This allows to specify additional filter constraints for the feature request to
be specified.
2015-07-29 12:08:54 +02:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
mhugent
76a6b4f1fc Merge pull request #2223 from mhugent/measurement_from_geometry
Measurement from geometry
2015-07-29 11:43:00 +02:00
Marco Hugentobler
86329f0170 Change expected behaviour in test_qgsdistancearea.py to also consider inner rings for perimeter calculation 2015-07-29 11:02:10 +02:00
Marco Hugentobler
5706203584 Allow usage of node tool for postgis zm geometries 2015-07-29 10:44:35 +02:00
elpaso
466018214c Fixed scale widget height 2015-07-29 10:03:18 +02:00
elpaso
832c3206d7 Added TAB charachter 2015-07-29 10:01:36 +02:00
Juergen E. Fischer
f528cb80df fix connection pool crash without qapplication (fixes #13166) 2015-07-28 17:39:22 +02:00
Juergen E. Fischer
93e2c5a01d processing: translation fix (open fusion las viewer; followup 66a3d02) 2015-07-28 14:12:53 +02:00
Marco Hugentobler
00b8c1d27b Adapt renderer to consider z/m in wkb parsing 2015-07-28 13:17:21 +02:00
Juergen E. Fischer
25a50bf73f Revert "add missed translations.py file" (followup 66a3d02)
This reverts commit 6dd615719922ff3cd136ba800e5dc033e5ff9b34.
2015-07-28 09:20:44 +02:00
Alexander Bruy
6dd6157199 add missed translations.py file 2015-07-28 09:21:17 +03:00