55530 Commits

Author SHA1 Message Date
Alexander Bruy
1d1d2ca703 Revert "[processing] populate batch interface with rows when multiple layers"
This reverts commits f8890d8f047cd2bb934eaad83e1057814927adb5,
f085f5527658c0a81b9a065a6fcee4d654d16bb6 and 5844a0fc906c744327139e137642f0ec97ae240a
2019-05-30 12:05:52 +03:00
Alessandro Pasotti
3885944c59
Merge pull request #30017 from elpaso/bugfix-gh29747-layout-mgr-crashes-copying
Don't crash when copying layout elements
2019-05-30 10:36:32 +02:00
Alessandro Pasotti
8988fbcdd2 Don't crash when copying layout elements
Guard for existing multiFrames

Fixes #29747
2019-05-30 09:49:34 +02:00
Peter Petrik
c2042a2ee3 fix #29630 spatialindex for NaN points 2019-05-30 09:30:04 +02:00
Nyall Dawson
789a758464 Tweak names 2019-05-30 17:27:00 +10:00
Nyall Dawson
3cb3676329 Don't limit label distances to postive values
Sometimes it's useful to have negative distances, as a 0 distance
can still be quite far from line features for some font families.
2019-05-30 17:27:00 +10:00
Nyall Dawson
0458e08c99 Fix warning 2019-05-30 17:27:00 +10:00
Nyall Dawson
10c4bb9f9b [labeling] Fix curved labels sometimes placed below line even when
set to above line only
2019-05-30 17:27:00 +10:00
Nyall Dawson
50315c4a33 Remove unused calculation 2019-05-30 17:27:00 +10:00
Nyall Dawson
b04374d46f Tweak curved label cost of placing away from center (increase cost slightly to encourage more central placements) 2019-05-30 17:27:00 +10:00
Nyall Dawson
f9b8c6ffa3 [labeling] Update confusing/vague variable names 2019-05-30 17:27:00 +10:00
Nyall Dawson
328b0afa6e [labeling] Fix curved labeling fails when line feature geometry
begins with small segments

Fixes #28699
2019-05-30 17:27:00 +10:00
Nyall Dawson
fcacd00a30 Avoid redundant calculation in QgsMapToPixelSimplifier 2019-05-30 17:27:00 +10:00
Nyall Dawson
3d9386b11b Remove impossible to hit code path - distance is never < 0 2019-05-30 17:27:00 +10:00
Nyall Dawson
0b451b2514 Fix some curved labels randomly disappear at certain scales
Refs #12173
2019-05-30 17:27:00 +10:00
Nyall Dawson
b334fc4dc8 Update for c++11 2019-05-30 17:27:00 +10:00
Nyall Dawson
e1bd4e9210 [labeling] Don't waste time trying to generate curved labels on lines
where the label length is greater then the line length
2019-05-30 17:27:00 +10:00
Nyall Dawson
e227e93d0b Optimise method
Avoid duplicate calculations
2019-05-30 17:27:00 +10:00
Nyall Dawson
e0aa09ce18 [labeling] Ensure "merge connected features" setting works correctly
with line networks that contains forks and branches

And simplify memory management

Refs #12173
2019-05-30 17:27:00 +10:00
Nyall Dawson
7213030ad9 [labeling] Fix missing labels when multilinestring features are used in
conjunction with the "merge connected lines" setting

Refs #12173
2019-05-30 17:27:00 +10:00
Nyall Dawson
44d993dc1e Ensure MapServer source select/browser correctly handles nested
server structures
2019-05-30 16:33:21 +10:00
Nyall Dawson
ff365abe29 Avoid more noisy message log warnings 2019-05-30 16:33:21 +10:00
Nyall Dawson
f44ce975c1 Fix MapServer provider ignores referer setting 2019-05-30 16:33:21 +10:00
Nyall Dawson
9fd2866e1a Add error item in browser when MapServer connections fail 2019-05-30 16:33:21 +10:00
Nyall Dawson
8b9fbedb30 Fix MapServer connection items in browser do not respond correctly
to changes in connection parameters

And modernise code, sync with AFS provider
2019-05-30 16:33:21 +10:00
Nyall Dawson
8e51364e42 [mapserver] Safer and faster rendering of ArcGIS MapServer layers
Avoid redundant network requests when cloning data provider
2019-05-30 16:33:21 +10:00
Nyall Dawson
75c720a659 Fix overly noisy o2 debug messages/warnings 2019-05-30 16:33:21 +10:00
Nyall Dawson
d383073277 Better error reporting when things go wrong in ArcGIS MapServer provider rendering 2019-05-30 16:33:21 +10:00
Nyall Dawson
323fae26eb Fix ArcGIS MapServer provider does not correctly respect authentication configuration 2019-05-30 16:33:21 +10:00
Peter Petrik
3f9a07e78a fix #30003 crash in mesh calculator 2019-05-30 10:18:10 +10:00
Even Rouault
e4582c9958 Fix GeoJSON output of MultiPolygon/MultiSurface
There was a lack of a JSon array around rings of a polygon.
This issue is not present in 3.4

