55543 Commits

Author SHA1 Message Date
Nyall Dawson
0cf4ecf491 Deprecate a QgsCoordinateTransformContext members which don't
apply in proj >= 6.0 builds
2019-05-31 10:38:08 +10:00
Nyall Dawson
823d28ba2d Improve QgsRasterProjector handling of transform context 2019-05-31 10:38:08 +10:00
Nyall Dawson
c61fb85ed6 Remove unused support for single source/dest settings in QgsCoordinateTransformContext
This has been #ifdef'ed out since it's original implementation,
and it has no meaning in the world of Proj >= 6.0
2019-05-31 10:38:08 +10:00
Nyall Dawson
0c590a1650 Indentation 2019-05-31 09:56:53 +10:00
Nyall Dawson
be11896012 Fix exception in BatchAlgorithmDialog 2019-05-31 09:54:30 +10:00
Juergen E. Fischer
0597a8183a fix windows build 2019-05-31 01:11:35 +02:00
Etienne Trimaille
5c8daf29a7 small improvements to bug report 2019-05-31 06:34:07 +10:00
Even Rouault
50dab59a06 [OGR provider] Map GeometryCollection of TIN coming from multipart shapefiles to MultiPolygonZ (fixes #29376) 2019-05-31 06:32:59 +10:00
Even Rouault
6abc15d113 [WFS client] Revert read buffer size limitation (fixes #29258, fixes #27626)
This apparently caused deadlock issues.

Credit to @nyalldawson for spotting the offending commit.

Partial revert of 0addae5b783e541953522eabe178426e820bf852
2019-05-31 06:30:35 +10:00
Alessandro Pasotti
d61bc83ab7
Merge pull request #30020 from elpaso/make-make-great-again
Copy test file before running the test
2019-05-30 13:49:43 +02:00
Martin Dobias
d3342ad3aa [wcs] safer and faster rendering of WCS layers
Redering of WCS layers has been quite inefficient since introduction
of multi-threaded rendering in QGIS 2.4: whenever map rendering was
starting, copying of WCS provider involved running full initialization
of WCS provider which typically does three(!) network requests
in the constructor (get capabilities + 2x check to work around some
incompatibilities of WCS servers). This was both slow and potentially
dangerous because of embedded QEventLoop for the network requests.

This is now gone and when WCS provider gets cloned (e.g. when starting
map rendering), it just gets copy of data without any extra work.

Avoiding embedded QEventLoop fixes a crash in 3D view when loading tiles.
Fixes #28800
Fixes #26706
2019-05-30 13:47:01 +02:00
nirvn
056833e479 [layout][ui] Fix missing opacity setting for the label font color button 2019-05-30 17:16:47 +07:00
Alessandro Pasotti
2a2a4cd597 Copy test file before running the test
and make make check happy
2019-05-30 11:41:47 +02:00
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