57297 Commits

Author SHA1 Message Date
Nyall Dawson
58efa2ed6a Add API for updating bookmarks 2019-09-04 14:19:47 +10:00
Nyall Dawson
22d2f9b517 Start on unit tests 2019-09-04 14:19:47 +10:00
Nyall Dawson
5aa07abfb4 Add some missing equality operators 2019-09-04 14:19:47 +10:00
Nyall Dawson
d8300987e8 [FEATURE][API] New class QgsBookmarkManager
Attached to QgsProject, this provides a stable, supported method
of managing project bookmarks (vs the old undocumented, not stable
approach of directly manipulating project keys)
2019-09-04 14:19:47 +10:00
Luigi Pirelli
25ffc9f1c7 Hey! the var is dynamic! 2019-09-04 01:51:53 +10:00
Luigi Pirelli
7eaccc9049 changed to row_number to be consistent with other expression variables 2019-09-04 01:51:53 +10:00
Luigi Pirelli
a4b9ef73fd Added batch_number variable in algorithm scope to allow use it in the expression editor in Processing batch context 2019-09-04 01:51:53 +10:00
Denis Rouzaud
2001e0fcf5
Merge pull request #31533 from 3nids/classification_logarithmic
[FEATURE] add logarithmic scale method for graduated renderer
2019-09-03 15:00:54 +02:00
Denis Rouzaud
3687afafa0 fix test and indentation 2019-09-03 14:57:45 +02:00
Denis Rouzaud
3931db6f51 add test for QgsClassificationLogarithmic 2019-09-03 14:04:58 +02:00
Denis Rouzaud
db7f8c385a rename listToValues to classesToBreaks 2019-09-03 13:51:15 +02:00
Denis Rouzaud
3e2ade9308 fix wrong index 2019-09-03 13:42:48 +02:00
Denis Rouzaud
f7cb63f347 leave comment for deprecated QAbstractItemModel::reset() 2019-09-03 13:35:09 +02:00
Denis Rouzaud
ec37076532 add __repr__ for QgsClassificationRange 2019-09-03 13:34:28 +02:00
Juergen E. Fischer
00712a7e97 fix warnings (or vs || and and vs &&) 2019-09-03 13:30:53 +02:00
Denis Rouzaud
397f0f69f7 fix API docs 2019-09-03 10:59:37 +02:00
Denis Rouzaud
4c81e9b5a8 simplify QString code 2019-09-03 10:52:37 +02:00
Denis Rouzaud
66ef2fa4c2 classification method registry orders methods by name 2019-09-03 10:08:16 +02:00
Denis Rouzaud
da1a394f82 fix images path 2019-09-03 10:06:57 +02:00
Denis Rouzaud
158aba0bd7 helper to return icon from method ID in classification method registry
this avoids creating a clone of the method
2019-09-03 10:06:44 +02:00
Denis Rouzaud
24c16fcbdc implement virtual icon() for classification methods 2019-09-03 10:05:46 +02:00
Denis Rouzaud
e21ff39ea5
fix standard deviation label (#31540)
* fix standard deviation label

* Update qgsclassificationstandarddeviation.cpp

* Update qgsclassificationstandarddeviation.cpp
2019-09-03 09:48:47 +02:00
Denis Rouzaud
9ac860a677 add SVG images for classification methods
credits to @nirvn
2019-09-03 09:46:08 +02:00
nirvn
0963133fdf [ui] Add a locator bookmark filter item icon 2019-09-03 14:25:03 +07:00
Denis Rouzaud
5fd76ffb9a [FEATURE] add logarithmic scale method for graduated renderer
So easy with new API :)
2019-09-03 08:08:38 +02:00
Nyall Dawson
0d1a18bfee Fix custom groups not correctly respected in geopdf export when multiple
layers have the same group name
2019-09-03 13:31:36 +10:00
Nyall Dawson
242b09e293 Nicer edits in the GeoPDF layer tree model 2019-09-03 13:31:36 +10:00
Nyall Dawson
1be0b162b6 Fix map themes "stick" even when "export map themes" box is unchecked 2019-09-03 13:31:36 +10:00
Nyall Dawson
1a682efa18 Correctly show raster transparency settings for invalid layer sources 2019-09-03 11:14:55 +10:00
Nyall Dawson
2b3614444a Fix some missing signals from QgsRasterBandComboBox when not set
to a valid layer
2019-09-03 11:14:55 +10:00
Nyall Dawson
1aeb4d5d79 Try to fix dox warning 2019-09-03 10:35:21 +10:00
Nyall Dawson
701472eb9a Cleanup loops 2019-09-03 10:35:21 +10:00
Nyall Dawson
68ea07f853 Translate strings 2019-09-03 10:35:21 +10:00
Nyall Dawson
f5921854d1 Fix a bunch of QString allocation warnings 2019-09-03 10:35:21 +10:00
Nyall Dawson
ac3047f552 Fix a bunch of deprecation warnings 2019-09-03 10:35:21 +10:00
Nyall Dawson
4d67f803b4 Fix leak 2019-09-03 10:35:21 +10:00
Nyall Dawson
6de34d472e Add missing SIP_DEPRECATED 2019-09-03 10:35:21 +10:00
Nyall Dawson
bf61a94b4a Don't pass doubles by reference, pass lists by reference 2019-09-03 10:35:21 +10:00
Áron Gergely
eef953b41a Add README and QGIS model for world_map.gpkg 2019-09-03 08:46:04 +10:00
Áron Gergely
7004d8e51b Update GeoPackage layers:
Updated data:
    - countries(poly): Admin 0 level boundaries
    - states_provinces(poly): Admin 1 level boudnaries
    Updated styling:
    - disputed_borders(line): Disputed Admin 0 level borders.
      New styling to make these borders stand out less.

    Attribute tables of all layers contain the name and identification codes fields.
    The geometries of of countries and states_provinces has both been processed
    from the same source data (NE admin level 1 borders);
    Geometries vere generalized and attribute tables were cleaned in order to reduce size.
    For the countries layer, attribute table fields have been joined in from the original
    admin level 0 dataset.

    Data source: Natural Earth 1:10m generalization level, admin level 0 and level 1 datasets
    (version 4.1.0)
