Matthias Kuhn
22dbeee989
Add test for QgsGeometryCheckError::contextBoundingBox()
2019-07-19 11:59:08 +02:00
Matthias Kuhn
5e88f9096f
Pretty pring QgsRectangle when using QCOMPARE
2019-07-19 11:59:08 +02:00
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
Juergen E. Fischer
d5d68ad6f5
debian packaging: add qt5-image-formats-plugins dependency (implements #26559 )
2019-07-19 11:51:49 +02:00
Matthias Kuhn
ce8004446a
Update the project ellipsoid if CRS is taken from first layer
...
Fix #30815
2019-07-19 11:08:39 +02:00
Nyall Dawson
46807c7eaf
Fix missing cache skip in proj 6 code path
2019-07-19 17:27:55 +10:00
nirvn
cb6ef056cf
[attribute table] Fix several issues with form view's feature navigation
...
- Disable zoom / pan when filtering by visible features (fixes #30763 )
- Disable flash / zoom / pan when not set to form view
- Do not trigger flash / zoom / pan when selection hasn't actually changed
2019-07-19 12:35:40 +07:00
Matthias Kuhn
b1e5eb09cf
Merge pull request #30748 from troopa81/fix_referencerelationwidget_addEntry
...
Fix addEntry for reference relation widget
2019-07-19 07:08:11 +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
53ca26e638
When saving a symbol to the style database, prepopulate the tags
...
widget with existing tags
2019-07-19 12:23:31 +10:00
Nyall Dawson
2aba793946
Fix some warnings
2019-07-19 09:22:48 +10:00
Nyall Dawson
e63e7ab714
Fix unused variable warning
2019-07-19 09:22:48 +10:00
Julien Cabieces
9a60f17565
Replace setted with set
2019-07-19 09:11:41 +10:00
Julien Cabieces
29883f18e5
fixes #29667 end feature setting mode before warning attribute form interface
2019-07-19 09:11:41 +10:00
Juergen E. Fischer
7f17345424
fix windows build
2019-07-18 23:59:16 +02:00
Nyall Dawson
7d4552d44f
When importing symbols from a seperate style, prepopulate the Additional
...
Tags list with a drop down showing existing tags in the default style
2019-07-19 07:21:11 +10:00
Nyall Dawson
299a28b42d
Show layer rendering/data access errors in the layer tree
...
This makes these errors more visible to users, instead of hiding
them away in the log panel
2019-07-19 07:20:40 +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
rldhont
64ada4de19
[Oracle] FeatureItrator: do not request all attributes if subset is empty
...
Like the PostgreSQL provider, it is not necessary to request all the attributes if the request subset of attributes is empty.
2019-07-18 18:17:40 +02:00
Larry Shaffer
fe1b0ae362
[oauth2] Fix network error crash; guard reply ptr; remove error phrase
...
Access of reply members/properties causes crash if the reply is deleted
elsewhere. Guard cast reply object using QPointer and access all
properties immediately.
2019-07-18 09:06:36 -06:00
Nyall Dawson
b41f8e03b0
Also apply warnings to rotate label tool
2019-07-18 20:38:36 +10:00
Nyall Dawson
90bd9e04fb
Auto enable layer editing when the move or change label tools
...
require it to make changes to a label
E.g. when a layer is set to store label x/y in a real field (not
an aux field), then that layer must be editable in order to move
labels in it. Otherwise the move operation fails, but users are
left no clue as to why the label can't be shifted...
So now we automatically switch on edits and notify the user of
this via the messagebar, and if we CAN'T make the layer editable,
we also warn them of this.
2019-07-18 20:38:36 +10:00
David Signer
b4dab2df38
made QgsPostgresStringUtils namespace to class because of private functions we use there and possibly in future there are more coming and renamed the methods
...
fixed indents and comments
2019-07-18 09:25:34 +02: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
4bab91cfba
Fix qt warnings about invalid stylesheet
2019-07-18 17:11:53 +10:00
Nyall Dawson
781e70f37c
Fix lengthy delay when clicking change label tool on a label for the
...
first time
Previously this was firing off the styleChanged for every new auxiliary
field created, which is a very expensive call to process (as it involves
rebuilding GUI widgets). Instead, delay the call and only it fire it
once, if we actually changed something in the style.
2019-07-18 16:55:43 +10: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
009354ad86
Expose milliradians as choice of angle in angle measure tool
2019-07-18 15:06:52 +10:00
Nyall Dawson
8cc54aed45
Correct definition of miliradians to 1/1000 radian, not 3200/pi radians
...
And add missing unit tests
2019-07-18 15:06:52 +10:00
Nyall Dawson
f4d05b073c
Remove shadowing member which was moved to base class
2019-07-18 13:00:15 +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
7a1547a260
[layouts] Ensure full context is set for scalebar font button and
...
other symbol buttons used in item widgets
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
Juergen E. Fischer
c715bc14d9
use srs6.db when running from build dir with PROJ >5 (followup dddf8b2aa)
2019-07-17 18:37:57 +02:00
Juergen E. Fischer
557d1afcf7
only install/copy srs.db that we're using (fix 56d03f783f041)
2019-07-17 18:09:02 +02:00
David Signer
890e699c10
remove unused sip.in
2019-07-17 16:53:00 +02:00
David Signer
201dd0850b
renamed QgsArrayUtils to QgsPostgresStringUtils
2019-07-17 16:50:58 +02:00
David Signer
109b4d7f21
improved parsing and building function to handle multidimensional arrays
...
code mostly taken from this integration in the postgresprovider / postgresconn
x
2019-07-17 16:24:42 +02:00
Julien Cabieces
4ee2a53d91
Remove now useless mReferencedFieldIdx variable
2019-07-17 14:28:38 +02:00
Julien Cabieces
8515bb81d9
Convert QVariant to int before QCOMPARE
2019-07-17 08:56:28 +02:00
David Signer
98a271b365
tests for arrayutils creating lists and parsing back
2019-07-17 07:47:54 +02:00
David Signer
447b1076a3
sip in file
2019-07-17 07:04:24 +02:00
David Signer
380d5c7706
sip stuff
2019-07-17 07:03:18 +02:00
Nyall Dawson
93cd83255b
Merge pull request #30757 from nyalldawson/override_clear
...
Always show 'clear' action in property override button
2019-07-17 11:07:12 +10:00
Nyall Dawson
9f219e0ca2
Spelling
2019-07-17 11:07:01 +10:00