690 Commits

Author SHA1 Message Date
Even Rouault
3ba86d48a9 Add a 'Layer / Create Layer / Create GeoPackage layer' menu item 2016-04-23 19:36:16 +02:00
Nyall Dawson
efb84ea2fa [FEATURE][diagrams] Add optional legend entries for diagram sizes
A new "legend" tab has been added to diagram properties, allowing
both the existing attribute legend and a new size legend to be
enabled/disabled. The size legend has a configurable marker
symbol.

Also includes unit tests for both diagram attribute and size
legends.

Sponsored by ADUGA
2016-04-19 08:16:05 +10:00
Nyall Dawson
66b51d4a81 [FEATURE] Edit attributes of multiple features simultaneously
This change allows the attributes of multiple features to be edited
simultaneously. It is enabled when the attribute table dialog is in
"form mode", via a new "multi edit" button on the toolbar.

In this mode, attribute value changes will apply to all selected
features. New widgets appear next to each editor widget allowing for
display of the current multi-edit state and for rolling back changes
on a field-by-field basis.

Changes are made as a single edit command, so pressing undo will
rollback the attribute changes for all selected features at once.

Multiedit mode is only available for auto generated and drag and
drop forms - it is not supported by custom ui forms.

Sponsored by Kanton Basel Stadt
2016-04-18 15:15:11 +10:00
Webmaster
ae719c0917 [svg] add accessibility and low vision symbols 2016-04-17 11:22:48 +07:00
Blottiere Paul
023281907f update label toolbar to manage diagrams too 2016-04-13 14:50:37 +02:00
nirvn
7c3ec07aca [ui] add missing icons for no labels and no diagram 2016-04-08 09:48:11 +07:00
Nyall Dawson
d464f86290 [FEATURE] Null ("No symbol") renderer
Using this renderer no symbol will be drawn for features, but labeling,
diagrams and other non-symbol parts will still be shown.

Selections can still be made on the layer in the canvas and selected
features will be rendered with a default symbol. Features being edited
will also be shown.

This is intended as a handy shortcut for layers which you only want
to show labels or diagrams for, and avoids the need to render
symbols with totally transparent fill/border to achieve this.

