34941 Commits

Author SHA1 Message Date
Nyall Dawson
90aebd117d [processing] Add geometry info should add z/m values (fix #14659) 2016-10-11 09:30:41 +10:00
rldhont
49459c8d70 [QGIS Server] Use qobject_cast when it's usefull 2016-10-10 17:18:59 +02:00
rldhont
e34116d7b9 Redo [BUGFIX][QGIS Server] Joins was not reloaded if the layer is in cache
With the commit f6aad8b, the QgsMapLayerRegistry signal `layersWillBeRemoved` is always emit. This imply that the vector layer join buffer is empty and not reloaded if the layer is in cache.

To fix it, the QgsServerProjectParser has to have the same method as QgsVectorLayerJoinBuffer::readXml.

This commit fixed #15522 Qgis Server doesnt' respect the styling from Desktop
2016-10-10 15:27:54 +02:00
rldhont
801d4cd9cd Revert "[BUGFIX][QGIS Server] Joins was not reloaded if the layer is in cache"
This reverts commit 1df9d7e1a60b3e6c913fae1414a6b397a1dc6aae.
2016-10-10 15:27:54 +02:00
rldhont
f4cae3334a Revert "fix typo 1df9d7e1a60b3e6c913fae1414a6b397a1dc6aae"
This reverts commit db1b52a249e7f5187e5ec2462bdf88ca91c5c988.
2016-10-10 15:27:54 +02:00
rldhont
be58cd781b Revert "Fix QGIS server for PyQgsServerAccessControl"
This reverts commit 8648bd12f39e17e3e656101e5b12a13b170e59c5.
2016-10-10 15:27:54 +02:00
rldhont
3b65a91b95 Revert "fix 1df9d7e"
This reverts commit 3b9316dae919a3debd31440eab18b51116cf478d.
2016-10-10 15:27:54 +02:00
Alexander Bruy
66035b6161 Merge branch 'processing_parameters_refactoring' 2016-10-10 15:56:34 +03:00
Alexander Bruy
2c9fdae414 move imports to the top 2016-10-10 15:56:00 +03:00
Alexander Bruy
4292c46ca9 Merge branch 'processing_parameters_refactoring' of https://github.com/volaya/QGIS into processing_parameters_refactoring 2016-10-10 15:55:31 +03:00
Nyall Dawson
6d2ab9edf3 Merge pull request #3582 from fritsvanveen/fix_illegible_labels
Fix illegible labels
2016-10-10 21:48:10 +10:00
Nyall Dawson
6fd5815523 @cluster_color should default to null, not empty string 2016-10-10 19:53:15 +10:00
Nyall Dawson
ddfe91f763 Fix @geometry_point_num and @geometry_point_count for marker lines
Fixes #15673
2016-10-10 19:53:15 +10:00
Nyall Dawson
748d8acddb Fix first marker is drawn twice for marker line interval mode 2016-10-10 19:53:15 +10:00
Nyall Dawson
c1cf896c1a Fix invalid values for @map_extent_width/height (fix #15672) 2016-10-10 19:53:15 +10:00
Nyall Dawson
e69dd9c9b2 Fix escaping in regexp function help 2016-10-10 19:53:15 +10:00
Nyall Dawson
0c4bf943c1 Allow expression functions to appear in multiple groups (fix #15682)
Now functions which make sense for multiple contexts (eg length,
to_date) can appear in more than one group.
2016-10-10 19:53:15 +10:00
volaya
fba87f79f3 Merge branch 'master' of https://github.com/qgis/QGIS into processing_parameters_refactoring
Conflicts:
	python/plugins/processing/gui/ExtentSelectionPanel.py
2016-10-10 09:09:34 +02:00
volaya
3b1dfa7071 [processing] made -te parameter optional in gdal warp 2016-10-10 08:05:11 +02:00
Juergen E. Fischer
b51e3c7ca6 fix warning
(cherry picked from commit cd3adc077eda76f1503ed7d4e29b1b2e41218d47)
2016-10-10 00:47:14 +02:00
Nyall Dawson
8d690fa4f6 [composer] Use inline panels for grid and overview symbol style selectors 2016-10-09 18:10:46 +10:00
Juergen E. Fischer
22af5bf5d4 fix typos 2016-10-09 01:47:09 +02:00
Nyall Dawson
3a76708bcb Fix renaming a virtual field leads to crash (fix #15669) 2016-10-09 09:03:52 +10:00
Juergen E. Fischer
3b9316dae9 fix 1df9d7e 2016-10-08 22:51:31 +02:00
Jürgen Fischer
1d612d7959 Merge pull request #3586 from p0cisk/master
Fix VSIUnlink in QgsOgrUtils::stringToFeatureList
2016-10-08 20:18:59 +02:00
Piotr Pociask
a8d08891ce Fix VSIUnlink in QgsOgrUtils::stringToFeatureList 2016-10-08 19:43:37 +02:00
rldhont
8648bd12f3 Fix QGIS server for PyQgsServerAccessControl 2016-10-07 19:28:51 +02:00
Alexander Bruy
9b75746003 [processing] remove obsolete import 2016-10-07 16:32:15 +02:00
rldhont
db1b52a249 fix typo 1df9d7e1a60b3e6c913fae1414a6b397a1dc6aae 2016-10-07 15:48:10 +02:00
rldhont
1df9d7e1a6 [BUGFIX][QGIS Server] Joins was not reloaded if the layer is in cache
With the commit f6aad8bad6db72d0b1e573998ac7dcb2405dce55, the QgsMapLayerRegistry signal `layersWillBeRemoved` is always emit. This imply that the vector layer join buffer is empty and not reloaded if the layer is in cache.

To fix it, the layer XML element has to be read each time the layer is used.

This commit fixed #15522 Qgis Server doesnt' respect the styling from Desktop
2016-10-07 15:47:26 +02:00
Juergen E. Fischer
f971b0dbd1 osgeo4w: really use package name (fixes 6db9a371) 2016-10-07 15:22:41 +02:00
Even Rouault
ccb8b0f924 Remove useless debug trace 2016-10-07 14:01:45 +02:00
Even Rouault
a5a18c2eb1 [OGR provider] Make feature iterator work on GeometryCollection sublayers
When trying to reproduce http://hub.qgis.org/issues/10485, I noticed a regression.
Now attribute table no longer shows features with OGR GeometryCollection.

Fixes also issues where sublayer geometry type is too strict regarding 2D vs 2.5D
geometry types.

Fixes #15675
2016-10-07 13:42:05 +02:00
Even Rouault
3a906a188c [OGR provider] Force REPACK at the first edit action.
In the case where we deal with a shapefile, it is possible that it has
pre-existing holes in the DBF (see #15407), so if using a GDAL version
recent enough (>=2.1.2) to have reliable packing, do a packing at the
first edit action.

Fixes #15407
2016-10-07 12:14:52 +02:00
Juergen E. Fischer
6db9a37172 osgeo4w: use package name in build directory
(cherry picked from commit 706431e31d6f0a288856ceeff39d7ce432c20633)
2016-10-07 11:26:52 +02:00
Even Rouault
b567fd0ac8 Merge pull request #3583 from rouault/fix_15419
QgsSymbol::renderFeature(): render larger parts of multipolygon first
2016-10-07 10:54:14 +02:00
Juergen E. Fischer
2c92152c7d debian packaging: run tests with ninja too (followup b4f3126) 2016-10-07 09:48:35 +02:00
Frits van Veen
12a8891b15 Fix curved labels 2016-10-07 08:16:36 +02:00
Nyall Dawson
a9e9a6e497 Merge pull request #3579 from nyalldawson/composer_dock
Port composer item configuration widgets to inline dock
2016-10-07 07:39:43 +10:00
Even Rouault
e5f7cdcba4 [WFS provider] Be robust to field names ending with spaces in DescribeFeatureType
Fixes #3426
2016-10-06 23:18:22 +02:00
Even Rouault
893263952d QgsSymbol::renderFeature(): render larger parts of multipolygon first
When drawing an invalid multipolygon, that has a part inside another one,
there is a chance we draw first the smaller part and then the larger part,
making it invisible.
Change the drawing order to start with larger parts.

Fixes #15419
2016-10-06 20:45:46 +02:00
Even Rouault
7182b1b871 Properly deal with empty cache/directory in WFS provider, server and globe plugin
Fixes #15111
2016-10-06 19:43:00 +02:00
Even Rouault
1ebd5a454d [WFS provider] Do not append crs at end of BBOX in WFS 1.0
Fixes #15464
2016-10-06 19:09:24 +02:00
Even Rouault
b8ff71af46 [WFS provider] Force refresh of GetCapabilities when pressing Connect
The cached response to GetCapabilities was always used, even when
pressing Connect. Now a new request is sent over the network.

Fixes #15647
2016-10-06 18:44:35 +02:00
Even Rouault
fffbf784b0 Fix exception in GDALTools.doRasterize.loadFields due to Python 3 conversion 2016-10-06 18:01:03 +02:00
Even Rouault
5b6e4b80b1 [OGR provider] Check if REPACK has emitted errors
Refs #15393 and #15570
Real fix for the REPACK issues has been committed per
GDAL ticket https://trac.osgeo.org/gdal/ticket/6672 (GDAL 2.1.2 or above)

Add test to simulate the situations that caused problems.
2016-10-06 16:14:45 +02:00
Juergen E. Fischer
daf8f7a244 fix PyQgsAppStartup (followup d9349e5) 2016-10-06 15:54:27 +02:00
Alexander Bruy
45a84419ff [processing] show error message instead of Python error if output raster is temp output and test can not be created 2016-10-06 15:57:13 +03:00
Mathieu Pellerin
17010acf55 [travis] fix grass7 plugin build by adding GRASS_PREFIX7 (#3578)
* [travis] fix grass7 plugin build by adding GRASS_PREFIX7

* Followup 3n0486c: fix grass plugin build, take 2
2016-10-06 13:40:24 +02:00
Juergen E. Fischer
d2c20495d9 osgeo4w: switch to ninja 2016-10-06 13:36:23 +02:00