25731 Commits

Author SHA1 Message Date
Matthias Kuhn
2e972b13ba Render incremental rendering image at proper location
The old behavior was to render it at the currently visibleExtent based on the
map canvas. The job may however have been scheduled for a different extent and
therefore rendered at an improper location.
2014-12-11 12:20:03 +01:00
Alexander Bruy
0d8cb3c1a9 [processing] fix wrong behavior in Join by location alg (fix #11736) 2014-12-11 12:43:35 +02:00
Alexander Bruy
50620533e7 [processing] fix rows addition in batch processing interface 2014-12-11 11:45:38 +02:00
Denis Rouzaud
e1156164c8 remove warnings 2014-12-11 10:35:50 +01:00
Nyall Dawson
0ba3f5bae0 Fix incorrect size of markers with data defined name 2014-12-11 16:57:26 +11:00
Matthias Kuhn
dd1bb9f851 iface.getFeatureDialog creates an "add" dialog for an invalid feature 2014-12-10 14:43:11 +01:00
Denis Rouzaud
5fd04e63b9 advanced digitizing tools fixes part 2
* action in toolbar activate/disable the tools instead of showing/hiding the dock
* do not filter event if tools are disabled
* disable construction mode if tools are disabled
* continue renaming cad to advanced digitiing tools
2014-12-10 10:40:50 +01:00
Nyall Dawson
21c4cbbe1a Flip rotation spin box to QgsDoubleSpinBox
Fix some other small spin box related ux improvements (fix #11833)
2014-12-10 20:36:18 +11:00
Nyall Dawson
714a1e6835 Fix warning 2014-12-10 20:10:31 +11:00
Nyall Dawson
bcc29ff5d0 Add methods to QgsDataDefined for reading and writing to XML 2014-12-10 19:53:16 +11:00
Denis Rouzaud
a1e0f01709 fixes for advanced digitizing tools
do not clear intermediate points when digitizing points in construction mode
increase maximum height of dock widget when tools are disabled
2014-12-10 08:12:07 +01:00
Sandro Santilli
a56ec981a3 Const-correct QgsMapToPixel::showParameters 2014-12-09 12:38:22 +01:00
Sandro Santilli
87de9f5b92 Test rotation API in QgsMapPixel unit test 2014-12-09 12:10:32 +01:00
Sandro Santilli
a353a4ddf6 Set all QgsMapToPixel parameters at once from QgsMapSettings 2014-12-09 11:58:41 +01:00
Sandro Santilli
cebb6fff94 Refactor QgsMapToPixel to only build matrix on parameter change
Also add deprecation notices and provide full-parameters constructor
2014-12-09 11:50:25 +01:00
Sandro Santilli
ec085bfbcc Add unit test for QgsMapToPixel (legacy only for now) 2014-12-09 11:29:05 +01:00
Denis Rouzaud
d65a6f73d4 Merge pull request #1624 from 3nids/cadtool_single
Advanced digitizing tools (aka CAD tools)
2014-12-09 10:23:42 +01:00
Sandro Santilli
2b1b79dbcb Expose QgsMapCanvas rotation and centering API to python 2014-12-09 09:57:35 +01:00
Juergen E. Fischer
6557cb84c8 debian packaging update (merge and squash PR#1725) 2014-12-09 09:55:00 +01:00
Sandro Santilli
b3953b8339 Export QgsMapSettings rotation API to python 2014-12-09 09:53:56 +01:00
Sandro Santilli
5683ebda20 Make toCanvasCoordinate(QRect) method private in QgsMapCanvasItem
I added this for rotation support but the interface is probably not
something any external code should rely upon.
2014-12-09 09:34:05 +01:00
Sandro Santilli
aa0b98dd69 Add note about QgsMapCanvas::rotation() being added in 2.8 2014-12-09 09:34:04 +01:00
Nyall Dawson
fd0e98d5f4 Ensure all items are deleted from TestQgsComposerTableV2 2014-12-09 19:20:16 +11:00
Paolo Cavallini
c46a7b632c Merge pull request #1517 from imincik/dbmanager_icons
dbmanager: rotating layer import and export icons to more intuitive sense
2014-12-09 09:05:21 +01:00
Nyall Dawson
7ca723920f Merge pull request #1721 from nyalldawson/integer_divide
[expressions] Make int/int return double results
2014-12-09 18:37:48 +11:00
Salvatore Larosa
c4c36dd943 Allows to import/export bookmarks to XML file 2014-12-08 23:02:55 +01:00
Juergen E. Fischer
28c344325f indentation update 2014-12-08 21:30:29 +01:00
Juergen E. Fischer
e27d809738 dxf export:
* export layers in reversed rendering order
* use checkboxes for layer selection
* support for layers selection by visibility preset
* improve selection of layer attribute
* show busy cursor while exporting
* fix duplicate end of entities section
2014-12-08 21:25:12 +01:00
alexbruy
4980dba5d8 Merge pull request #1719 from bstroebl/splitLines
[processing] [feature] split lines with lines
2014-12-08 11:59:45 +02:00
Bernhard Ströbl
da17656fe0 Log error to ProcessingLog 2014-12-08 09:31:41 +01:00
borys
535661d63a [gui] Fix qgsexpressionbuilder layout 2014-12-08 01:10:30 +01:00
borys
3933f99bdc [gui] Fix fieldcalculator layout 2014-12-08 01:09:47 +01:00
Sandro Santilli
ce8a9ba4af Add support for map rotation (hub #9330)
Includes widget to show and set map rotation.
Handle rotation in vector and raster renderers.
Ensure correct behavior of panning and zooming actions.

Drop compile-time defines for ARM and ANDROID, leaving only
the qreal based function to transform in place.

Update expected test results after eye comparison.
2014-12-07 16:30:41 +01:00
Alexander Bruy
b774853a4e remove debug code 2014-12-07 12:59:11 +02:00
Alexander Bruy
fc6ad27db8 [processing] load documentation from online QGIS User Guide 2014-12-07 12:52:30 +02:00
alexbruy
a6fcb3a412 Merge pull request #1720 from neteler/patch-6
[processing] Update Grass7Algorithm.py
2014-12-07 12:16:48 +02:00
Nyall Dawson
759a148312 Flip all labelling spin boxes to QgsSpinBox/QgsDoubleSpinBox 2014-12-06 19:32:46 +11:00
Nyall Dawson
232aaaca66 [expressions] Make int/int return double results.
Also add a new "//" operator to perform integer division.
(fix #5153)
2014-12-06 16:36:42 +11:00
Nyall Dawson
26e06e6881 Flip remaining symbology spinboxes to QgsDoubleSpinBox 2014-12-06 00:10:11 +11:00
Nyall Dawson
697ef510b7 Also evaluate expressions entered in QgsSpinBox
and flip all composer spin boxes to QgsSpinBox (refs #10544)
2014-12-05 23:39:50 +11:00
Nyall Dawson
dfe7980764 Flip all composer double spin boxes to QgsDoubleSpin (refs #10544)
Add clear buttons to applicable properties.
2014-12-05 22:14:10 +11:00
Nyall Dawson
7400106e41 [FEATURE] Evaluate expressions entered in QgsDoubleSpinBox
Allows entry of QGIS expressions into the spin box. The expression
is evaluated on enter or loss of focus and then discarded.

(refs #10544)
2014-12-05 20:39:09 +11:00
Nyall Dawson
8a182b7f34 Clean up QgsMapLayer scale based visibility api 2014-12-05 20:39:09 +11:00
mhugent
072c1e5731 Merge pull request #1715 from rldhont/server_wms_getcapabilities_compliance
[QGIS-Server] FIX 10489 QGIS Server getcapabilites response is not WMS c...
2014-12-05 08:56:16 +01:00
Markus Neteler
c522112534 Update Grass7Algorithm.py
GRASS GIS 7 update: dsn -> input|output as per http://trac.osgeo.org/grass/browser/grass/trunk/lib/gis/renamed_options
2014-12-04 21:57:19 +01:00
rldhont
a7de4dad77 [QGIS-Server] Clean GetCapabilities
Remove GetPrint request and ComposerTemplates from GetCapabilities for a better interoperability
2014-12-04 21:32:11 +01:00
rldhont
c2b5da3377 [QGIS-Server] FIX 10489 QGIS Server getcapabilites response is not WMS compliant
To be fully compliant with WMS 1.3.0 standard, I propose to add :
* SLD namespace for GetLegendGraphic element
* schemaExtension.xsd distributed with QGIS-Server for GetStyles and GetPrint
* GetSchemaExtension to retrieve schemaExtension.xsd like MapServer

The solution was inspired by
 http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
And the standard description
Styled Layer Descriptor profile of the Web Map Service Implementation Specification
http://portal.opengeospatial.org/files/?artifact_id=22364
2014-12-04 20:15:17 +01:00
Bernhard Ströbl
a2c656e6f6 [processing] [feature] split lines with lines 2014-12-04 16:20:43 +01:00
Nyall Dawson
0fa40a657b Change some spin boxes in symbology to QgsDoubleSpinBox
Adds the handy 'clear' buttons to these spin boxes, such as
offsets and rotation.
Also standardises the display of some widgets in symbology.
2014-12-04 21:19:43 +11:00
Denis Rouzaud
1a4b8bb40d define the special text directly with the clear value 2014-12-04 10:15:05 +01:00