1403 Commits

Author SHA1 Message Date
Nyall Dawson
10d75c0066 [composer] Fix display name for attribute table frames 2014-10-03 09:15:07 +10:00
Nyall Dawson
456e971372 [composer] Fix table background extending beyond table rows (fix #11272).
It was necessary to add a new 'table background' color option to prevent
regressions when loading old compositions, since users may desire
the old behaviour where the entire frame is filled.
2014-10-03 09:08:23 +10:00
Chris Crook
0d1f719652 Adding missing elements from SIP 2014-10-03 06:14:38 +13:00
Nyall Dawson
a2d5acb516 Add argument to QgsCoordinateTransform::transformBoundingBox to flag that
handling of a bounding box which crosses the 180 degree longitude line
is required. Fix composer map reprojected grids which cross 180 degree line.
2014-10-02 06:48:53 +10:00
Chris Crook
a5f0de9dd7 API fixes to use Legend instead of Label where it makes more sense 2014-10-01 12:47:01 +13:00
Chris Crook
21ddf1294d Changing decimal places to precision, allowing negative precision, improving rounding for locales with , instead of . for decimal point 2014-10-01 09:41:07 +13:00
Nyall Dawson
fb7415c3ff [composer] Refresh refetches atlas feature from provider, more removal of duplicate map redraws 2014-09-30 20:37:16 +10:00
Nyall Dawson
8c502c19fc [composer] Fix pages are added but never removed with multiframe resizing 2014-09-29 22:19:08 +10:00
Nyall Dawson
8725c2df4b [composer] Fix ctrl modifier not applying to wheel events when in move item
content mode, add missing undo merge command for item zoom (refs #7974)
2014-09-29 19:21:01 +10:00
Nathan Woodrow
fcfafa0a51 Use a single format string using Qt format for renderer label 2014-09-28 17:24:10 +10:00
Juergen E. Fischer
67e077853e DXF export improvements:
* tree view and attribute selection for layer assigment in dialog
* support fill polygons/HATCH
* represent texts as MTEXT instead of TEXT (including font, slant and weight)
* support for RGB colors when there's no exact color match
* use AutoCAD 2000 DXF (R15) instead of R12
* remove R18 test methods

Funded-By: City of Uster
Funded-By: Ville de Morges
Funded-By: SIGE
2014-09-26 14:10:26 +02:00
mhugent
6fcfb97bf6 Merge pull request #1593 from rldhont/qgis-server-print-legend
[FEATURE][QGIS-Server] Legend filtering based on map in GetPrint Request
2014-09-26 12:57:29 +02:00
Nathan Woodrow
0c6576c423 Merge pull request #1587 from ccrook/CategorizedRendererUpdate
Categorized and graduated renderer enhancements
2014-09-26 20:23:03 +10:00
rldhont
251a8a4d3a [FEATURE][QGIS-Server] Legend filtering based on map in GetPrint Request
Feature funded by Tecnostudi Ambiente, Faunalia and Andromede-oceanologie.

The legend in composition was fixed and did not represent the layers in the map.
With the work made by @wonder-sk on layer-tree and QgsComposerLegend users will be able
 to configure composer legend as based on all the project layer tree with auto-update
 model or filtered by map.
This commit reused these two QgsComposerLegend's properties to filter it based on map in
 GetPrint Request

The issue #4003 qgis_mapserver getPrint legend options can be closed.
2014-09-26 12:09:40 +02:00
Nyall Dawson
a9c97ae153 [composer] Add a checkbox to prevent drawing border and background for empty frame items 2014-09-26 17:45:07 +10:00
Nyall Dawson
ce2142585a [FEATURE][composer] Add checkbox and data defined button for controlling
whether an item is excluded from composer exports/printouts.
2014-09-26 16:03:31 +10:00
Chris Crook
25a7be2966 Modified labelling to include prefix, separator, suffix. 2014-09-26 14:47:46 +12:00
Nyall Dawson
89a7573faf [FEATURE][composer] Allow data defined control of atlas margin for maps 2014-09-26 09:05:52 +10:00
Nyall Dawson
272b79b6ca [FEATURE][composer] Add checkbox to frame items for preventing export
of page containing frame when frame is empty. This change allows
users to create multiple pages containing extra frames for multiframe
items (currently HTML and Attribute Table items), which are then only
printed/exported if required. Sponsored by the City of Uster, Switzerland.
2014-09-26 01:08:07 +10:00
Martin Dobias
e37a5ad8df [FEATURE] Legend filtering based on map content (in main window, composer, WMS)
There is new "filter" button in layers panel that toggles this functionality
and in composer legend widget.

Related feature is that layer tree now shows symbols in map units with correct size
(even when filtering is not enabled) so as the map view changes the legend node icons
are updated too (if they use map units).

GetLegendGraphics in WMS server
-------------------------------

This is an extension of standard GetLegendGraphics request according to MapServer RFC 101.
See the document for more details: http://mapserver.org/development/rfc/ms-rfc-101.html

In summary, clients need to add BBOX and CRS/SRS parameters to get appropriate legend based on the given map view.
Parameters WIDTH and HEIGHT are also taken into account as they specify map view image size for correct calculation
of size of legend symbols (if they are based on map units).

--

This software has been commissioned by Tuscany Region (Italy),
co-funded by the European Commission and developed under the project LIFE12 ENV/IT/001054 LIFE + IMAGINE.
The software has been realized by Gis3W s.a.s.

Questo software è stato commissionato da Regione Toscana (Italia),
cofinanziato dalla Commissione Europea e sviluppato nell'ambito del progetto LIFE12 ENV/IT/001054 LIFE + IMAGINE.
Il software è stato realizzato da Gis3W s.a.s.
2014-09-25 12:56:37 +02:00
Nyall Dawson
b83722346e Improved method for selecting random colors for categorised renderer,
which should result in more visually distinct color choices
2014-09-25 10:44:07 +10:00
Chris Crook
a5911e78b7 Implementation of graduated renderer breakpoint editor, minus SIP for editor 2014-09-24 20:46:06 +12:00
Chris Crook
2f706bc47a Refactoring ready for manual update dialog. Also improves labelling of StdDev classifications and better determination of decimal places to use 2014-09-24 10:50:54 +12:00
Chris Crook
91358aaa15 Merge branch 'master' into CategorizedRendererUpdate 2014-09-24 06:04:58 +12:00
Nyall Dawson
34f00d106f [FEATURE][composer] Add checkbox for showing unique records only in composer
attribute tables. (Sponsored by my OCD)
2014-09-23 19:28:40 +10:00
Matthias Kuhn
c1c81eae94 Update sip bindings 2014-09-22 18:38:36 +02:00
Nyall Dawson
30ada2833a [FEATURE][composer] Add a checkbox to filter attribute tables to
features which intersect the current atlas feature. Sponsored by City
of Uster, Switzerland.
2014-09-22 22:59:39 +10:00
Nyall Dawson
14690d0716 [FEATURE][composer] Add choice of display style for empty tables. Options
include hiding the entire table, showing empty cells, or displaying a
set message in the table body. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:30 +10:00
Nyall Dawson
c3ec4b9eb0 [FEATURE][composer] Add option for showing child features from a relation
for attribute tables in the composer. If selected, the attribute table
will show all related features to the current atlas feature within
the table body. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:20 +10:00
Nyall Dawson
f58768c550 [FEATURE][composer] Option for current atlas feature as source for
attribute tables. Sponsored by City of Uster, Switzerland.
2014-09-22 22:59:07 +10:00
Nyall Dawson
d85f6251f2 Merge pull request #1540 from manisandro/composer_html_fixes
Recompute webpage viewport dimensions when resizing html frames
2014-09-22 20:20:52 +10:00
Matthias Kuhn
bb3ead3b0f Transfer ownership of drag-and-drop layout elements in sip
Fix #11207
2014-09-22 11:25:40 +02:00
Nyall Dawson
b893cb241c [FEATURE][composer] Allow manual control of column widths for attribute table items. 2014-09-22 19:13:47 +10:00
Nyall Dawson
7904c100cf [composer] Add some missing Transfer/TransferThis methods to sip bindings 2014-09-21 21:05:29 +10:00
Denis Rouzaud
d279197e6c create a relationsChanged signal for relation manager 2014-09-21 13:52:22 +10:00
Nyall Dawson
ccad38bf33 [composer] Clean up QgsComposerMap api, add docs and missing sip bindings for composer overviews 2014-09-21 00:47:57 +10:00
Nyall Dawson
fb2279f620 Add a changed signal to QgsRelationManager 2014-09-21 00:23:01 +10:00
Chris Crook
47f7db5f21 Merge branch 'master' into CategorizedRendererUpdate 2014-09-20 18:31:33 +12:00
Chris Crook
abd9e3cd21 Numerous enhancements to graduated and categorized symbol renderers 2014-09-20 18:30:12 +12:00
Nyall Dawson
46c75994a5 Add support for removing user palettes from color picker 2014-09-20 12:41:53 +10:00
Nathan Woodrow
8c327ed35e Add asImage method for QgsSymbol 2014-09-19 21:21:04 +10:00
Nyall Dawson
05524d7017 [composer] Remove gui controls for adding deprecated table item (sponsored
by City of Uster, Switzerland)
2014-09-17 22:59:01 +10:00
Nyall Dawson
9fd73901a6 [composer] API docs and python bindings for QgsComposerTableV2 (sponsored
by City of Uster, Switzerland)
2014-09-17 22:58:49 +10:00
Nyall Dawson
37dbbd55a8 [composer] Begin work on calculating rows for QgsComposerTableV2
(sponsored by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Nyall Dawson
d1e26f24e5 [composer] Option for fixed frame sizes set by multi frame (sponsored
by City of Uster, Switzerland)
2014-09-17 22:57:48 +10:00
Nyall Dawson
39700e7d97 Option in color picker dialog to import a gpl palette to a new user scheme 2014-09-17 22:53:35 +10:00
Nyall Dawson
a7a1bee5cc Add flags for controlling behaviour of color schemes 2014-09-17 21:10:05 +10:00
Nyall Dawson
dff326f407 Load gpl files from user folder to schemes 2014-09-17 21:10:05 +10:00
Martin Dobias
de48dad6e9 Followup #10912 - detect cycles in joins and reject joins that would create cycle
Cycle would otherwise cause infinite loop when updating fields and it does not make sense
2014-09-16 12:11:15 +07:00
Martin Dobias
dc63b44af6 Fix build error with SIP (4.15.5) 2014-09-15 11:09:15 +07:00