36516 Commits

Author SHA1 Message Date
lbartoletti
01cd784ee7 [FEATURE][processing] Add overlay option to GridLine and GridPolygon 2017-01-19 16:49:35 +10:00
Nyall Dawson
1f3c67f8e3 Add missing ~ operator to expression builder 2017-01-19 16:03:48 +10:00
Harrissou Sant-anna
f43dc8e134 Enable icons visibility in Evis dialogs (#4012)
- Add + and - icons
- Also move some "what's this" comments to "tooltip"
2017-01-19 08:00:53 +07:00
Nyall Dawson
d0a46972d4 Merge pull request #4002 from tudorbarascu/fixdescription
fix setRelationId description
2017-01-19 06:19:29 +10:00
Nyall Dawson
7161b5a842 Merge pull request #4008 from jgrocha/postgisstyles
DDL update: saving layer styles on databases
2017-01-19 06:17:59 +10:00
Nyall Dawson
819c9ec03e Merge pull request #4006 from SrNetoChan/replace_pngs
Replace pngs by SVGs
2017-01-19 06:17:17 +10:00
Nyall Dawson
2183887759 Don't use canvas mapSettings when composer maps respond to layer changes 2017-01-19 06:08:44 +10:00
rldhont
07c54e5496 Merge pull request #4004 from dmarteau/wfs_as_module
WFS & WCS as module
2017-01-18 13:07:32 +01:00
Alexander Bruy
08e0eacfef [processing] return string from selection type setting when necessary 2017-01-18 08:46:56 +02:00
Martin Dobias
90d233ad30 Remove draw() method from QgsRasterDataProvider interface (#4017)
It was redundant in the API - one always wants to use block() to get data
2017-01-18 13:32:26 +08:00
Nyall Dawson
df3fdf52a8 Merge pull request #4005 from nyalldawson/comp_mapsettings
Remove some more QgsComposition::mapSettings use, also support different CRS in composer map items
2017-01-18 12:57:46 +10:00
Nyall Dawson
710a12cabd Avoid use of composition map settings to set initial composer map extent 2017-01-18 12:30:47 +10:00
Nyall Dawson
a3dd380d35 [needs-docs] Composer maps default to a "use project CRS" setting
And overriding projection is only done if user has manually
chosen a different CRS from the list.

This means that templates and compositions in server can still
adapt to follow the project CRS, but if desired specific map
items (eg an overview map) can use the CRS override to always
show in a particular CRS.
2017-01-18 12:30:47 +10:00
Martin Dobias
433d04b68e QgsRasterBlock::data() for efficient access to pixel data also in Python (#4009)
Also adds some unit tests and API cleanups
2017-01-18 09:52:45 +08:00
Nyall Dawson
6a4d605256 Fix some test failures 2017-01-18 07:38:06 +10:00
David Marteau
e17a7d4e21 Move wcs as service module 2017-01-17 22:02:02 +01:00
David Marteau
56b2f08865 Move wfs as service module 2017-01-17 17:21:25 +01:00
Alessandro Pasotti
c80e5d131d [bugfix] Fixes WFS HTTP auth basic username/password
Fixes #15360 and #15597
2017-01-17 13:57:23 +01:00
Jorge Gustavo Rocha
6bab0c6913 DDL update: saving layer styles on databases
Fix #11421
2017-01-17 12:48:43 +00:00
Nyall Dawson
4896569626 More removal of QgsComposition::mapSettings use 2017-01-17 19:25:12 +10:00
Nyall Dawson
9a6d714061 [FEATURE][composer] Allow choice of CRS for map items
This allows the CRS for map items to differ from the canvas/project
CRS. It also allows different map items to have different CRS,
eg an overview map can be set to a different CRS to the main map.

An unfortunate side effect of this change and the ongoing work
to separate compositions from canvas is that datum transforms
are no longer supported in composer. This cannot be fixed until
the datum transform store is rewritten to not depend on canvas
(ie, it's also broken for upcoming multi-canvas work)
2017-01-17 19:18:47 +10:00
Nyall Dawson
305f9f0e98 Remove some more QgsComposition::mapSettings use 2017-01-17 15:44:46 +10:00
Nyall Dawson
308fc569ce Remove some more QgsComposition::mapSettings use 2017-01-17 13:23:12 +10:00
Nyall Dawson
e3ad5b1e3b [composer] Remove more use of composition map settings
Use relevant composer map item CRS instead of composition mapsetting's
CRS. For items directly linked to a map (eg scalebar, legend) we
use that map's CRS, for others (eg labels, html items) we use the
composition's reference map CRS.

(Note that the CRS cannot be set for a map, and is still currently
linked to the canvas CRS. Fixing that is a future TODO.)
2017-01-17 13:23:12 +10:00
Denis Rouzaud
b119744773 replace cancelling, cancelled and cancellation by canceling, canceled and cancelation, respectively (#4000)
* replace cancelling and cancelled by canceling and canceled, respectively

see https://github.com/qgis/qgis3_UIX_discussion/issues/19

* replace cancellation by cancelation
2017-01-16 22:27:14 +01:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Juergen E. Fischer
f2e556a446 creatensis.pl: handle release names with blanks 2017-01-16 16:08:24 +01:00
Tudor Bărăscu
e7c9b74afa Show warning when adding more than 1 part to single geometry layers 2017-01-16 16:07:56 +01:00
Denis Rouzaud
50e5d97a17 [spellcheck] fix using whole dictionary 2017-01-16 15:12:48 +01:00
Tudor Bărăscu
783fae1bc9 fix setRelationId description 2017-01-16 13:22:43 +02:00
Alexandre Neto
14c4dea4db Replaces ProjectionEnable Icons and text
Replaces the OFT enable and Disable Icons to use the same CRS Icon as in options

Changes behavior on CRS TEXT showing when OTF is off, instead of when it's ON.
2017-01-16 11:16:12 +00:00
Denis Rouzaud
3d3856580f Qt 5.2 has QComboBox::currentData 2017-01-16 12:06:01 +01:00
Alessandro Pasotti
39a5f6a4f9 Merge pull request #3999 from elpaso/wfst-fixes-15597-16043
[bugfix] WFS-T Fixes #15597 #16043
2017-01-16 11:55:10 +01:00
Alessandro Pasotti
9324bdac1f [bugfix] WFS-T Fixes #15597 #16043
This commit fixes a few bugs on WFS-T with
servers that support WFS-T > 1.0.0 when user
configure version != 1.0.0 ("auto" is the default).

It also fixes WFS-T multiple operations on GeoServer
when an insert operation is among them and the feature
store does not return generated feature ids for the
inserted features (i.e. shapefiles).

Tested on GeoServer and QGIS Server

 (cherry-picked from 502a8da40380)
2017-01-16 11:38:14 +01:00
Alexandre Neto
0fdd168de3 Replace mActionCheckQgisVersion.PNG by SVG 2017-01-16 10:26:00 +00:00
Denis Rouzaud
bf22cbfa9d [spellcheck] fix case detection + some fixes 2017-01-16 10:56:42 +01:00
Denis Rouzaud
5679fb0417 [spell check] allow global replace
also fix matching case
2017-01-16 10:30:15 +01:00
rldhont
474252a6f3 Merge pull request #3985 from dmarteau/revisit_server_exceptions
Server: revisit server exceptions
2017-01-16 10:05:20 +01:00
Martin Dobias
b340d7bdb6 Add willBeDeleted() signal to QgsMapLayer (#3998)
This allows pieces of code that depend on map layers to listen directly
to the layer's notification rather than having to listen to project's
layersWillBeRemoved signal (and cycle through the whole list)
2017-01-16 16:51:44 +08:00
Nyall Dawson
6d23b0450c Merge pull request #3992 from nyalldawson/distance_otf
Don't disable project ellipsoid choice when canvas OTF reprojection is disabled
2017-01-16 17:08:56 +10:00
Nyall Dawson
5e459d7b25 Merge pull request #3995 from nyalldawson/render_context
Remove rasterScaleFactor/setRasterScaleFactor from QgsRenderContext
2017-01-16 17:08:26 +10:00
Nyall Dawson
3274e1926f Remove more unused raster scale factor handling 2017-01-16 16:50:54 +10:00
Nyall Dawson
48797fa9b7 Remove unused (and not useful) QgsRenderContext::constPainter getter
Since const QPainters cannot be painted to, there's no value in
leaving this in the API
2017-01-16 16:19:00 +10:00
Nyall Dawson
cc56c80b5b Small cleanups and documentation improvements for QgsRenderContext 2017-01-16 16:18:59 +10:00
Nyall Dawson
430af90cfa Remove rasterScaleFactor/setRasterScaleFactor from QgsRenderContext
These were not being used by QGIS code (always left at default 1.0
value), and removing them from the api allows us to simplify lots
of code. It also makes QgsRenderContext scaling much less confusing.
2017-01-16 16:18:58 +10:00
Nyall Dawson
49411210b0 [composer] Remove QgsComposerMap::storeCurrentLayerSet
This method was used to sync the canvas layers to a composer map.
The logic has been moved to app to avoid a dependancy between
compositions and the main map canvas
2017-01-16 15:52:19 +10:00
Nyall Dawson
f96364e8dc [composer] Cleanup handling of wms layer/advanced effect detection 2017-01-16 15:52:19 +10:00
Nyall Dawson
8a9cee0fb6 [composer] Use reference map when creating render context for
draw shape/arrow/nodes/paper symbols

This commit removes some more instances where changes in the
canvas affect compositions. Previously the symbols drawn
in shape/arrow/etc items were using the scale from the canvas.
This meant that the appearance of these items in composer
would change depending on canvas zoom if they used symbols
with map unit sizes.

Now they take their map scale from the composition's reference
map. While this has the nice side effect that now map units
can be used in the appearance of these items and they're
guaranteed to match up with the reference map item, the main
intention here is to remove more of the forced links between
compositions (core) and the main canvas (app).
2017-01-16 15:52:19 +10:00
Nyall Dawson
8a722d2981 Move QgsSymbolLayerUtils::createRenderContext to QgsRenderContext::fromQPainter
This method is useful in many contexts outside of symbology
2017-01-16 15:52:19 +10:00
Nyall Dawson
f32d11b508 [composer] Use largest map in composition as reference map if no
reference map is explicitly set
2017-01-16 15:52:19 +10:00