1968 Commits

Author SHA1 Message Date
Blottiere Paul
d23a110cb6 move magnification in map settings 2016-05-18 14:40:41 +02:00
Nyall Dawson
81e72b782f Merge pull request #3060 from nyalldawson/filled_marker
New "Filled marker" symbol layer type
2016-05-09 21:23:59 +10:00
Nyall Dawson
ca2c6290b1 Always export GeoJSON features in WGS84 (match specifications) 2016-05-09 21:19:28 +10:00
Nyall Dawson
3681e2ceeb Add method for exporting QgsFeatureList to GeoJSON featurecollection 2016-05-09 21:19:28 +10:00
Nyall Dawson
5c1a05c8a1 Support including attributes of related (child) features in
GeoJSON feature export

Sponsored by Kanton of Zug, Switzerland
2016-05-09 21:19:28 +10:00
Nyall Dawson
34d468e64b Allow setting list of attributes to exclude from json exports 2016-05-09 21:19:28 +10:00
Nyall Dawson
9041c95464 Allow injecting extra properties into feature's GeoJSON export
Sponsored by Kanton of Zug, Switzerland
2016-05-09 21:19:28 +10:00
Nyall Dawson
c3f6c39784 Refactor to move JSON exporter to its own class 2016-05-09 21:19:28 +10:00
Nyall Dawson
24309dfb3a [FEATURE] New class QgsJSONUtils with utilities for converting
features to and from GeoJSON strings

Sponsored by Kanton of Zug, Switzerland
2016-05-09 21:19:28 +10:00
Matthias Kuhn
14acde5bb9 Merge pull request #3013 from pierstitus/pseudocolor_renderer
Rewrite pseudocolor render code to improve speed
2016-05-09 09:06:38 +02:00
mhugent
59db4d0ebc Merge pull request #3045 from mhugent/convert_geometry_2
Convert geometry 2
2016-05-09 08:33:58 +02:00
Nyall Dawson
ea20149239 [FEATURE] New "Filled marker" symbol layer type
A "filled marker" is similar to the simple marker symbol layer, except
that it uses a fill sub symbol to render the marker. This allows use
of all the existing QGIS fill (and outline) styles for rendering
markers, eg gradient or shapeburst fills.

A new abstract class QgsSimpleMarkerSymbolLayerBase has been created
from which both QgsSimpleMarkerSymbolLayerV2 and
QgsFilledMarkerSymbolLayer derive. All common code has been moved to
this base class, allowing for easy addition of new shapes or features
to both simple markers and filled markers without duplication.

Also, adds a lot of missing docs to marker symbol layers.
2016-05-07 22:06:10 +10:00
Nyall Dawson
cda387cb6f Ensure that @symbol_color is always correct for symbol layer types
with subsymbols
2016-05-07 21:52:19 +10:00
Nyall Dawson
d823be1ede Add some clarifications to QgsRelation api 2016-05-07 21:49:31 +10:00
Marco Hugentobler
11b7a2702c Move conversion of added/changed geometry to vector data provider 2016-05-06 15:26:13 +02:00
Nyall Dawson
d75eaff573 Fixes to arrow line symbology:
- Fix crash in Python bindings caused by subsymbol ownership
- Make symbol work correctly with categorised and graduated
renderers
2016-05-05 16:56:20 +10:00
Matthias Kuhn
a6c88c1166 Add different widget style 2016-05-02 18:25:58 +02:00
Matthias Kuhn
8b4cb049ae Allow controlling action visibility on attribute table 2016-05-02 18:25:58 +02:00
Matthias Kuhn
f03a94f650 Fix crash 2016-05-02 18:25:58 +02:00
Matthias Kuhn
c369aabac4 Doxygen and sip bindings 2016-05-02 18:25:57 +02:00
Matthias Kuhn
dd88fa99f3 [feature] New configuration options for attribute table
* Allow reordering the attribute table columns
 * Allow adding a new column to trigger an action to the attribute table
