Nyall Dawson
dcc047af49
Add possibility to handle aggregate calculation at data provider
...
(not implemented for any providers yet)
2016-05-17 10:53:24 +10:00
Nyall Dawson
50e41c8133
New utility class QgsAggregateCalculator, simplifies calculating
...
aggregates from vector layer fields and expressions
2016-05-17 10:53:24 +10:00
Nyall Dawson
1c45b940a8
Add calculation of number of null values to QgsStatisticalSummary
2016-05-17 10:53:04 +10:00
Nyall Dawson
4dea723cae
Add methods to stats calculators to accept values one at a time
...
This can be more efficient for large quantities of values, since
it avoids the need to create a list of all values in advance
2016-05-17 10:52:06 +10:00
Matthias Kuhn
d07d9edda6
Allow sorting attribute table by expression
2016-05-16 11:16:13 +02:00
Even Rouault
abd182c50c
Merge pull request #3061 from rouault/saveas_human_readable_values
...
[FEATURE] Export vector layer with "human-readable" values from edit widgets
2016-05-14 14:23:10 +02:00
Even Rouault
038b3b7950
QgsVectorFileWriter: add capability to export displayed values of fields (typically coming from edit widgets) instead of their raw values
2016-05-14 12:33:10 +02:00
Matthias Kuhn
7dfc69657f
Migrate provider test to python 3
2016-05-13 22:23:03 +02:00
Matthias Kuhn
89b7a4aaa2
Introduce NULL QVariant to PyQt5
2016-05-13 22:23:03 +02:00
Even Rouault
9df19e0133
Add QgsSQLStatement class to parse SELECT statements
2016-05-12 23:24:39 +02:00
Nyall Dawson
79f3d4221b
Add equality operator for gradients, ensure stops are always in order
2016-05-12 20:55:27 +10:00
Nyall Dawson
b053ad8769
New class QgsDateTimeStatisticalSummary
...
Calculates summary statistics on lists of datetime values, such
as count, count distinct, min, max and range
2016-05-11 23:02:33 +10:00
Matthias Kuhn
1e9a40fb62
Fix python bindings for QgsAttributeAction
2016-05-11 10:04:00 +02:00
Nyall Dawson
ab288c6b12
Fix coverity mixed enum warning, switch 0 -> nullptr
2016-05-11 10:00:01 +10:00
Nyall Dawson
0f6838df2a
Merge pull request #3034 from rouault/ogr_concurrent_opening
...
[BUGFIX / FEATURE] [OGR] Allow concurrent edition of Shapefiles and Tabfiles in QGIS & MapInfo
2016-05-11 05:07:57 +10:00
Nyall Dawson
7ae80b106d
Fix sip bindings for QgsStringStatisticalSummary
2016-05-10 20:14:51 +10:00
Nyall Dawson
0493cbfc21
New class QgsStringStatisticalSummary, for calculating statistics
...
on lists of strings
2016-05-10 19:06:13 +10:00
Nyall Dawson
ceba5264f7
New class QgsInterval for storing durations between datetimes
...
Move the QgsExpression::Interval class out to its own QgsInterval
class, extend with new methods and add tests
Add a typedef to keep API compatibility for 2.16
2016-05-10 19:00:33 +10:00
Nathan Woodrow
ca914f118e
[FEATURE] Add style/history tab to style dock
2016-05-10 10:32:30 +10: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
Even Rouault
dc18b5b36b
[BUGFIX / FEATURE] [OGR] Allow concurrent edition of Shapefiles and Tabfiles in QGIS & MapInfo
...
- Closes https://hub.qgis.org/issues/14378
- Adds new virtual methods in QgsDataProvider(): enterUpdateMode() and leaveUpdateMode()
and implement them in the OGR provider. Limited to shapefiles and tabfiles
- Implements QgsOGRProvider:reloadData()
- Robustify OGR provider methods so they don't crash if dataset re-opening fails.
2016-05-04 22:00:30 +02: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