44565 Commits

Author SHA1 Message Date
Denis Rouzaud
2009d4c916 remove extra spaces 2017-12-15 11:12:19 -04:00
Denis Rouzaud
199055edbe fix doxygen layout 2017-12-15 11:12:19 -04:00
Denis Rouzaud
bc51bba386 [sipify] transform \param xxx to :param xxx: 2017-12-15 11:12:19 -04:00
Denis Rouzaud
8fef9e9679 [sipify] place :rtype: at the correct place
also add space before other paragraph-level markups
2017-12-15 11:12:19 -04:00
Etienne Trimaille
9eb938c61c add missing metadata fields about contacts and extent (#5878) 2017-12-15 14:16:49 +02:00
Nyall Dawson
0c7cf21fe2
Merge pull request #5535 from nyalldawson/datum
Datum transform handling rework, pt 1
2017-12-15 22:53:02 +11:00
Alexander Bruy
e9feeaacc6
Merge pull request #5875 from alexbruy/processing-editor
[FEATURE][processing][needs-docs] add find and replace functionality to script editor
2017-12-15 13:21:41 +02:00
nirvn
4f570cef9c [ui] fix toggle panel visibility action
Prior to this fix, the action would have to be triggered
twice before panels were actually hidden.
2017-12-15 17:43:26 +07:00
Alexander Bruy
a0ce648175 [processing] use groupId when constructing help URL 2017-12-15 12:11:46 +02:00
Alexander Bruy
5016c21ed3 [FEATURE][processing][needs-docs] add find and replace functionality to
Processing script editor (forward-port from 2.18 branch)
2017-12-15 11:07:15 +02:00
Nyall Dawson
1217e59563 Add a unit test for missing datum transforms 2017-12-15 19:00:44 +10:00
rldhont
3692fcdb96
Merge pull request #5561 from pvalsecc/wms_ogc_filters
[FEATURE][needs-docs] Add OGC filters to WMS
2017-12-15 09:47:22 +01:00
Nyall Dawson
96c2ce18bd Show a warning when loading a project with a transform not available locally 2017-12-15 17:32:00 +10:00
David
ac6d251859 sort the values in query builder
after filling the values into the model, they are sorted ascending.
2017-12-15 08:13:45 +01:00
Nyall Dawson
6ff744a3b3 Use proj strings to serialize datum transforms IDs
Since datum transforms IDs are local only, and can even change
when underlying library versions are updated, we can't use them
to safely store and retrieve datum transforms.

Instead we use the proj strings and recover the local session
transform ID from that.
2017-12-15 17:07:20 +10:00
Nyall Dawson
318735271e Add method to retrieve datum transform ID from a proj string 2017-12-15 16:42:40 +10:00
Nyall Dawson
43d8a6b5be Update unit test 2017-12-15 15:48:12 +10:00
nirvn
8ec16e2c20 [ui] add some spacing for the projection selection widget 2017-12-15 11:55:22 +07:00
Nyall Dawson
5b1da988ba [processing] List unique values improvements
- allow running on non-spatial tables
- allow choice of more than one field
2017-12-15 15:46:50 +11:00
Mathieu Pellerin
ebd98e3f78
Merge pull request #5874 from nirvn/arcgis_providers_icon
Smallt tweaks for add and create layer icons
2017-12-15 11:46:42 +07:00
nirvn
1fa7d453ee [ui] fix node size of the create vector layer icon 2017-12-15 11:22:56 +07:00
Nyall Dawson
13d1786265 Sipify 2017-12-15 14:20:57 +10:00
Nyall Dawson
b2872194df Fix warning 2017-12-15 14:16:59 +10:00
Denis Rouzaud
2fb3c57600 fix transform context test 2017-12-15 14:16:59 +10:00
Denis Rouzaud
6188b167fc missing const ref, remove extra argument 2017-12-15 14:16:59 +10:00
Denis Rouzaud
d404a3291b use const_iterator 2017-12-15 14:16:59 +10:00
Denis Rouzaud
68aef9a426 ask for datum transform update on layer or project crs change
in the case of project crs change, if several transforms are available, pop up a message rather than showing multiple dialogs
2017-12-15 14:16:59 +10:00
Denis Rouzaud
adf07228c5 address remaining memory leaks 2017-12-15 14:16:59 +10:00
Nyall Dawson
ab5d895840 Add some more datum related unit tests 2017-12-15 14:16:59 +10:00
Nyall Dawson
69c3debfc0 Nicer API for datum transforms
Instead of using QPairs of ints, use more descriptive structs, also
rename a lot of datum related methods for clarity and add docs
2017-12-15 14:16:59 +10:00
Denis Rouzaud
ed0c93f675 missing const ref 2017-12-15 14:16:13 +10:00
Denis Rouzaud
5c5830402c use alternate row colors and a slightly reduced font size in datum table 2017-12-15 14:16:13 +10:00
Denis Rouzaud
8ab658c5e9 address missing const and memory leaks
kudos @nyalldawson
2017-12-15 14:16:13 +10:00
Denis Rouzaud
fd3e85e744 fix indentation 2017-12-15 14:16:12 +10:00
Denis Rouzaud
aa65da42f9 apply default transform to newly created project 2017-12-15 14:16:12 +10:00
Denis Rouzaud
92a46f02cf create a QgsDatumTransformTableWidget to avoid code duplication
this contains the table view and the 3 buttons (add/remove/edit)
2017-12-15 14:16:12 +10:00
Denis Rouzaud
44ed7bd9fb define default transforms in global options
adds QgsCoordinateTransformContext::readSettings()/writeSettings to read/write from settings
2017-12-15 14:15:02 +10:00
Denis Rouzaud
8798cf0680 allow editing transform in project properties 2017-12-15 14:15:02 +10:00
Denis Rouzaud
eb71750f00 use QgsProjectionSelectionWidget rather than buttons 2017-12-15 14:14:48 +10:00
Denis Rouzaud
fec7c705ff fix context was not correctly set on project opening 2017-12-15 14:14:48 +10:00
Denis Rouzaud
4eab13df8a datum transforms have reversible source/dest 2017-12-15 14:14:48 +10:00
Denis Rouzaud
d18dac0cb0 fix destination transform not showing 2017-12-15 14:14:48 +10:00
Denis Rouzaud
e0b3197bee add missing refresh 2017-12-15 14:14:48 +10:00
Nyall Dawson
d2353e7c01 Add method to determine whether transform context has a valid transform
for a specific src/dest CRS pair
2017-12-15 14:14:47 +10:00
Nyall Dawson
f55da4affb Update unit tests 2017-12-15 14:14:47 +10:00
Nyall Dawson
670858d81c Fix some transforms missing transform context 2017-12-15 14:14:47 +10:00
Nyall Dawson
95a2ac083c Update layout map to use transform context 2017-12-15 14:14:47 +10:00
Nyall Dawson
4838e55477 Fix ui build warnings 2017-12-15 14:14:47 +10:00
Denis Rouzaud
86964f6546 todos for layout after rebase (some more) 2017-12-15 14:14:47 +10:00
Denis Rouzaud
a42193954b replace datum in qgsoptionsbase after rebase 2017-12-15 14:14:47 +10:00