Also fixes an issue with gcc 5.5 of Ubuntu 16.04 that doesn't behave
properly with C++11 brace syntax with code from nlohmann/json.hpp.
The code compiles but the result is invalid: `json foo{ json::array{} }`
is serialized as [[]] instead of []. So use old-style constructor
instead: `json foo( json::array() )`

This PR is on top of https://github.com/qgis/QGIS/pull/30010
2019-05-30 10:13:16 +10:00
Even Rouault
5d6917eb6c QgsGeometryUtils::segmentizeArc(): fix full circle segmentization (fixes #29895)
This fix display of full circles coming from PostGIS.
2019-05-30 10:13:16 +10:00
Nyall Dawson
788ee78d74 Sip update 2019-05-30 06:28:32 +10:00
Nyall Dawson
dac7259b46 [needs-docs] Rework new project CRS handling
The previous approach was severely broken, because the default
CRS for new projects setting was ignored as soon as a layer
was added to the project.

Instead, refine the setting to add options
- "Use CRS from first layer added": same as previous behavior,
the project CRS is set to match the first layer added to a new
project
- "Use a default CRS": CRS for a new project is set to a preset
default CRS, and is left unchanged when adding layers to the
project

Also update qgis_global_settings.ini to reflect these changes.

Fixes #27516
2019-05-30 06:28:32 +10:00
Nyall Dawson
10c686ba32 Fix QgsSettings::enumValue resolution when used with a non-default section 2019-05-30 06:28:32 +10:00
Alexander Bruy
dfa6aa1ed1
Merge pull request #30001 from alexbruy/saga-filter
[processing] add default value to user filter matrix (fix #29999)
2019-05-29 15:43:14 +03:00
Alexander Bruy
f8d0ecc7ee [processing] add default value to user filter matrix (fix #29999) 2019-05-29 13:43:18 +03:00
Matthias Kuhn
11d5b514d7
Merge pull request #29958 from ghtmtt/readme
Update issue link in Readme.md
2019-05-29 09:58:15 +02:00
Denis Rouzaud
a871e90a2b install newer libseccomp on Travis host for building with Qt 5.10+ in Docker container 2019-05-28 20:37:18 -05:00
Alessandro Pasotti
bc65d2587d Update src/core/layout/qgslayoutmultiframe.cpp 2019-05-29 02:58:12 +10:00
Alessandro Pasotti
3b7c0f8579 Fix crash when exporting layout
Fixes #29798
2019-05-29 02:58:12 +10:00
Alessandro Pasotti
9434be7859
Merge pull request #29991 from elpaso/bugfix-gh29987-digit-options
Fix buttons to adjust marker size do not work
2019-05-28 18:40:20 +02:00
Alessandro Pasotti
d358c63146 Fix buttons to adjust marker size do not work
Fixes #29987
2019-05-28 15:40:39 +02:00
Alessandro Pasotti
8d643014cc
Merge pull request #29983 from elpaso/bugfix-gh29980-layout-export-multiple-dots
Fix atlas export when file name contains multiple dots
2019-05-28 13:54:35 +02:00
Alessandro Pasotti
4b35d8513e
Merge pull request #29968 from elpaso/bugfix-gh29821-layout-crash-py
QgsLayoutAtlasWidget: Disconnect signals when layout RIP
2019-05-28 11:57:40 +02:00
Alessandro Pasotti
4bb39befb2 Use completeBaseName for exported atlas path 2019-05-28 11:55:21 +02:00
Alessandro Pasotti
bede19662e
Merge pull request #29970 from elpaso/bugfix-gh29767-server-wfs-double-virtual-fields
Server WFS fix describefeaturetype double virtual fields
2019-05-28 11:47:58 +02:00
Alessandro Pasotti
7b915af2b4 Fix atlas export when file name contains multiple dots
Fixes #29980
2019-05-28 11:45:29 +02:00
nirvn
575b0de82d [labeling][ui] Fix broken multiline alignment combo box
- setup geometry generator ui stuff first to properly initiate combobox
- for line and polygons, don't set combobox to a missing item, default to left alignment
2019-05-28 16:16:17 +07:00
Alessandro Pasotti
49b381f216 Add missing test control file 2019-05-28 10:59:11 +02:00