30377 Commits

Author SHA1 Message Date
rldhont
7754f17a0b [Processing] Manage default value for parameter
To finalize commit 3472ac80d8bdd030090ce81cb686f3cfcbd913cd update processing to well manage default value
2015-12-24 15:14:02 +01:00
Matthias Kuhn
2415e37d19 Merge pull request #2610 from SebDieBln/ReadAlphaSelectionColor
Read alpha component of selection color from project properties (fixes #13994)
2015-12-24 15:01:02 +01:00
Sebastian Dietrich
46bc85ae63 read alpha component of selection color from project
(fixes #13994)
2015-12-24 14:45:38 +01:00
Matthias Kuhn
447121eb24 Fix build warnings 2015-12-24 14:25:05 +01:00
Marco Hugentobler
c9b0ab1704 Cleanup sbn file if gdal did not already remove it. Fixes bug #13319 2015-12-24 11:36:58 +01:00
Juergen E. Fischer
8f29f28d5c fix windows build and some warnings 2015-12-24 02:17:59 +01:00
Jürgen Fischer
13a5167b43 Merge pull request #2609 from sebastic/bug-9818
Add dependency on openscenegraph-plugin-osgearth to qgis-plugin-globe (fixes #9818)
2015-12-23 21:23:31 +01:00
Bas Couwenberg
076c2a09b7 Add dependency on openscenegraph-plugin-osgearth to qgis-plugin-globe.
QGIS crashes when using the Globe plugin if this package is not installed,
as reported in QGIS issue #9818 [0] and Debian Bug #808817 [1].

[0] https://hub.qgis.org/issues/9818
[1] https://bugs.debian.org/808817
2015-12-23 17:06:19 +01:00
Denis Rouzaud
c9e928932a some fixes (missing include, duplicated line, wrong variable name) 2015-12-23 16:00:33 +01:00
Daan Goedkoop
b33b9351f7 Update rubber band after editing nodes
It has to be done this way. Just adding updateSelectFeature() in a few places
is not enough, because then the rubber band will still not be updated after
an undo operation.
2015-12-23 16:00:32 +01:00
Denis Rouzaud
b0bbfc7c86 Merge pull request #2584 from SebDieBln/MapCanvas_EnterLeave
UI improvement for digitizing maptools
2015-12-23 15:47:28 +01:00
Matthias Kuhn
b602c5c588 Revert "QgsGeometry to datastream -> avoid extra data copy"
This reverts commit c1b512f948028093e481e1db089db8c044e86f4c.
2015-12-23 15:45:10 +01:00
Matthias Kuhn
c1b512f948 QgsGeometry to datastream -> avoid extra data copy 2015-12-23 15:42:22 +01:00
Matthias Kuhn
996de715a4 Merge pull request #2608 from sbrunner/fill-select
Fix fill and select mixage
2015-12-23 15:28:02 +01:00
Stéphane Brunner
409a59ff2a Use the line digitizing settings for the note tool rubber band 2015-12-23 14:36:36 +01:00
Stéphane Brunner
c465705f01 Fix fill and select mixage
Fix #14016
2015-12-23 10:37:01 +01:00
rldhont
a32587bcd1 [FEATURE][QGIS Server] Add short name to layers, groups and project
A number of elements have both a <Name> and a <Title>. The Name is a text string used for machine-to-machine
communication while the Title is for the benefit of humans. For example, a dataset might have the descriptive Title
“Maximum Atmospheric Temperature” and be requested using the abbreviated Name “ATMAX”.

User can already set title for layers, groups and project. OWS name is based on the name used in layer tree. This name is more a label for humans than a name for machine-to-machine communication.

To add the capability to users to define Name as a text string for machine-to-machine communication, this pull-request adds:
* short name line edits to layers properties
* WMS data dialog to layer tree group (short name, title, abstract)
* short name line edits to project properties
* add a regexp validator "^[A-Za-z][A-Za-z0-9\._-]*" to short name line edit accessible through a static method
* add a TreeName element in the fullProjectSettings

If a short name has been set for layers, groups and project it is used by QGIS Sever as the layer name.
2015-12-23 10:03:04 +01:00
Matthias Kuhn
e6a265c103 Merge pull request #2600 from m-kuhn/orderby-renderer
Allow definition of feature rendering order
2015-12-22 17:45:01 +01:00
Matthias Kuhn
52a39fc286 QgsSymbolV2 may not be copied 2015-12-22 16:39:22 +01:00
Marco Hugentobler
c8060045d8 Intendention 2015-12-22 16:00:09 +01:00
Alessandro Pasotti
ca37d004ac Merge pull request #2607 from elpaso/bugfix-14021-dvanced-settings-editor-crash
Storing a pointer to QSettings instead of using stack
2015-12-22 15:38:00 +01:00
elpaso
bf4ad792e5 Storing a pointer to QSettings instead of using stack
The settings were allocated in the stack
causing a segfault when accessed from the slot

Fixes #14021
2015-12-22 14:56:52 +01:00
Marco Hugentobler
644960e50a Numerically more robust circle center calculation. Provided by Timo Iipponen 2015-12-22 11:21:03 +01:00
Matthias Kuhn
d5585ffdcd Use qSort instead of std::sort, former does not crash 2015-12-22 09:40:22 +01:00
Matthias Kuhn
9a64569fc8 Fix orderby table headers and use combobox 2015-12-22 09:40:16 +01:00
Matthias Kuhn
09cc9e4e13 Use field expression widget in order by dialog 2015-12-22 09:12:33 +01:00
Matthias Kuhn
9c9ff79b48 Add LongLong support to virtual provider 2015-12-22 09:12:33 +01:00
Matthias Kuhn
e00815db33 Add test for rendering order 2015-12-22 09:12:32 +01:00
Matthias Kuhn
168c6f70bc Rename OrderBys -> OrderBy and OrderBy -> OrderByClause
And some sip fixes
2015-12-22 09:12:32 +01:00
Matthias Kuhn
3f1db6d550 Add test for combination orderby / subset of attributes 2015-12-22 09:12:32 +01:00
Matthias Kuhn
3dc832a32b Don't crash providers when destrucing with fake open connection 2015-12-22 09:12:32 +01:00
Matthias Kuhn
73ba0e805a [FEATURE] Allow definition of rendering order for renderers
This allows defining the order in which features are processed by
renderers.
2015-12-22 09:12:32 +01:00
Matthias Kuhn
a5f88181f6 Fix fallback orderby and attribute subset
Also properly closes the iterator when a fallback orderby is used
2015-12-22 09:12:32 +01:00
Chris Crook
9d81938c83 Merge pull request #2605 from nyalldawson/delimited
Add support for curved geometries and M/Z values to delimited text provider
2015-12-22 21:04:48 +13:00
Nyall Dawson
856be9ba44 Ensure that rings are closed when adding to polygons 2015-12-22 16:51:41 +11:00
Nyall Dawson
5838819d9a [FEATURE] Curve support for memory layers
...smallest diff for a new feature ever ;)
2015-12-22 16:51:01 +11:00
Nyall Dawson
6122f0462d Remove unimplemented QgsSurfaceV2::pointOnSurface method
Was always returning a point not on the surface! (0,0). Use the
GEOS method instead.
2015-12-22 16:50:37 +11:00
Nyall Dawson
2963408e8e Correct vertex count when using identify tool on curved lines 2015-12-22 16:50:05 +11:00
Nyall Dawson
809c925581 [FEATURE] Support Z/M dimensions in delimited WKT files 2015-12-22 13:37:51 +11:00
Nyall Dawson
f994e71d39 [FEATURE] Delimited text provider supports curved WKT geometries 2015-12-22 13:37:51 +11:00
Matthias Kuhn
06553db029 Remove unrequired data checks from QgsGeometry
The d-pointer in QgsGeometry should never be null.
2015-12-21 21:05:25 +01:00
Juergen E. Fischer
b508790cd9 fix precise build (+ foreach->Q_FOREACH) 2015-12-21 20:49:55 +01:00
Juergen E. Fischer
e19ad4be77 osgeo4w: include grass7 plugin 2015-12-21 20:49:55 +01:00
Matthias Kuhn
6347af0970 Merge pull request #2601 from rldhont/update_qgsmaplayer_doc
[Doc] Update QgsMapLayer documentation
2015-12-21 18:47:39 +01:00
rldhont
f7566710af [Doc] Update QgsMapLayer documentation
Add documentation string to 10 QgsMapLayer methods.
2015-12-21 17:33:47 +01:00
Nyall Dawson
7afa9e3161 Fix crash in topology checker (fix #14017) 2015-12-21 19:30:41 +11:00
Nyall Dawson
013d6d3331 Fix more warnings 2015-12-21 19:30:32 +11:00
Matthias Kuhn
483ef3c75a Merge pull request #2599 from nyalldawson/order_by
Order by fixes and Mssql provider implementation
2015-12-21 09:13:31 +01:00
Nyall Dawson
a42bfea944 Merge pull request #2598 from SebDieBln/NoSingleStatementLines
Make the qgisstyle tool fix multiple statements on a single line
2015-12-21 11:59:27 +11:00
Sebastian Dietrich
c28c493b65 fix all occurrences of multiple statements in a single line
This was accomplished by running scripts/astyle-all.sh.
2015-12-21 01:21:06 +01:00