52835 Commits

Author SHA1 Message Date
Nyall Dawson
0de94dd1fe [layouts] Fix incorrectly rendered item background and frame when item is
non-opaque

Fixes #20909
2019-01-08 16:24:37 +10:00
Nyall Dawson
4da0796180 Avoid console noise when loading layouts 2019-01-08 16:01:47 +10:00
Nyall Dawson
098aad5c16 Show feedback message when using Select by Expression, to match
Select by Form behaviour
2019-01-08 16:01:47 +10:00
Nyall Dawson
500dff102b Capitalization 2019-01-08 16:01:47 +10:00
Nyall Dawson
ae9b8fcec4 Fix "unexpected geometry type:7" warning thrown by pal geometry handling 2019-01-08 15:32:56 +10:00
Nyall Dawson
13ac907198 latitudeGeodesicCrossesDateLine also returns fraction of segment
along which the crossing occurs
2019-01-08 12:32:50 +10:00
Nyall Dawson
e286c094d6 Fix date line breaks with non geographic input CRS 2019-01-08 12:32:50 +10:00
Nyall Dawson
654d7a4391 spelling 2019-01-08 12:32:50 +10:00
Nyall Dawson
c9c502a852 Use proj geodesic.h instead of GeographicLib
Because it contains the same functionality and avoids a new
dependency
2019-01-08 12:32:50 +10:00
Nyall Dawson
9c7be5fa2f Unit tests for QgsDistanceArea::geodesicLine 2019-01-08 12:32:50 +10:00
Nyall Dawson
b0c3b9f781 Unit tests for QgsDistanceArea::latitudeGeodesicCrossesDateLine 2019-01-08 12:32:50 +10:00
Nyall Dawson
adc5c17456 Expose method for calculating latitude geodesic crosses date line to public QgsDistanceArea API 2019-01-08 12:32:50 +10:00
Nyall Dawson
ebd104466e Add method to retrieve destination CRS from QgsDistanceArea 2019-01-08 12:32:50 +10:00
Nyall Dawson
dbf8fe6e42 Use an iterative approach to determine the exact latitude
where a geodesic crosses the international date line

And use this to correctly break geodesic lines which cross
the date line
2019-01-08 12:32:50 +10:00
Nyall Dawson
fdea61a97c Add method to calculate the geodesic line joining two points to QgsDistanceArea
Using geographiclib to calculate the line
2019-01-08 12:32:50 +10:00
Nyall Dawson
148505d47f Add a dependancy to geographiclib 2019-01-08 12:32:50 +10:00
Nyall Dawson
41450732fc Fix clazy warnings 2019-01-08 12:32:50 +10:00
Nyall Dawson
210ec4c12c More user friendly display of 'all other values' category 2019-01-08 11:10:40 +10:00
Nyall Dawson
f66773a1a7 Nicer tooltips for merged categories 2019-01-08 11:10:40 +10:00
Nyall Dawson
2c0dc09c23 Correctly handle conversion of merged categories to rule based renderer 2019-01-08 11:10:40 +10:00
Nyall Dawson
1051f9b48d Rename some methods for consistency/clarity 2019-01-08 11:10:40 +10:00
Nyall Dawson
a6849ca257 Unit tests for unmerging 2019-01-08 11:10:40 +10:00
Nyall Dawson
63204cfdb5 Fix travis 2019-01-08 11:10:40 +10:00
Nyall Dawson
2b4482fab4 Add option to unmerge categories 2019-01-08 11:10:40 +10:00
Nyall Dawson
0259548ac9 Don't allow null entry to be merged 2019-01-08 11:10:40 +10:00
Nyall Dawson
7b245d1857 [FEATURE] Add option to merge categories in categorized renderer
This allows users to select multiple existing categories and
group them into a single category, which applies to any of the
values from the selection.

This allows simpler styling of layers with a large number of
categories, where it may be possible to group numerous distinct
categories into a smaller, more managable set of categories
which apply to multiple values.

The option is available from the right click context menu
in the categories list view, whenever multiple categories
are selected.