2016-05-02 18:25:57 +02:00
Matthias Kuhn
2faaf1cd9c Rename QgsAttributeAction to QgsActionManager
The original name was not representative for the scope of the class
and misleading at best.
The class manages actions for a given layer and it's not a single action
like the former name suggested.
There is a typedef introduced to keep it in the API until we can remove
it with QGIS 3.
2016-05-02 18:25:57 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Nyall Dawson
a67853f825 Fix calculation of point symbol bounds using data defined rotation or offset 2016-04-29 20:16:38 +10:00
Marco Hugentobler
bd6d22d8b6 Update sip bindings 2016-04-29 11:53:34 +02:00
Nyall Dawson
93d984e504 Merge pull request #3026 from nirvn/centroid_fill_parts
[FEATURE] add setting to control centroid fill point rendering on all parts or a single part of multi-features
2016-04-28 13:08:31 +10:00
Webmaster
fef8c1fef2 [FEATURE] add setting to control centroid fill point rendering
on all parts or a single part of multi-features (fixes #9199)
2016-04-27 21:10:41 +07:00
Martin Dobias
11e7140d37 Gracefully handle topology errors when tracing (fixes #14447) 2016-04-27 16:50:19 +08:00
Martin Dobias
03f201d03b Introduce label provider ID to uniquely identify label's settings
Before rule-based labeling, layer ID would identify label settings
of a label as there could be only one configuration per layer.
2016-04-27 11:59:27 +08:00
Juergen E. Fischer
b3bf4a11ac dxf export:
* output 3D geometries
* more adaptions to labeling changes
2016-04-25 01:49:53 +02:00
Nyall Dawson
647f322146 Consolidate all qvariant sort methods to use qgsVariantLessThan,
make sure qgsVariantLessThan incorporates all functionality from
other duplicate implementations, and add tests

(fixes #14671)
2016-04-22 17:20:43 +10:00
nirvn
9735c13e33 [FEATURE] add outline settings to font markers 2016-04-22 09:09:00 +07:00
Matthias Kuhn
8a6ba6b2a2 Add missing header in QgsCoordinateTransformCache sip 2016-04-21 10:16:06 +02:00
Matthias Kuhn
0875c68363 Fix default value for marker pen join style in sip bindings 2016-04-21 09:28:44 +02:00
Piers Titus van der Torren
208a14eb54 Rewrite pseudocolor render code to improve speed
Most of the time was lost in checking the color cache, so that is replaced
by a look up table for the index in the color map.
2016-04-20 18:56:57 +02:00
Hugo Mercier
e849cad11d Merge pull request #2955 from mhugo/arrows
[Feature] Arrow symbol layer
2016-04-19 09:23:33 +02:00
Nyall Dawson
efb84ea2fa [FEATURE][diagrams] Add optional legend entries for diagram sizes
A new "legend" tab has been added to diagram properties, allowing
both the existing attribute legend and a new size legend to be
enabled/disabled. The size legend has a configurable marker
symbol.

Also includes unit tests for both diagram attribute and size
legends.

Sponsored by ADUGA
2016-04-19 08:16:05 +10:00
Hugo Mercier
34b7ebc2b5 Add a new "arrow" symbol layer
The "arrow" symbol layer is a symbol layer allowing to draw straight
or curved arrows from a line layer.
2016-04-18 11:36:12 +02:00
Nyall Dawson
33e7d1b98c Add note to QgsExpressionContext docs to point to QgsExpressionContextUtils 2016-04-18 15:27:17 +10:00
Larry Shaffer
fc6559aa05 Remove conversions.sip conditionals meant for 4.12 but actually 4.18
- The hex version of 4.12 was not 0x041200 (current 4.18) but 0x040c00.
  Code was always skipped and has worked with recent sip versions.
2016-04-15 19:17:24 -06:00
Juergen E. Fischer
78725feda4 Bring back QgsNetworkManager slots and signals removed in 2eb8243 as deprecated 2016-04-15 09:49:57 +02:00
Nyall Dawson
92a18087b3 Add safeguard tests to ensure no regressions in expression compilation
(ie check that expressions are successfully compiled where expected)

Add compilation support for "NOT..." type expressions
2016-04-15 07:52:02 +10:00
Juergen E. Fischer
7454d87d6a doxygen: include sha in PROJECT_NUMBER 2016-04-13 22:16:21 +02:00
Juergen E. Fischer
c30f71ac73 dxf export: add support for expression contexts and rotated symbols (fixes #14495) 2016-04-13 14:51:58 +02:00
Juergen E. Fischer
f19a35c34e dxf export: support rule based labeling (fixes #13757) 2016-04-13 14:51:55 +02:00
Webmaster
3cf75d8047 [symbology] add filled cross and hexagon markers 2016-04-13 09:30:11 +07:00
Nyall Dawson
4bbe318c20 [symbology] Remove distorted star symbol 2016-04-12 12:12:57 +10:00
Nyall Dawson
6df1f6866c [raster] Add note and docs for psuedocolor 'clip' option 2016-04-12 11:08:37 +10:00
Nyall Dawson
e21de0394d Add methods for retrieving and setting size units for QgsMarkerSymbolV2 2016-04-11 15:34:43 +10:00
Nyall Dawson
1b4bd47076 [composer] New QSortFilterProxyModel for filtering items by type
and new widget QgsComposerItemComboBox for showing matching composer
items.

Swap existing comboboxes to use the new widget, which removes a lot
of fragile code designed to allow selection of items. Additionally
the combobox now show the correct item id rather than always showing
"Map 0/1/..."
2016-04-09 09:38:09 +10:00