(fix #12131)
2016-04-06 20:55:26 +10:00
Juergen E. Fischer
1cbcf49043 include db2 provider in packaging 2016-04-04 00:59:38 +02:00
David Adler
5fe19c5f15 merged DB2 updates
[FEATURE] New vector data provider for DB2 sources
2016-04-04 07:55:50 +10:00
Blottiere Paul
7a8a5411e0 [FEATURE][composer] Add tools for drawing polygon and polylines 2016-04-01 11:05:03 +11:00
Nyall Dawson
8c0230fd3a Parameterise more included SVGs 2016-03-08 10:47:21 +11:00
Nyall Dawson
9d2fe8f943 Port more svgs to parameters, remove default colors 2016-03-08 10:47:21 +11:00
nirvn
de0b770a1e [svg] add fill and outline parameters to all arrows 2016-03-08 10:47:21 +11:00
Alexander Bruy
5df0ce04e8 [processing] replace fTools and GdalTools plugins with Processing 2016-03-01 15:57:32 +02:00
Juergen E. Fischer
191476bfe0 revert splash change of be7f3fa 2016-02-26 14:36:53 +01:00
Juergen E. Fischer
be7f3fa898 release.pl: warn about mis-sized splash and rescale it 2016-02-26 14:33:45 +01:00
Matthias Kuhn
a4f8d02548 Merge pull request #2630 from SrNetoChan/master
New Icons for QGIS File Formats
2016-02-26 13:42:55 +01:00
nirvn
24a07de336 [ui] improve new memory layer icon 2016-02-17 11:25:28 +07:00
nirvn
dcc1511ecd [ui] improve virtual layer icon 2016-02-17 10:46:00 +07:00
nirvn
5ae21054d8 [ui] update a few more selection-related icons 2016-02-17 08:58:07 +07:00
nirvn
b4ee36d86d [labeling] add rule-based, obstacle icons 2016-02-15 12:41:38 +07:00
nirvn
ed06bb67cc [gui] improve composer icons 2016-02-08 13:32:44 +07:00
Webmaster
1b858292af [gui] refresh selection-related icons 2016-02-06 17:57:56 +07:00
Patrick Valsecchi
57fb7ce47a Add select all and invert selection to Attributes Toolbar
Took the opportunity to fix a bug where the selectByExpression action
was not disabled when a raster layer was selected.
2016-01-31 10:56:30 +11:00
nirvn
36d2e7b1bb [ui] add missing renderer icons 2016-01-22 11:51:24 +07:00
Martin Dobias
b83f6e359a Merge pull request #2665 from wonder-sk/auto-trace
[FEATURE] Tracing of features (digitizing)

Tracing can be now used in various capturing map tools (add feature, add part, ...) including reshape and split tools.

Tracing is simply a new mode for these tools - when tracing is not enabled, the tools work as usual. When tracing is enabled (by clicking the new magnet icon or pressing T key), tools switch to tracing behavior:
- first click on a vertex/edge (must be snapped!) will start tracing - moving mouse on top of the map continuously updates the trace
- next click will confirm the trace and mark start of a new trace Tracing can be enabled/disabled anytime even while digitizing one feature, so it is possible to digitize some parts of the feature with tracing enabled and other parts with tracing disabled.

Tracing respects snapping configuration for the list of traceable layers.

If there are too many features in map display, tracing is disabled to avoid potentially long tracing structure preparation and large memory overhead. After zooming in or disabling some layers the tracing is enabled again.

Internally, things work like this:
- when tracing is requested, linestrings are extracted from vector layers, then noded (using GEOSNode to resolve all intersections) and finally a simple planar graph is built (vertices + edges)
- when tracing, endpoints are temporarily added to the graph (if not equal to one of existing vertices already) and Dijkstra's algorithm is run to get shortest path

Original specs for the curious ones (the interaction with QGIS is slightly improved from what has been specified): http://www.lutraconsulting.co.uk/crowdfunding/autotrace-phase-2/specification.pdf
2016-01-13 12:18:00 +01:00
rldhont
e276f170c7 [Feature][QGIS Server] Add WMS INSPIRE Capabilities
In the project properties the user can:
* activate INSPIRE capabilities
* select language of the service, 24 EU official languages + 5 regionals
* choose the scenario for service metadata and specify them

The WMS 1.3.0 capabilities reflects the INSPIRE configuration.
2016-01-11 21:12:09 +01:00
Martin Dobias
bbe359867a [tracer] Integration of tracing into GUI
Checking the new 'enable tracing' button will switch capture tools
to tracing mode. Tracing can be turned on/off even while digitizing
is in progress
2016-01-10 18:47:42 +01:00
Hugo Mercier
7fb93920e4 Add a basic GUI for virtual layer creation and add it to the main app 2016-01-07 15:38:09 +01:00
SrNetoChan
be1fd07733 QGIS formats Icons for mac 2016-01-04 00:00:56 +00:00
SrNetoChan
fe0383f55b Added QGIS formats icons 2016-01-03 23:46:03 +00:00
SrNetoChan
5687967e2c Colored qlr icon 2016-01-03 23:31:14 +00:00
SrNetoChan
a39585e37a updated mime icons for mac 2015-12-21 23:07:35 +00:00
SrNetoChan
dfd3c8db2e changed mime icons files names 2015-12-21 23:07:35 +00:00
SrNetoChan
25ec9ee39b Added new mime icons 2015-12-21 23:07:34 +00:00
Radim Blazek
5c551837fb [GRASS] distinct icons for open/searched mapset 2015-12-15 12:18:08 +01:00
Nyall Dawson
8cac36433d [FEATURE] Add support for transparency in SVG color params
...and update all bundled SVGs to suit

Non-bundled SVGs must add:

fill-opacity="param(fill-opacity)"
and
stroke-opacity="param(outline-opacity)"

to enable transparency support
2015-12-08 22:45:51 +11:00
Nathan Woodrow
2794ea1650 Something about the session ;) 2015-12-04 13:59:23 +10:00
Denis Rouzaud
8996be9ad1 new text/numeric field icons 2015-12-02 09:30:27 +01:00
Denis Rouzaud
0b9ac8bd9b followup ebb9eff
* use better icons
* fix typo LongLong
* rename icons to group them alphabetically
* add time icon and type
2015-11-30 14:58:07 +01:00
Alexander Bruy
5db2934a6e show data type icons in the field combobox 2015-11-30 14:58:07 +01:00
Nyall Dawson
709b47e11c Followup b81933e fix other symbols with paths out of viewport 2015-11-15 14:45:34 +11:00
Richard Duivenvoorde
b741986041 new splash for dev (Las Palmas Hackfest) 2015-11-11 23:23:14 +01:00
Werner Macho
fd485010a5 translation update for consolidation
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-11-05 20:27:18 +00:00
Werner Macho
bc042a5e65 cleanup after consolidating chinese 2015-11-05 20:26:53 +00:00
nirvn
f3a45cd400 improve and vectorize several edit toolbar icons 2015-10-16 09:32:29 +07:00
Nyall Dawson
06c2190e3d Remove default outline-width param from included SVGs if
default value is non 0

using the monstrosity:
zerowidth='!0'; grep -R -rl -P "\"param\(outline-width\) (?${zerowidth})(.*?)\"" | xargs sed -i -b 's/\(param(outline-width)\)[^"]*"/\1\"/g'

(fix #10908)
2015-10-12 07:49:41 +11:00
Nyall Dawson
be6faef0fc Remove default outline param from included SVG files if default is #000
using:
grep -R -rl \"param\(outline\)[[:space:]]*#000\" | xargs sed -i -b 's/\(param(outline)\)\s*#000"/\1\"/g'

(refs #10908)
2015-10-12 07:49:41 +11:00
Nyall Dawson
66e6f399c4 Remove default fill param from included SVG files if default is #FFF
using:
grep -R -rl \"param\(fill\)[[:space:]]*#FFF\" | xargs sed -i -b 's/\(param(fill)\)\s*#FFF"/\1\"/g'

(refs #10908)
2015-10-12 07:49:41 +11:00
Nyall Dawson
a784d6bc3d If svg files with params do not have a default value set, then don't
reset the fill/border color and border width when changing svg
marker/svg fill SVG files

This change makes the behaviour consistent between the svg marker
symbol and the other marker symbols. Additionally, svg files
which have customisable colors and NO default values set will
be shaded in gray fill/black outline in the svg selector widget,
to follow the same behaviour as the other marker symbol selectors.

Note that this change has NO EFFECT unless the svg files are
modified to remove the default param value, so there will be no
change for users' custom symbols. A follow up commit will need
to remove the default param values from the preinstalled SVG
files though. If you want to test in the meantime, I've modified
just the first two symbols in the accomodation group to make
this change for testing.

(refs #10908)
2015-10-11 23:00:01 +11:00