25142 Commits

Author SHA1 Message Date
rldhont
8d26a95eb6 Merge pull request #1655 from rldhont/server_embedded_layers
[BUGFIX] #11484 QGIS server: embedded layers are not published (GetCapabilities, GetMap, etc)



In QgsServerProjectParser::createLayerFromElement, we need to generate a
QgsServerProjectParser of the parent project to return the mapLayer for
embedded layers. To do it, I use QgsCacheConfig to get the
QgsServerProjectParser for the parent project.

Funded by 3Liz.
2014-10-24 18:16:47 +02:00
Werner Macho
444bea595f [TRANSUP] fix hu
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-24 14:12:47 +02:00
Werner Macho
3b601fecd4 [TRANSUP] transifex update
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-24 13:52:06 +02:00
Martin Dobias
e02e7c92fd Support for reading composer legend configuration for projects <= 2.4
The list of layers/groups is now restored (previously the configuration would be omitted).
2014-10-24 17:53:17 +07:00
rldhont
d64525c0b6 [BUGFIX] #11484 QGIS server: embedded layers are not published (GetCapabilities, GetMap, etc)
Issue #1072 QGIS server: embedded groups do not render in GetMap requests if
 leave layers are requested has been fixed 40d91457f6f069886c5ba1c28db1efb2ff4ccac7

But another fix about embedded layers lacks. A fixme annotation is in the
 QgsServerProjectParser::createLayerFromElement. This one is about return the
 layer if it is embedded.

In QgsServerProjectParser::createLayerFromElement, we need to generate a
 QgsServerProjectParser of the parent project to return the mapLayer for
 embedded layers. To do it, I use QgsCacheConfig to get the
 QgsServerProjectParser for the parent project.

Funded by 3Liz.
2014-10-24 11:29:04 +02:00
Martin Dobias
4ac94f2275 Do not show in composer legend unused layers if filtering by map is enabled
This resolves #11457 and partially #11293
2014-10-24 16:25:50 +07:00
Alexander Bruy
6bde8a2015 bump Processing version 2014-10-24 10:27:29 +03:00
Salvatore Larosa
2da907741e [pyqgis-console] update prepared API file 2014-10-24 09:18:56 +02:00
Salvatore Larosa
a0f8060f98 [pyqgis-console] small fix 2014-10-24 09:18:56 +02:00
Alexander Bruy
94a33cd1c9 [processing] fix issues with Create Grid algortihm 2014-10-24 09:35:45 +03:00
Martin Dobias
8db77fcff7 Fix Andreas' problem with checkboxes in legend + update SIP bindings
The problem was that rule-based renderer allowed cloned rules to have the same unique rule key.
That in turn created the confusion with checkboxes in legend. Now rules always have new rule key
when cloned. The only exception is when the whole renderer is cloned - in such case we preserve
their rule keys, so that other components (legend / visibility presets) can still keep using
the original rule keys.