2019-09-03 08:46:04 +10:00
arongergely
9eb51218bc Update GeoPackage with 3 layers and corresponding default stylings:
- countries(poly): Admin 0 level boundaries: Now Correct topology, higher level of detail
- states_provinces(poly): Admin 1 level boudnaries of the top 15 largest countries by area:
	Russia, Antarctica, Canada, United States, China, Brazil,
	Australia, India, Argentina, Kazakhstan,
	Dem. Republic Of Congo, Algeria, Greenland, Mexico, Saudi Arabia
- disputed_borders(line): Disputed Admin 0 level borders

Attribute tables of all layers contain the name and identification codes fields.
Source: Natural Earth 1:10m generalization level - version 4.1.0 datasets.
2019-09-03 08:46:04 +10:00
arongergely
f7aa1864be Replaced data path to GeoPackage 2019-09-03 08:46:04 +10:00
arongergely
d58340004f Remove the now redundant world_map shapefile and its .qml styling 2019-09-03 08:46:04 +10:00
arongergely
c76110ab4e Updated the 'world' easter egg to work with GeoPackage.
The new GeoPackage contains the features + styling of the pre-existing world_map.shp and world_map.qml.
2019-09-03 08:46:04 +10:00
Nyall Dawson
d4e22be2c6 Fix warnings 2019-09-03 05:16:09 +10:00
Nyall Dawson
ef854b1d2f Ensure QgsRasterMinMaxOrigin works OK with invalid raster sources 2019-09-03 05:16:09 +10:00
Nyall Dawson
9576e26654 More unit tests 2019-09-03 05:16:09 +10:00
Nyall Dawson
c9d0efcb18 Improve QgsRasterBandComboBox handling of invalid layers
If a layer is invalid, don't try to populate the combo box with
available bands. Instead, fallback to a free-form text entry
mode, allowing users to manually type a band.

Avoids loss of band information when a combo box is linked to
an invalid raster
2019-09-03 05:16:09 +10:00
Denis Rouzaud
b3d52df67b
Merge pull request #31500 from 3nids/refactor_classification
Refactor graduated symbol renderer
2019-09-02 14:57:18 +02:00
Juergen E. Fischer
3d4dcd6317 crashhandler: fix build and keep it independant of core 2019-09-02 13:55:38 +02:00