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
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
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
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
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
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
49b381f216
Add missing test control file
2019-05-28 10:59:11 +02:00
Nyall Dawson
7f8d43eb9b
Fix offset labels from reprojected layers when map is rotated
...
Fixes #24796
2019-05-28 16:09:19 +10:00
Nyall Dawson
4cb1213efd
Fix labeling ignores "label per part" setting when geometry parts
...
are adjacent
Fixes #26763
2019-05-28 15:49:45 +10:00
Even Rouault
9167cb4f33
QgsVectorFileWriter::writeAsVectorFormat(): return appropriate output layer name for GPX driver (github fixes #29819 )
2019-05-28 09:09:14 +10:00
Even Rouault
29806b4385
testqgsvectorfilewriter.cpp: fix badly named variable, and remove useless code
2019-05-28 09:09:14 +10:00
Alexander Bruy
507c10c7c1
update tests and merge all color ramp tests into single file
2019-05-28 06:09:25 +10:00
Alexander Bruy
d83b01f5f0
add tests for QgsColorRamp
2019-05-28 06:09:25 +10:00
Even Rouault
06ab26ab3d
Merge pull request #29949 from rouault/fix_github_29858
...
[WFS provider] Support layers with GML field names only differing by cases (github fixes #29858 )
2019-05-27 21:54:32 +02:00
Even Rouault
3dddfe4bbb
Merge pull request #29946 from rouault/fix_redmine_21768
...
WFS provider: fix issues with TYPENAME(S) and NAMESPACE(s) with WFS 2.0
2019-05-27 21:54:15 +02:00
Alessandro Pasotti
f37141d807
Server WFS fix describefeaturetype double virtual fields
...
Fixes #29767
2019-05-27 18:22:50 +02:00
Alessandro Pasotti
a33ab6fb3b
Handle file:// links in identify text
...
Fixes #29879
2019-05-27 16:19:01 +02:00
Alessandro Pasotti
892ccfe69e
Fix raster calculator invalid expressions
...
Tell the user that is invalid instead of
silently ignoring undefined functions.
Fixes #29824
2019-05-27 14:56:03 +02:00
Alessandro Pasotti
3f4b6d00d6
Merge pull request #15371 from elpaso/bugfix-21986-jsonarray-spatialite
...
Fix spatialite handling of JSON arrays
2019-05-27 12:48:50 +02:00
Alessandro Pasotti
f399d3f3cf
Fallback to QVariant( QVariant::Type::Int )
2019-05-27 11:39:43 +02:00
Alessandro Pasotti
403bacf25b
Added test for isNull/isValid returns
2019-05-27 11:23:28 +02:00
Alessandro Pasotti
d5254eced2
Merge pull request #10036 from elpaso/bugfix-20848-issue-exporting-as-gpkg
...
Fix export raster as GPKG
2019-05-27 11:05:28 +02:00
Alessandro Pasotti
d7019cea0f
More QVariant test fixes
2019-05-27 10:22:40 +02:00
Alessandro Pasotti
e6050b54b9
Fix QCOMPARE with variant lists in test
2019-05-27 09:55:21 +02:00
Alessandro Pasotti
564fd50e43
Fix spatialite handling of JSON arrays
...
Fixes #21986
plus:
- fix multiple string keys with commas in value relation widget
- more robust JSON and array (un)marshalling
- uniform array representation in value relation widgets
- lot of test coverage
- automatic QVariant type conversions in JSON utils
2019-05-27 09:20:34 +02:00
Alexander Bruy
5ef63dfb45
add tests for style URI retrieval
2019-05-27 10:20:12 +10:00
Nyall Dawson
270c605081
Make test resilent against future potential order changes
2019-05-27 08:26:34 +10:00
Nyall Dawson
63b5d5889a
Explain test
2019-05-27 08:26:34 +10:00
Nyall Dawson
00f8ee693d
Avoid some fragile tests
2019-05-27 08:26:34 +10:00
Nyall Dawson
2a9c31654e
Just test for presence of name, not name itself
2019-05-27 08:26:34 +10:00
Nyall Dawson
85e207897b
Add API to retrieve avaiable coordinate operations between a source
...
and destination QgsCoordinateReferenceSystem on proj >= 6 builds
2019-05-27 08:26:34 +10:00
Nyall Dawson
b4d18f8e0c
Mark older datum transform methods as deprecated - they don't work under proj 6
2019-05-27 08:26:34 +10:00
Even Rouault
5eb5139251
[WFS provider] Support layers with GML field names only differing by cases (github fixes #29858 )
2019-05-26 01:28:02 +02:00
Even Rouault
3f46a55259
Fix previous commit
2019-05-25 20:34:02 +02:00
Even Rouault
0768dde519
[WFS provider] Emit TYPENAME and TYPENAMES for WFS 2.0 DescribeFeatureType & GetFeature
...
Fixes Redmine #21768 and https://github.com/qgis/QGIS/pull/9849
Due to confusion in the WFS 2.0 sepecification the situation is that WFS 2.0
servers 'randomly' recognize TYPENAME or
TYPENAMES depending on DescribeFeatureType and GetFeature requests. So
emit both parameters as tests show that it fixes issues and doesn't seem to
cause harm.
2019-05-25 19:28:14 +02:00
Klavs Pihlkjær
1e09a27d7f
[WFS provider] Improve handling of NAMESPACE(S) (github #9849 )
...
Modified by E. Rouault
2019-05-25 18:59:25 +02:00
Even Rouault
31c25e4872
Fix build with gcc 5.5
2019-05-25 17:45:34 +02:00
Nyall Dawson
c8a6e104e5
Update test results for proj6
2019-05-24 10:24:07 +10:00
Nyall Dawson
9bf6917ecb
Fix test, don't use nonsensical ellipsoid
2019-05-24 10:24:07 +10:00
Nyall Dawson
8350ad6769
Correctly handle crs restoration after an invalid crs was written to xml
2019-05-24 10:24:07 +10:00
Nyall Dawson
e49b07c70e
Never try to create a crs from an empty proj string, just shortcut and mark as invalid instead
...
Avoids proj warnings
2019-05-24 10:24:07 +10:00
Nyall Dawson
11f6ba8d5d
Fix dxf export ignores multisurface geometry types
...
Fixes #21779
2019-05-24 07:34:25 +10:00
Alessandro Pasotti
d16e693c18
Merge pull request #10063 from elpaso/bugfix-22035-processing-pg-camel-case-schema
...
Bugfix 22035 processing pg camel case schema
2019-05-23 09:58:02 +02:00
Alessandro Pasotti
bb567cd5b8
Processing importintopostgis: Do not transform table name to lowercase
2019-05-23 09:14:59 +02:00
nirvn
f9810a4534
[effects] Fix blur radius not taking dpi into account ( fixes #14885 )
2019-05-23 11:34:15 +07:00
Nyall Dawson
810b522f43
[layouts] Avoid resetting column selection when restoring project
...
with an atttribute table set to the "atlas feature" source
Fixes #20538
2019-05-23 07:44:23 +10:00
Alessandro Pasotti
a4187a7a6e
Tests for case sensistive pg schema
2019-05-22 18:16:43 +02:00
Blottiere Paul
10f6c8d0b3
Merge pull request #9833 from pblottiere/create_image
...
[server] Sanitise image creation
2019-05-22 13:45:08 +02:00