30086 Commits

Author SHA1 Message Date
nirvn
8a40dda2e5 fix sip coverage test failure 2015-12-15 10:19:47 +07:00
nirvn
84d2e954bc [projection selector] apply selected projection on double click 2015-12-15 08:36:59 +07:00
Nyall Dawson
576875e998 Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr 2015-12-15 11:24:51 +11:00
Nyall Dawson
fb2b930db8 Fix some plugin UI includes 2015-12-15 11:24:43 +11:00
Nyall Dawson
19ff7de06d Fix indentation 2015-12-15 11:22:39 +11:00
Nyall Dawson
5b244ae88c [FEATURE] More geometry functions for expressions
- add accessors: geometry_n, interior_ring_n
- add num_geometries, num_rings, num_interior_rings
- add nodes_to_points for converting every node in a geometry
to a multipoint geometry
- add segments_to_lines for converting every segment in a geometry
to a multiline geometry

nodes_to_points and segments_to_lines are intended for use with
geometry generator symbology, eg to allow use of m and z values
for nodes/lines with data defined symbology.
2015-12-15 11:22:39 +11:00
Juergen E. Fischer
24a61ff48d debian packaging update (partly reverts 245659f; fixes #13981) 2015-12-14 23:47:29 +01:00
rldhont
30b3b6856a [FEATURE][QGIS Server] STARTINDEX param in WFS GetFeature Request
STARTINDEX is standard in WFS 2.0, but it's an extension for WFS 1.0 implemented in QGIS Server.

STARTINDEX can be used to skip some features in the result set and in combination with MAXFEATURES provides for the ability to use WFS GetFeature to page through results. Note that STARTINDEX=0 means start with the first feature, skipping none.
2015-12-14 22:44:45 +01:00
rldhont
cf60ddb5a5 [BUGFIX][QGIS Server] Update Layer order from group in GetPrint
Update commit da5e73ef4a4508c4b215dd726380a8a94bd73ada
2015-12-14 18:00:25 +01:00
Alessandro Pasotti
ca5707ddeb Merge pull request #2579 from elpaso/bugfix-13984
Fixes #13984 custom python init function config is lost in master
2015-12-14 13:59:11 +01:00
elpaso
8c4d81023b Fixes #13984 custom python init function config is lost in master 2015-12-14 13:55:11 +01:00
Juergen E. Fischer
36267f5935 dxf export: trim whitespace from layernames 2015-12-14 12:28:57 +01:00
Salvatore Larosa
a1fb1b8a93 Revert "remove non existing icons from topology plugins resources"
This reverts commit 0f41ff6918354578c3a705bd5118908e11ad299e.
2015-12-14 11:04:22 +01:00
Salvatore Larosa
0586a75dce [topology checker] add missing icons followup 6e9ff36 2015-12-14 11:03:58 +01:00
Denis Rouzaud
0f41ff6918 remove non existing icons from topology plugins resources
followup 6e9ff364bb794c59ac2c6c72173d59b4e0731b92
can be reverted once files are added
2015-12-14 10:19:30 +01:00
Nathan Woodrow
4ca81bac2f Merge pull request #2576 from SebDieBln/DefaultLayerActions_on_selected_layers
Apply default layer actions to all selected layers (fixes #9714)
2015-12-14 13:39:27 +10:00
Nathan Woodrow
b64ebfb2e2 Merge pull request #2543 from SebDieBln/SortLayerTreeMimedata
Sort the indexes when generating layer tree mime data (fixes #4110)
2015-12-14 13:38:26 +10:00
Nathan Woodrow
805d9d4f86 Update MS SQL browser node items 2015-12-14 08:35:12 +10:00
Sebastian Dietrich
bca8356ea0 Apply default layer actions to all selected layers (fixes #9714)
the affected actions are:
- show feature count
- show in overview
- make top level
2015-12-13 20:59:45 +01:00
Salvatore Larosa
61b7a9c126 [topology checker] swaps add/delete rule buttons 2015-12-13 12:47:34 +01:00
Salvatore Larosa
6e9ff364bb [topology checker] revamped icons for the topology checker and add toolbar for a consistant look 2015-12-13 12:47:34 +01:00
Nyall Dawson
ceddb7eb97 [FEATURE] is_closed function for expressions
Returns whether a linestring is closed
2015-12-13 22:06:22 +11:00
Nyall Dawson
2d9f36100e Merge pull request #2575 from slarosa/style_grp_layers
[FEATURE] allow applying the same style to selected layers or to legend group
2015-12-13 21:48:02 +11:00
Salvatore Larosa
f0aeee8c5b [FEATURE] allow applying the same style to selected layers or to legend group
also fixes #10323

This adds the possibility to paste the style to group or selected layers.
2015-12-13 10:54:36 +01:00
Nyall Dawson
262514d97d [FEATURE] exterior_ring function for expressions
Returns exterior ring of a polygon as a line. Useful for geometry
generator symbology for styling only the exterior ring of
polygons.
2015-12-13 20:11:19 +11:00
Nyall Dawson
aedcf3a76b Merge pull request #2551 from SebDieBln/RestoreEmtpyShortcuts
Do not reapply default value to shortcuts that are set to "none" (fixes #7905)
2015-12-13 19:49:24 +11:00
Nyall Dawson
7f674a4e96 Merge pull request #2558 from SebDieBln/OrderScales
Keep scales ordered in Settings > Options > Predefined scales (fixes #8320)
2015-12-13 14:33:24 +11:00
Nyall Dawson
710b9d25d1 Drop test thresholds 2015-12-13 14:17:41 +11:00
Nyall Dawson
2982082f12 Merge pull request #2537 from SebDieBln/ReprojectAnnotations
Make annotations aware of CRS (fixes #3618)
2015-12-13 12:10:34 +11:00
Sebastian Dietrich
66a83bd205 make annotations aware of crs (fixes #3618) 2015-12-13 00:22:33 +01:00
Jürgen Fischer
666eda6856 Merge pull request #2574 from SebDieBln/GDALtools_removeMenuItemsOnUnload
Remove menu items when GDALtools plugin is unloaded (fixes #13642)
2015-12-12 21:02:12 +01:00
Jürgen Fischer
f8c4b3a21c Merge pull request #2571 from medspx/work_newfile_extensions
Add formats extensions/protocol already supported by GDAL/OGR
(fixes #3799, fixes #4362, fixes #5242, fixes #6197)
2015-12-12 21:00:26 +01:00
Médéric RIBREUX
72c5e375a7 Add formats extensions/protocol already supported by GDAL/OGR.
This should fix bugs:

* #3799 on CouchDB support.
* #4362 on ovr and ovf for VRT files.
* #5242 on KMZ support.
* #6197 on SQLite file extensions support.
2015-12-12 15:14:57 +01:00
Sebastian Dietrich
dd2a422e9b Remove menu items when GDALtools plugin is unloaded (fixes #13642) 2015-12-12 14:24:45 +01:00
Nyall Dawson
6a7f786126 Merge pull request #2570 from nirvn/point_on_surface_v3
[expression] add point_on_surface function
2015-12-12 22:35:58 +11:00
nirvn
35fea9c986 [expression] add point_on_surface function 2015-12-12 17:16:34 +07:00
Nyall Dawson
62f90d0c5e Merge pull request #2569 from SebDieBln/Improve_CrsReadXML
Improve QgsCoordinateReferenceSystem::readXML()
2015-12-12 11:47:32 +11:00
Sebastian Dietrich
edea51b675 Improve handling of scales in project properties dialog
* avoid duplicate scales
* reject invalid scales
* keep list of scales always sorted

Added QGIS 3.0 TODO marker for reworking the scales list widget.
2015-12-12 00:27:16 +01:00
Sebastian Dietrich
4921d9e957 Handle changes to existing predefined scales
* reject invalid changes
* reposition the changed scale to maintain correct order
* avoid creating duplicates
* remove leading zeroes from denominator
2015-12-12 00:26:48 +01:00
Sebastian Dietrich
33ea2a0416 Avoid adding duplicate scales to the scale list. 2015-12-12 00:26:48 +01:00
Sebastian Dietrich
9aff9c5689 Maintain order in scale list (fixes #8320) 2015-12-12 00:26:47 +01:00
Sebastian Dietrich
7671626843 De-duplicate code when adding scales to the list of scales. 2015-12-12 00:26:47 +01:00
Sebastian Dietrich
44fae1af07 Use Q_FOREACH macro with scales 2015-12-12 00:26:46 +01:00
Sebastian Dietrich
ac1ee1cd50 QgsCoordinateReferenceSystem::readXML() returns false on failure
simplified a check for valid crs
2015-12-12 00:21:22 +01:00
Sebastian Dietrich
2d0be1cf69 Changed the parameter of QgsCoordinateReferenceSystem::readXML() to const
and removed const_cast<> where not needed any longer
2015-12-12 00:05:10 +01:00
Juergen E. Fischer
6e3b1da10e dxf export: add doxymentation 2015-12-11 23:16:08 +01:00
Juergen E. Fischer
3e18fda4ce fix translation string 2015-12-11 20:47:12 +01:00
Juergen E. Fischer
555b7a4319 [FEATURE] dxf export: add option to use title instead of name as dxf layer name in application and server 2015-12-11 20:21:17 +01:00
Matthias Kuhn
a1a19d2b13 Doxymentation 2015-12-11 13:06:03 +01:00
Matthias Kuhn
c9fa33410d Fix rendering geometry generators for line layers
And add more tests
2015-12-11 11:41:41 +01:00