2442 Commits

Author SHA1 Message Date
Juergen E. Fischer
006b581870 fix warnings 2016-06-02 12:27:40 +02:00
Hugo Mercier
efd32ff2a8 Arrow symbol layer: option to repeat or not the arrow on the line 2016-06-02 09:52:03 +02:00
Hugo Mercier
6c9b588906 Arrow symbol layer: halved arrows and head width/height
The head size can now be configured by its width and its height
Arrows can also be rendered as "half arrows"
2016-06-02 09:52:03 +02:00
Nyall Dawson
0e03115d33 Add support for field renaming in QgsVectorLayer and edit buffer 2016-06-02 17:09:46 +10:00
Nyall Dawson
58cc89019c [FEATURE] Add support for attribute renaming to QgsVectorDataProvider
Implemented in memory layer provider only, not yet supported
in edit buffer or configurable in GUI
2016-06-02 17:09:45 +10:00
Martin Dobias
ea2395dd92 Integration of embedded widgets into layer tree + config GUI 2016-06-01 20:03:53 +02:00
Matthias Kuhn
2b1560c5be Merge pull request #3079 from pblottiere/constraints
[FEATURE] widgets constraints
2016-06-01 17:33:25 +02:00
Nyall Dawson
6428f619da Doc, indentation fixes for hillshade renderer 2016-06-01 22:41:27 +10:00
Asger Skovbo Petersen
d47fe0f7b7 Hillshaderenderer: Add 'multidirectional oblique-weighted' rendering option (#3160) 2016-06-01 21:52:33 +10:00
Blottiere Paul
8449e42ae0 add constraint description 2016-05-31 20:16:22 +02:00
Blottiere Paul
aba02f11e0 rename constraint to expression for method's name 2016-05-31 20:16:21 +02:00
Blottiere Paul
020d20a968 [FEATURE] constraints on widgets 2016-05-31 20:16:21 +02:00
Matthias Kuhn
4ae1b55566 Add not null constraint and visual feedback to widgets 2016-05-31 20:16:21 +02:00
Sandro Mani
2297ade90a [Globe] Remove python bindings 2016-05-30 12:07:24 +02:00
Nyall Dawson
71f8e3e4bb [FEATURE] Plugins can add pages to vector layer properties*
* This is actually a followup to 87121d, which fixes leaks
& clarifies some docs. But I figured the ability to add
custom pages to the properties is worth highlighting as a
feature on it's own, or it may go unnoticed in the other
globe related changes!
2016-05-30 19:39:32 +10:00
Sandro Mani
87121d63a8 Merge pull request #3126 from manisandro/globe
Revived globe, compatible with OsgEarth 2.7
2016-05-29 23:51:58 +02:00
Sandro Mani
cdbd4e45d4 Docstring updates 2016-05-29 21:18:57 +02:00
Sandro Mani
d5512a931f Change QgsRectangle::combineExtentWith(const QgsRectangle*) into QgsRectangle::combineExtentWith(const QgsRectangle&) 2016-05-29 08:57:26 +02:00
Nyall Dawson
421ab4fee7 Add missing docs, SIP bindings, some const correctness 2016-05-29 14:59:23 +10:00
Nyall Dawson
e7d039240c Fix doxygen warnings 2016-05-29 08:10:23 +10:00
Denis Rouzaud
b9baf2e95a Merge pull request #3131 from 3nids/lockscale
allow to lock scale to use magnification to zoom in/out
2016-05-28 18:18:22 +02:00
Denis Rouzaud
c3e7a56b05 always use double for dpi 2016-05-28 17:22:22 +02:00
Sandro Mani
3e73064c4a Store QgsBillBoardRegistry in QgsProject instead of making it a singleton 2016-05-28 17:10:10 +02:00
Denis Rouzaud
cf99817b72 allow to lock scale to use magnification to zoom in/out
this also removes the option for different behavior of mouse wheel
2016-05-28 16:52:09 +02:00
Nyall Dawson
bae8a0e5e0 [FEATURE] Georeference outputs (eg PDF) from composer
This commit makes composer automatically georeference outputs
(where output format makes this possible, eg TIF and PDF).

The existing option to create a world file has been separated
from the map selection for georeferencing. The new behaviour
is to always georeference outputs, and only create the
separate world file if that option is checked.
2016-05-29 00:46:39 +10:00
Nyall Dawson
bc779a06ed QgsActionManager: improve docs + add tests 2016-05-29 00:45:17 +10:00
Nyall Dawson
3d494ac9f8 Fix feature's value action not working (fix #14536)
Replace broken/missing $currfield with new @current_field
expression variable. Update other default actions to use
expression variables instead of deprecated special columns.
2016-05-29 00:45:17 +10:00
Nathan Woodrow
17b48563a5 [renderer] Live hillshade renderer for raster layers
Thanks to Asger Skovbo Petersen (@AsgerPetersen) for the idea and fixes
Thanks to Nyall for reviews and bug fixes
2016-05-28 21:01:33 +10:00
Sandro Mani
90887f460f Revived globe, compatible with OsgEarth 2.7 2016-05-28 10:09:34 +02:00
Nyall Dawson
2c1f2ce1c0 Add missing docs 2016-05-28 07:21:21 +10:00
Nyall Dawson
4da6588494 Temporarily revert "add sip bindings to webkit stubs"
This reverts commit dd69a5965589c8a27f2388e6ecad02b223392704.

The commit was causing build failures on Travis
2016-05-28 07:18:34 +10:00
Juergen E. Fischer
dd69a59655 add sip bindings to webkit stubs 2016-05-27 19:30:35 +02:00
Alvaro Huarte
6969a1a401 Fix travis errors 2016-05-25 22:53:01 +02:00
Alvaro Huarte
7e1d142fef Add Visvalingam simplification algorithm 2016-05-25 22:53:01 +02:00
Alvaro Huarte
734b8b4c62 Add SimplifyAlgorithm enum for local simplification
It implements the SimplifyAlgorithm enum for local simplification of
geometries.
Also the SnapToGrid algorithm is added.
2016-05-25 22:53:01 +02:00
Alvaro Huarte
51f06edbf7 Allow override WkbPtr and define WkbSimplifierPtr class
This commit simplifies the geometry just before to paint it in the
current QPainter device.

This commit allows to override the '>>' operators of the QgsWkbPtr
class. Also, It defines a new QgsWkbSimplifierPtr class to automatically
simplify the input point stream.
2016-05-25 22:50:28 +02:00
Alvaro Huarte
c4d7981678 New members in QgsVectorSimplifyMethod for QPaint simplification 2016-05-25 22:50:28 +02:00
Nathan Woodrow
76a23e68e8 [python] Add bits() bindings for QgsRasterBlock 2016-05-25 21:10:07 +10:00
Nyall Dawson
3e45369f77 Followup 71712a, add missing SIP bindings
Also change QPointF& -> QPointF (faster)
2016-05-24 05:26:46 +10:00
Nyall Dawson
726a013222 Flag old composer table classes as deprecated 2016-05-23 14:52:53 +10:00
Nyall Dawson
eb3a34cc92 Fix QgsComposerAttributeTableV2 setting displayed fields under qt5
Also don't run QgsComposerAttributeTable test when disable
deprecated flag is set.
2016-05-23 14:52:46 +10:00
Nyall Dawson
0fcff9f2a0 Allow direct QVariant creation from some QGIS metatypes 2016-05-20 09:48:18 +10:00
mhugent
bc1aa42f85 Merge pull request #3081 from mhugent/curve_segmentize_parameters
Curve segmentize parameters
2016-05-19 16:29:05 +02:00
Even Rouault
0078b33ed2 Merge pull request #3082 from rouault/vectorfilewriter_cleanup_and_encoding_improvement
Vectorfilewriter cleanup and encoding improvement
2016-05-19 14:53:38 +02:00
Even Rouault
3ee7d59e18 QgsVectorFileWriter::MetaData: add a compulsoryEncoding member
* Some formats require a compulsory encoding, typically UTF-8.
Change initMetadata() to indicate UTF-8 compulsory encoding for
GeoJSON, GeoRSS, GML, GPKG, GPX, KML, SQLite, SpatiaLite, FileGDB,
XLSX and ODS
* QgsVectorFileWriter::init(): make it override the user specified
encoding if the format has a compulsory encoding. And remove hard-coded
case for KML.
2016-05-19 11:38:42 +02:00
Marco Hugentobler
c0d12dcdeb [FEATURE]: possibility to set the segmentation tolerance (maximum angle or maximum difference) 2016-05-19 11:02:43 +02:00
Denis Rouzaud
1602c02df7 Merge pull request #3009 from pblottiere/magnifier
[FEATURE] add a map canvas magnifier
2016-05-19 06:30:07 +02:00
Nyall Dawson
23a3a7717e Cleaner API for selecting features in QgsVectorLayer
- add selectByRect( QgsRectangle&, SelectBehaviour) and
selectByIds( QgsFeatureIds, SelectBehaviour) for selecting
by rect and ids respectively, with options to add to selection/
remove from selection/intersect with current selection
- deprecate select( QgsRectangle ) and setSelectedFeatures in
favour of new methods
- add unit tests
2016-05-19 12:30:32 +10:00
Nyall Dawson
b951d5a54d [FEATURE] new method QgsVectorLayer::selectByExpression(...)
Makes it simple for scripts to select by expression. The method
also accepts a parameter which dictates whether matching features
are added to an existing selection, removed from the selection
or intersected with the current selection.

The existing code from the select by expression dialog has been
moved to QgsVectorLayer, and optimised for maximum possible speed.

Also added unit tests.
2016-05-19 09:11:00 +10:00
Blottiere Paul
d23a110cb6 move magnification in map settings 2016-05-18 14:40:41 +02:00