559 Commits

Author SHA1 Message Date
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
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
Nyall Dawson
808a432f9e Fix bad profiles in some PNG images, causes libpng warning on startup 2015-09-28 18:41:56 +10:00
Larry Shaffer
e65aa99ae7 [FEATURE] Authentication configuration system with master password
- Main C++ core and gui classes and desktop app integration
- Support for authentication method plugins
- Does not contain any integration with service connections
2015-09-21 08:51:18 -06:00
Matthias Kuhn
591942e6b9 Add settings editor to options dialog 2015-09-21 14:37:18 +02:00
Salvatore Larosa
0c58f9c829 [log message] changing the message log icon in order to warning the user when a log message has been received 2015-09-13 22:08:19 +02:00
mhugent
5807875797 Merge pull request #2268 from mhugent/curve_capture_tool
Curve capture tool
2015-08-24 18:18:40 +02:00
Nyall Dawson
1c7a5b2dba Add editor widget for editing QgsExpressionContextScope variables 2015-08-22 19:01:39 +10:00
Marco Hugentobler
e6219e713b [FEATURE]: Tool to add circular strings with two points and radius 2015-08-21 10:35:01 +02:00
Radim Blazek
c783f26234 [GRASS] modules tree and list integrated into one tab, added tree filter 2015-08-19 18:52:18 +02:00
Marco Hugentobler
c39ffe9fc2 [FEATURE]: Tool to add circular strings with start point, curve point and end point 2015-08-17 17:14:05 +02:00
William Kyngesburye
89e9980c90 update Mac browser icon 2015-07-25 16:58:51 -05:00
Matthias Kuhn
d252936285 Some UI improvements in the options dialog 2015-07-22 20:18:05 +02:00
Matthias Kuhn
a37b3e27d5 Remove executable flag on a bunch of files 2015-07-20 15:45:44 +02:00
Salvatore Larosa
b39cb7bac6 added missing icons to customization dialog
also added new icon for the  select all action
2015-06-21 16:20:30 +02:00
Salvatore Larosa
22082d6587 new icons for sharing in the stylemanager dialog 2015-06-19 14:40:27 +02:00
Martin Dobias
b81933ee56 Fixed fish and alcohol SVG files (fixes #12948)
Both SVGs had an extra path out of specified bounds which was getting
clipped out when rendering to canvas, but not in other places.
2015-06-18 11:14:38 +08:00
Juergen E. Fischer
f4c3f3d397 fix browser image 2015-06-15 05:18:24 +02:00
Nathan Woodrow
f3e234d6e9 Add missing browser image 2015-06-15 12:40:41 +10:00
Juergen E. Fischer
f261270292 debian packaging update (fixes #12954) 2015-06-14 23:28:34 +02:00
Nyall Dawson
31232d16b5 Merge pull request #2126 from nirvn/lock_icon_refresh
[GUI] refresh the symbology and composer lock icons
2015-06-09 18:14:23 +10:00
nirvn
cf6de0f336 [gui] refresh the symbology and composer lock icons 2015-06-09 15:05:13 +07:00
nirvn
3e17d5631c [gui] refresh the symbology add/remove/arrow icons 2015-06-09 10:25:44 +07:00
Nathan Woodrow
aa6db0eb8c Merge pull request #2119 from nirvn/browser_toolbar_improvement
[browser] slight re-ordering and icon improvements
2015-06-07 20:46:55 +10:00
Mathieu Pellerin
cc8c7ab0ae [gui] update duplicate layer icon to align to a 16 x 16 grid 2015-06-07 14:19:24 +07:00
Mathieu Pellerin
1b4fe75ab3 [gui] sync layer right-click menu & composer legend item icons 2015-06-07 14:00:09 +07:00
Mathieu Pellerin
4075979e0d [browser] slight re-ordering and icon improvements 2015-06-07 12:06:06 +07:00
Nyall Dawson
eb9ef52389 Align some icons to pixel grid 2015-05-30 14:28:48 +10:00
Tim Sutton
225362d4f7 Merge pull request #2085 from timlinux/master
Updated splash for Nødebo
2015-05-28 21:54:13 +02:00
nirvn
7b94fc548d [gui] refresh icons for the layer, browser, and identity panels (svg files) 2015-05-28 16:29:25 +07:00
nirvn
9f89b210f7 [gui] refresh icons for the layer, browser, and identity panels 2015-05-28 14:40:51 +07:00
Tim Sutton
b16b6bbb98 Updated splash for Nødebo 2015-05-28 00:36:30 +02:00
Radim Blazek
9e5b2ba511 [GRASS] create imagery group if there are rgb color interpretations, list groups in browser 2015-05-26 12:43:20 +02:00