47821 Commits

Author SHA1 Message Date
Alexander Bruy
8aa56fc38f [processing] fix GRASS vector tests 2018-05-15 12:53:50 +03:00
nirvn
483b4ff977 remove processing ftools bitmap icons 2018-05-15 16:37:25 +07:00
nirvn
bc0f75334f [needs-docs][processing] vectorize & improve remaining vector menu icons 2018-05-15 16:37:25 +07:00
nirvn
9a82dbe197 [needs-docs][processing] vectorize and improve remaining data analysis menu icons 2018-05-15 16:37:25 +07:00
Blottiere Paul
97eceb164a
Merge pull request #6894 from pblottiere/bugfix_getcapa_version
[server] Keep default version in case of invalid VERSION parameter
2018-05-15 09:50:01 +01:00
Blottiere Paul
1956937793 Update getcapabilities document to fit 1.3.0 version 2018-05-15 09:07:22 +01:00
Blottiere Paul
6ea2cd63ba Add unit tests 2018-05-15 09:07:21 +01:00
Blottiere Paul
db4a2dda9f [server] Keep default version in case of invalid VERSION parameter 2018-05-15 09:07:21 +01:00
Alexander Bruy
cf599685cb [processing] vector outputs can be saved in any GDAL-supported format
Thanks to Médéric RIBREUX
2018-05-15 10:57:09 +03:00
Alessandro Pasotti
b4f86147c7 Add referencedFunctions() to expressions 2018-05-15 09:20:10 +02:00
Nyall Dawson
58e535103c Don't add GEOS warnings to message log
This dramatically slows down rendering, especially when labeling
is used. E.g. because labeling clips features, or because the
rendering simplification code results in invalid geometries -
this then fires multiple geos warnings when labeling
tests for geometry validity, etc. But these warnings are useless,
because the original geometry is valid and users cannot repair
them.... yet they slow things RIIIIIIGHHHT DOOOOWN.

Well behaved code, which requires access to geos errors,
should be using QgsGeometry::lastError instead.
2018-05-15 16:59:18 +10:00
Alessandro Pasotti
edb12b4dbe Removed attribution 2018-05-15 08:34:39 +02:00
Alessandro Pasotti
541737681b Moved form feature to private and added setters/getters
plus other minor style changes as suggested by m-kuhn
in his PR review
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
266f145c99 Removed const
I don't get why, but I trust @m-kuhn and I'll follow his advice :)
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
e59d6fee22 Removed leftover 2018-05-15 08:34:08 +02:00
Alessandro Pasotti
ba339f2f1c Some more test cases for value relation widget 2018-05-15 08:34:08 +02:00
Alessandro Pasotti
63d2086de4 Rename functions from get_current_form_field_value to current_value
and current_geometry
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
83328ae596 [feature] Form context expressions in value relation widget
The value relation widget filter expression can now use two
new functions/variables that have access to the current
values and geometry of the form being edited.

This allows for dynamic filtering (drill-down) as explained
in the crowdfunding page:
https://north-road.com/drill-down-cascading-forms/

The new functions/variables are:

Function:
get_current_form_field_value( 'FIELD_NAME' )