Sponsored by SMEC/SJ
2019-01-08 11:10:40 +10:00
Nyall Dawson
224df0a273 Add missing documentation for QgsCategorizedRenderer 2019-01-08 11:10:40 +10:00
Nyall Dawson
d32714c899 [API] Allow categorized renderer category values to be lists of values
When a category is a list of values, that category will apply to
any of the values from the list
2019-01-08 11:10:40 +10:00
Nyall Dawson
f3e7e1b777 Q_FOREACH -> for 2019-01-08 11:10:40 +10:00
Nyall Dawson
c94b305cd9 Fix a clazy warning 2019-01-08 11:10:40 +10:00
Nyall Dawson
74b96ce955 Dox++ 2019-01-08 11:10:40 +10:00
Juernjakob Dugge
c09b379fc7 Rename member variables, remove "forceCartesian" arguments 2019-01-08 09:36:33 +10:00
Juernjakob Dugge
bf5a077e33 Fix typos 2019-01-08 09:36:33 +10:00
Juernjakob Dugge
3e05c99c11 Add centimeter and millimeter based units to Project Properties and Map Tools Options
Fix the "map units" option in distance measurements when using geographic coordinate systems
2019-01-08 09:36:33 +10:00
Matthias Kuhn
0cc809b76f
Merge pull request #8804 from m-kuhn/geometry_check_dox
Improved API documentation for geometry checks
2019-01-07 16:54:16 +01:00
Juergen E. Fischer
b6293f23c8 osgeo4w: run python scripts with python3 (fixes #20870) 2019-01-07 15:41:11 +01:00
Matthias Kuhn
6d38a0ed66
Improved API documentation for geometry checks 2019-01-07 15:38:18 +01:00
Luigi Pirelli
83c6a2c49b
Merge pull request #8444 from NaturalGIS/reenable_grass_r_mapcalculator
add GRASS r.mapcalculator, remove r.mapcalc
2019-01-07 13:38:49 +01:00
Alessandro Pasotti
1ba6b97f74
[server] Fix layer order rendering when layers are in groups (#8796)
* [server] Fix layer order rendering when layers are in groups

Fixes #20810

* Update test images

* [server] Fix order of layers in subgroups

basically: layers in WMS is specified in a comma separated
list where leftmost layer is drawn first (it's at the bottom)
and QGIS layer order is exactly the opposite: first layer
in the TOP (topmost) is drawn last (it is at the top).

For this reason the server reverses the list before passing
it to the renderer.

* Fix order of layers in test

* Update src/server/services/wms/qgswmsrenderer.cpp
2019-01-07 13:13:30 +01:00
Giovanni Manghi
a57fec8714 fix module description file 2019-01-07 10:43:50 +00:00
Giovanni Manghi
10d479929c fix the module name 2019-01-07 10:14:40 +00:00
Giovanni Manghi
9f3c313830 add missed file 2019-01-07 09:56:59 +00:00
Giovanni Manghi
667a86b075 change the name of the module to match the new name in GRASS 7.4.4 2019-01-07 09:54:27 +00:00
mhugent
54a5fae0b7
Merge pull request #8781 from mhugent/get_atlas_print
[server][needs-docs] Get atlas print
2019-01-07 10:42:23 +01:00
Matthias Kuhn
0c71e720a3
JSON Support for GeoPackage [FEATURE]
Merge pull request #8707 from signedav/json-for-gpkg
Integration of JSON type of GeoPackage
2019-01-07 10:35:30 +01:00
Marco Hugentobler
f1d2239d5f 'returns' before 'since' 2019-01-07 08:55:20 +01:00
signedav
a6f8db15c5 use general json conversion because it works for the different types
like QVariantMap, QVariantHash, QVariantList or QStringList
as fallback still the QString conversion is available
2019-01-07 08:19:51 +01:00
Marco Hugentobler
ab4ca6f61b Try to make travis happy 2019-01-07 07:52:35 +01:00
Alex
69f6ea521b [mssql] Fix inserting features into tables with an after insert trigger attached
Fixes #20592
2019-01-07 11:48:41 +10:00
Nyall Dawson
efd54f862f [processing][SAGA] Resync Fill Sinks descriptions, add tests
Refs #20051
2019-01-07 09:55:46 +10:00