15518 Commits

Author SHA1 Message Date
Matthias Kuhn
4505a4b03b For geometry validation GAP errors, allow zooming to gap or context
When a topological check returns a gap, it's sometimes better to zoom to the gap,
sometimes to show the gap in the context of the surrounding polygons. There is no
one-size-suits-all solution.
Therefore it's now possible to zoom to one by enabling the "zoom to feature(s)" button
also for topological errors.
2019-07-19 11:59:07 +02:00
Nyall Dawson
d439484c27 Remove disableCache argument from python bindings 2019-07-19 13:39:06 +10:00
Nyall Dawson
9015a177d0 Disable CRS and transform cache permenantly when exiting Qgis
Hopefully this will prevent additional items being added to the cache
after we've gracefully finalised proj operations, which results
in the infamous crash-on-exit fiasco...
2019-07-19 13:39:06 +10:00
Nyall Dawson
dbe7e6156e Append additional "QgsCalloutContext" member to callout rendering virtual
methods

While unused for now, this gives us flexibility in future to specify
additional useful contextual information about how a callout should
be rendered without breaking API (e.g. label text alignment, label
font settings, etc)
2019-07-19 13:38:49 +10:00
Nyall Dawson
2aba793946 Fix some warnings 2019-07-19 09:22:48 +10:00
Nyall Dawson
33ee00f3f6 Ensure layer tree indicator icons are repainted on changes 2019-07-19 07:20:40 +10:00
Nyall Dawson
bd44f53236 Map canvas emits a signal when errors occur during rendering operations 2019-07-19 07:20:40 +10:00
Alexander Bruy
d0b8d6210c
Merge pull request #30715 from alexbruy/gdal-layers
[processing] pass layer name to the gdalwarp to avoid issues with multi-layer datasources (fix #30292)
2019-07-18 10:21:03 +03:00
Nyall Dawson
83168d3a02 [FEATURE] Add a separate unit choice for milliradians (SI definition) vs mil (NATO definition)
Allows angular measurements in either of these units
2019-07-18 15:06:52 +10:00
Nyall Dawson
249a27b003 Fix dox warning 2019-07-18 13:00:15 +10:00
Nyall Dawson
10a1b1548b Remove broken seealso links 2019-07-18 13:00:15 +10:00
Nyall Dawson
a83953599a Allow pushing more contextual information to QgsFontButton/QgsTextFormatWidget
e.g. follow the same approach as symbology and allow pushing message
bars, map canvases, and expression contexts to the widgets
2019-07-18 13:00:15 +10:00
Nyall Dawson
a57d04fb7f When a style manager dialog is opened in read only mode, still allow
symbols to be double clicked to view their properties. Just disable
actually saving any edited symbols instead.
2019-07-18 11:13:35 +10:00
Matthias Kuhn
7013539981 Resolve code issues 2019-07-17 04:26:29 +10:00
Sandro Mani
afb698b334 Add missing consts 2019-07-17 04:26:29 +10:00
Matthias Kuhn
7691f526be Cleanup rubberband code 2019-07-17 04:26:29 +10:00
Sandro Mani
7af22a8bf6 Add QgsRubberBand::IconType::ICON_SVG 2019-07-17 04:26:29 +10:00
Sandro Mani
bc4bd9199e Add QgsUnitTypes::AngleUnit::AngleMil 2019-07-17 04:26:29 +10:00
Sandro Mani
68c94dd844 Move QgsReadWriteContext::DefaultTranslator to cpp file
The nested class appears to cause sip to stumble with undefined references to vtable (observed cross-compiling from Fedora to MinGW)
2019-07-17 04:26:29 +10:00
nirvn
dded60611b [callouts] Add symbol-related variables to the expression context 2019-07-16 14:59:06 +07:00
luz.paz
604e66ba75 sipify_all 2019-07-16 11:29:42 +10:00
Nyall Dawson
171f06447a [callouts] Ensure simple callouts are rendered below all map labels
...instead of being rendered on top of some. For this callout style,
we don't want callouts overlapping labels (rather the opposite). But
leave API in place to allow other callout styles to render below
their associated labels only, as this may be wanted for some styles
(e.g. balloon style callouts)
2019-07-16 07:46:58 +10:00
Nyall Dawson
c2ce430116 [processing] Don't append full traceback when a QgsProcessingException is
raised by a Python algorithm

This is too noisy for these expected exceptions -- instead, only
show the traceback for other exceptions (Which are likely a result
of Python coding errors, so they are useful for debugging)
2019-07-16 07:44:09 +10:00
Alexander Bruy
e45b62c6af re-enable some disabled test and fix broken r.describe algorithm 2019-07-16 06:20:23 +10:00
Alexander Bruy
807564a435 [processing] improve handling of the HTML outputs in GRASS provider (fix #30609) 2019-07-16 06:20:23 +10:00
Alexander Bruy
da8b574bf1
Merge pull request #30716 from alexbruy/fix-sip
fix SIP file
2019-07-15 19:11:22 +03:00
Alexander Bruy
109d1fb7a8 [processing] pass layer name to the gdalwarp to avoid issues with
multi-layer datasources (fix #30292)
2019-07-15 16:05:16 +03:00
Matthias Kuhn
5f0447b397
Fix sip file (#30714) 2019-07-15 15:01:42 +02:00
Alexander Bruy
39124dad04 update SIP file 2019-07-15 15:59:25 +03:00
rldhont
7362faca02 [Bugfix] DB Mananger: Fix in Oracle plugin the way to strip uniqueCol 2019-07-15 10:37:36 +02:00
Alex
248af94ba9 Symbol aware legend expression (#9648) 2019-07-15 07:12:24 +02:00
Nyall Dawson
64ecc06fed Store publish_to field locally 2019-07-15 12:52:20 +10:00
Nyall Dawson
a1d116ebb6 More dox 2019-07-15 12:52:20 +10:00
Nyall Dawson
a0e41f98e8 Spelling and dox 2019-07-15 12:52:20 +10:00
Nyall Dawson
dc8ab9a8ca Implement right click menu for news items, allows feed to be disabled 2019-07-15 12:52:20 +10:00
Nyall Dawson
da601982e1 Add dismissAll API 2019-07-15 12:52:20 +10:00
Nyall Dawson
a8fdcc0550 Store news images locally to be bandwidth efficient 2019-07-15 12:52:20 +10:00
Nyall Dawson
fcb620d972 [FEATURE] Show news items on welcome page
The curated QGIS news feed is now shown on the welcome page. This finally gives
us a direct channel to push project news to ALL our users!
2019-07-15 12:52:20 +10:00
Nyall Dawson
4540685545 Add a proxy model to apply correct sorting to news feed entries 2019-07-15 12:52:20 +10:00
Nyall Dawson
298e2fe25e Add a model for news feeds 2019-07-15 12:52:20 +10:00
Nyall Dawson
da2e8fe38c Allow entries to be dismissed 2019-07-15 12:52:20 +10:00
Nyall Dawson
af365c6144 Create QgsNewsFeedParser class for parsing QGIS style news feeds
Designed to work with the server specs from https://github.com/elpaso/qgis-feed
2019-07-15 12:52:20 +10:00
Alexander Bruy
5709f84b2f [processing] add createByDefault argument to directory output
constructor
2019-07-15 08:51:01 +10:00
Alexander Bruy
9ed4d08d5b [processing] ignore hidden parameters when generating GDAL command (fix #30669) 2019-07-15 07:52:36 +10:00
Nyall Dawson
e0093e1d11 [processing] Don't abort when an algorithm step fails in batch mode
Instead, record errors and report them all at the end of the batch
process. If we abort the remaining batch steps when encountering any
error, this blocks a useful use of the batch mode and prevents users
from running a batch process over a large number of input files, some
of which may be invalid.
2019-07-15 06:35:14 +10:00
Nyall Dawson
956c6d694e Add python subclass code 2019-07-11 13:03:12 +10:00
Nyall Dawson
b84d294412 Dox++ 2019-07-11 13:03:12 +10:00
Nyall Dawson
b10fc70d37 Don't get distracted... 2019-07-11 13:03:12 +10:00
Nyall Dawson
22ae228a9d Dox 2019-07-11 13:03:12 +10:00
Nyall Dawson
b944dd4d23 Ensure messagebar is available for use by callout widgets in dock mode 2019-07-11 13:03:12 +10:00