52855 Commits

Author SHA1 Message Date
Matthias Kuhn
6855a1c731
Merge pull request #8639 from SrNetoChan/avoid_overlap
Renames Avoid intersection to Avoid overlap [needs-docs]
2019-01-08 11:07:09 +01:00
Nyall Dawson
eaad71e0c9 Tweak API
Better to use QVector here, because the QgsLineString/QgsGeometry
methods all use QVector too, and we want to avoid unnecessary
list->vector conversions.
2019-01-08 19:48:15 +10:00
Matthias Kuhn
5df5c3763e
Merge pull request #8507 from signedav/basicfix
Delete selected tables as DataItem action
2019-01-08 10:42:03 +01:00
signedav
37eec198a8 put message in log instead of message box 2019-01-08 10:15:53 +01:00
Nyall Dawson
dada301b0b [georeferencer] Fix some HIG violations 2019-01-08 17:55:15 +10:00
Nyall Dawson
6ed0b4762f [FEATURE][georefencer] Make minimizing georeferencer when adding points
from canvas an option

Allows users to disable this option, which is annoying on multi-monitor
setups where it can be desirable to have both windows visible while
adding points.

The option is added as a checkbox in the "add map coordinates" dialog:
"Automatically hide georeferencer window". We show it directly in that
dialog for maximum discoverability, and to allow easier change of setting
for users who move between single/multi monitor setups.

Fixes #20449
2019-01-08 17:55:15 +10:00
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