Variable:
@current_form_geometry
2018-05-15 08:34:08 +02:00
nirvn
4d36f37004 [needs-docs][processing] rename export geom. columns to add geom. attributes 2018-05-15 12:10:11 +07:00
nirvn
5cb8c2523e [needs-docs][processing] vectorize and improve remaining geometry tools menu icons 2018-05-15 12:10:11 +07:00
Denis Rouzaud
395e864b68 fix prepare-commit after moving sip files 2018-05-14 20:56:53 -04:00
Denis Rouzaud
c5ee15a97c
Merge pull request #6987 from 3nids/pyqgis_additions
[pyqgis] move qgis.core tricks to their own python file in additions folder
2018-05-14 16:21:41 -08:00
Denis Rouzaud
261e5f74ec bring back PyQt.QtCore.NULL in qgis.core 2018-05-14 19:53:02 -04:00
Nyall Dawson
26174ea9ad Copy cached min/max value to provider test suite 2018-05-15 09:23:48 +10:00
Denis Rouzaud
831512c98f [pyqgis] fix py files in subdirectory not correctly installed 2018-05-14 18:01:09 -04:00
Denis Rouzaud
6e33bdcdc4 [pyqgis] move qgis.core tricks to their own python file in additions folder
this makes the code much easier to read
2018-05-14 18:00:39 -04:00
Luigi Pirelli
9b28e3d7f5 Port gdalcalc with formula excaping fix (#6984)
Resurrect gdalcalc algorithm from 2.x
2018-05-15 07:59:00 +10:00
Klavs Pihlkjær
49090a5554 [FEATURE][locator] Add search for settings pages to locator bar (#6625)
* [FEATURE][locator] Add search for settings pages to locator bar

Search Settings, Options, and Project Properties pages. Double clicking a search result will open the correct page and tab.

Short video: https://www.youtube.com/watch?v=duB2YekUmV0

The new filter presents itself with a prefix of "s" and with tr( "Settings" ) as displayname.

A settings locator filter is added to the built in locator filters (class QgsSettingsLocatorFilter is added to qgsinbuiltlocatorfilters.cpp). The wiring between the new filter and QgsApp has been implemented in:

For reading misc. pages:
* QgisApp::getProjectPropertiesPagesMap(),
* QgisApp::getSettingPagesMap(), and
* QgisApp::getOptionsPagesMap()

For navigating to selected page
* QgisApp::showProjectProperties( const QString &page ) and
* QgisApp::showSettings( const QString &page )

* Implement requested changes

* Implement required changes
2018-05-15 05:52:26 +10:00
Denis Rouzaud
c9b3e2ab96
fix indentation 2018-05-14 14:55:04 -04:00
Denis Rouzaud
90bbe69aad
fix QVariant / QString compare 2018-05-14 14:08:57 -04:00
Matthias Kuhn
3ea6432bb9
Merge pull request #6985 from pigreco/help_in_linea_field_calc
corrections function_help
2018-05-14 18:17:31 +02:00
Denis Rouzaud
a66836225f add assert on metaEnum and convert existing settings to strings 2018-05-14 11:49:29 -04:00
Alexander Bruy
c985092a6d fix typo 2018-05-14 18:47:14 +03:00
Denis Rouzaud
307fbea14b
Merge pull request #6986 from 3nids/sip_files_oranize
Better orgnization of sip files
2018-05-14 07:43:44 -08:00
Denis Rouzaud
fca72fa7d1 put back module sip files 2018-05-14 11:02:28 -04:00
Denis Rouzaud
847f0e1829 adapt sipify scripts and test to place auto generated sip files in dedicated folder 2018-05-14 10:44:11 -04:00
Denis Rouzaud
8b130f1c14 move auto generated sip file in dedicated folder (server+analysis) 2018-05-14 10:41:52 -04:00
Denis Rouzaud
9ed1548494 move auto generated sip file in dedicated folder (gui) 2018-05-14 10:31:17 -04:00
Denis Rouzaud
7df2593caf move auto generated sip file in dedicated folder 2018-05-14 10:23:37 -04:00
Denis Rouzaud
45e5b3fb79 [pyqgis] comment some core additions 2018-05-14 10:21:07 -04:00
Salvatore
3660f3f63f corrections 2018-05-14 15:13:22 +02:00
Denis Rouzaud
d26f1e14fd replace with setEnumValue
and complete missing enumValue
2018-05-14 08:49:37 -04:00
Denis Rouzaud
dce235d62e create dedicated function for flags
there is a small redundancy in code, but it makes it much nicer to read the calls:
flagValue( key, default) instead of enumValue( key, default, NoSection, false )
2018-05-14 08:47:27 -04:00
Denis Rouzaud
d156e1fb76 save enum settings as string for a better inspection 2018-05-14 08:47:27 -04:00
arnaud.morvan@camptocamp.com
81dabd185c [processing] Finish default values in model for destination parameters 2018-05-14 22:12:32 +10:00
Nyall Dawson
c5f478c38f [processing] Fix destination resets to 'memory:' instead of temporary layer 2018-05-14 22:12:32 +10:00
Nyall Dawson
1a45a79719 [processing][model] Fix handling of mandatory checkbox in output definitions 2018-05-14 22:12:32 +10:00
arnaud.morvan@camptocamp.com
4ccd4446fe [processing] Add default values in model for destination parameters 2018-05-14 22:12:32 +10:00
Peter Petrik
0cd9e19abc [Feature] Add ScaleBar and MessageLog components to QgsQuick library. 2018-05-14 11:39:17 +02:00
Nyall Dawson
8d5e5c944d Add a newNameChanged signal to QgsNewNameDialog
Handy for subclasses.
2018-05-14 17:22:42 +10:00