Projects where this problem appears need to be fixed - the easiest way is to select all rules,
copy&paste them and remove the previous rules.
2014-10-24 12:25:33 +07:00
Nathan Woodrow
a763594432 Fix #11208 - Error when saving MSSQL layer when using DSN 2014-10-24 09:55:35 +10:00
Nyall Dawson
8e2def581a [composer] Negative position values should be allowed 2014-10-24 09:52:13 +11:00
Juergen E. Fischer
27f296df7d update changelog for brighton release 2014-10-23 21:27:19 +02:00
Juergen E. Fischer
2c7378bb16 expressions: keep brackets (fix #11475) 2014-10-23 21:03:08 +02:00
Juergen E. Fischer
65db7fb1ed dxf export: fixes for text support (text width, underline/overline/strikeout
and line direction symbols)
2014-10-23 20:35:22 +02:00
Werner Macho
e2f1450513 Merge pull request #1654 from Cracert/master
[TRANSUP] pl: processing
2014-10-23 19:04:18 +02:00
Robert Szczepanek
5c9fee512b [TRANSUP] pl: processing 2014-10-23 18:57:03 +02:00
Martin Dobias
2c19543178 Merge pull request #1653 from 3nids/fixidentmenurubber
delete rubber bands when exiting identify menu
2014-10-23 21:05:46 +07:00
Denis Rouzaud
a41a9a38ac delete rubber bands when exiting identify menu 2014-10-23 14:45:00 +02:00
Martin Dobias
cc306099d9 Fix #11474 (cannot move layers in layer tree anymore)
I have managed to break that with implementation of #11369.
Obviously it is a bad idea to change selection in a slot connected to model's rowsInserted signals
because the drag'n'drop does not work properly anymore. Now registry bridge will emit a signal after
new layers have been added, so the selection change at that point should be safe.
2014-10-23 19:08:54 +07:00
alexbruy
88e5cde31a Merge pull request #1652 from gioman/processing_count_points
result field in Processing 'count points in polygon' must be integer
2014-10-23 14:21:59 +03:00
Giovanni Manghi
6f30ab9be7 result field in Processing 'count points in polygon' must be integer 2014-10-23 11:11:03 +01:00
Martin Dobias
aeb9d934ed Fix QgsRasterInterface bindings again (fixes PyQgsRasterFileWriter test) 2014-10-23 16:16:21 +07:00
Martin Dobias
691f4a2858 Fix #11455 take two (raster crashes)
Thanks to Nyall for pointing this out
2014-10-23 16:16:21 +07:00
Juergen E. Fischer
d833c22b46 fix interpretation of numeric constants in scientic notation (fixes #10939) 2014-10-23 00:07:48 +02:00
Juergen E. Fischer
99c5c10cfb osgeo4w: package pdbs in nightly build 2014-10-22 18:54:14 +02:00
Martin Dobias
37ba8e4187 Fix #9319 (copy of QgsExpression crashes)
Disabled the copy constructor for now (later we may introduce implicit sharing)
2014-10-22 23:03:53 +07:00
Werner Macho
1ead57f745 [TRANSUP] transifex update
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-22 16:06:16 +02:00
Martin Dobias
ea910d887d Fix #11369 (New layers are not active with new legend) 2014-10-22 19:57:05 +07:00
Martin Dobias
c9e05f9800 Fix #11455 (Crash when setting transparency for WMS layer)
Layer transparency instance was not copied when renderers were cloned.
2014-10-22 17:39:14 +07:00
Martin Dobias
6db04b41f9 Fixed SIP wrapper for conversion to QgsRasterInterface subclasses 2014-10-22 17:39:14 +07:00
Matthias Kuhn
da98a3c343 Self referencing relations: do not repeatedly embed dual view 2014-10-22 11:27:34 +02:00
Nyall Dawson
5f9e45af49 [composer] Avoid hang when adding columns to table on Win (fix ##11462) 2014-10-22 19:39:02 +11:00
alexbruy
6be9d08061 Merge pull request #1646 from gioman/saga_shapesmodules_fixes1
fixes for 2 shapes tools for SAGA 2.1.2
2014-10-22 11:13:04 +03:00
alexbruy
47f5873e86 Merge pull request #1649 from gioman/ogr_clip
add Processing clip using ogr2ogr to compensate for the bad Clip perform...
2014-10-22 11:12:47 +03:00
borys
abf816bf80 [TRANSUP] pl: the layers panel toolbar and color dialogs 2014-10-22 10:02:57 +02:00
Nyall Dawson
92e3d64a0e [composer] Catch CRS exceptions when drawing grid lines
Prevents bad grid parameters for a transformed grid flooding the user
with hundreds of unclosable error message boxes.
2014-10-22 18:51:25 +11:00
Juergen E. Fischer
528c4cacb6 vector file writer: assume shapefiles contain multitype data (fixes #10584) 2014-10-22 09:27:19 +02:00
alexbruy
372c3ce8ac Merge pull request #1650 from gioman/gdal_rasterize_writeover
fix processing gdal_rasterize to allow write vector values in a existing raster layer
2014-10-22 10:01:03 +03:00
Nyall Dawson
a4f20840e5 Tweak data defined button icons so they align to pixel grid 2014-10-22 17:51:51 +11:00
Martin Dobias
c7d6f417ba Fix #11074 (raster save as broken)
Now the rows/cols edit boxes are prepopulated when the dialog is created
which solves the problem
2014-10-22 12:43:24 +07:00
Martin Dobias
037138fae5 Fix #10999 (reshape tool throws GEOS exceptions)
Exceptions fixed earlier by @mkuhn in 37f1a1
Numerical problems found by @arnaud-morvan, corrected by @jef-n
2014-10-22 11:34:52 +07:00
Juergen E. Fischer
f2b7c0fcf8 handle unset setting values in processing (fixes #11340) 2014-10-22 01:21:45 +02:00
Juergen E. Fischer
b5f047d2d3 keep add feature action until non-modal attribute form is closed (fixes #11461) 2014-10-22 00:25:39 +02:00
Werner Macho
9dbeefb688 Merge pull request #1651 from Cracert/master
[TRANSUP] pl: menu and toolbars
2014-10-22 00:21:03 +02:00
Robert Szczepanek
f1ce3724e2 [TRANSUP] pl: menu and toolbars 2014-10-21 23:53:29 +02:00
Giovanni Manghi
d9b1638073 added detail about the output 2014-10-21 22:27:18 +01:00
Juergen E. Fischer
3bdb104a01 use QgsCredentials to request wms/ows credentials on demand and wms cleanups (fixes #11184) 2014-10-21 23:26:36 +02:00
Giovanni Manghi
ee8b74f5ca fix processing gdal_rasterize to allow write vector values in a existing raster layer 2014-10-21 22:21:52 +01:00