30064 Commits

Author SHA1 Message Date
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
Nyall Dawson
c176e3f41e Fix documentation test failure 2015-12-11 19:30:15 +11:00
Nyall Dawson
233f67b419 QgsPolygonV2 tests and fixes
- fixes for handling Polygon25D
- add QgsAbstractGeometryV2::convertTo( QgsWKBTypes::Type type ) for
easy conversion between geometry types
- fix crash when calculating perimeter with no exterior ring
- ensure that added rings respect dimensionality of polygon (avoids
issues such as polygons with z having a ring without z, or a
Polygon25D with LineStringZ rings)
- if a curved ring is added to a polygon then a segmentized version
of the ring is used (can't have a Polygon with a CircularString
ring)
- when calling setInteriorRings, make sure empty rings are skipped
and that all rings are converted to correct type for polygon
- don't crash when requesting or removing interior ring with
index < 0
2015-12-11 18:40:11 +11:00
Nyall Dawson
d2bf8d8923 Add equality operators to QgsLineStringV2 2015-12-11 18:40:11 +11:00
Nathan Woodrow
6dfffc5f12 Add missing docs 2015-12-11 15:12:11 +10:00
Nathan Woodrow
bc67c082ad Add missing SIP and docs 2015-12-11 14:11:02 +10:00
Nathan Woodrow
ffd7c9436f [FEATURE] Add project loading support from browser 2015-12-11 14:08:03 +10:00
Nyall Dawson
19dcd21b6d Add icons to geometry generator type list 2015-12-11 11:58:34 +11:00
Matthias Kuhn
7daca216b3 Ignore bounds for generated geometries
And guard many other static_casts to avoid crashes.
2015-12-11 01:35:30 +01:00
Nathan Woodrow
d021100e5e [FEATURE] Allow hiding paths from the browser panel 2015-12-11 10:21:07 +10:00
Matthias Kuhn
d1c063419b Rename geometry generator types 2015-12-11 00:50:05 +01:00
Juergen E. Fischer
595f24e40d astyle.sh: skip E265 (block comments should start with '# ') 2015-12-11 00:15:06 +01:00
Matthias Kuhn
8a9399095b Indentation update 2015-12-11 00:07:37 +01:00
Nyall Dawson
c854d05f2e Update doc and sip coverage test thresholds 2015-12-11 08:36:36 +11:00
Nyall Dawson
b23ddfe2b4 Fix taking attribute values in merge attributes dialog (fix #13971)
Also fix handling of long feature ids in tool.
2015-12-11 08:07:10 +11:00
Nyall Dawson
f93fce7390 Avoid warnings 2015-12-11 07:32:38 +11:00
Nyall Dawson
c6c076b082 Implement provider side feature IDs filtering for mssql 2015-12-11 07:14:03 +11:00
Nyall Dawson
a6cf5475c6 [FEATURE] Expression compiler for mssql provider
Also make mssql provider handle requests which cannot be executed
gracefully (was crashing before)
2015-12-11 07:14:03 +11:00
Nyall Dawson
8602a91a1d Add provider test for mssql 2015-12-11 07:14:03 +11:00
Juergen E. Fischer
c9645e478c indentation fix 2015-12-10 20:41:07 +01:00
rldhont
f27e6c27b5 [FEATURE][QGIS-Server] showFeatureCount in GetLegendGraphic
Add non standard parameter 'ShowFeatureCount' to add feature count in the legend.
2015-12-10 16:28:19 +01:00
Matthias Kuhn
ac5ff0c2ca Fix doxymentation also in sip 2015-12-10 15:57:21 +01:00