6552 Commits

Author SHA1 Message Date
Even Rouault
9014285bc7
[WFS client] Try to handle layers of type GeometryCollection if the first GeometryCollection is made of geometries of the same type (fixes #19571) 2018-10-15 15:29:42 +02:00
Matthias Kuhn
0bb6a16145
Standardize geometry checker tests 2018-10-15 15:25:45 +02:00
signedav
7ce06e6265 test with correct uniquevalue 2018-10-15 14:45:47 +02:00
Blottiere Paul
c3a41bc2fa Add unit test for polygon tolerance 2018-10-15 13:29:25 +01:00
Matthias Kuhn
6a94033487
Make feedback a required parameter for geometry checks 2018-10-15 14:28:02 +02:00
Matthias Kuhn
2a5692a520
Add test for overlap check with no area size restriction 2018-10-15 14:28:02 +02:00
Blottiere Paul
5765d49465 Add unit test for line tolerance 2018-10-15 10:40:27 +01:00
signedav
67276dcddf corrected comment in test 2018-10-15 11:25:04 +02:00
Even Rouault
d5e57d31e6
Merge pull request #8186 from rouault/fix_20104
[GDAL provider] Make sure that setEditable(true) invalides cached GDAL handles to get proper refresh (fixes #20104)
2018-10-15 11:10:00 +02:00
Even Rouault
b777ab23b1
Merge pull request #8184 from rouault/fix_20098
[OGR provider] Make again a feature iterator to be resetable on a OSM layer (fixes #20098)
2018-10-15 11:09:43 +02:00
Nyall Dawson
46b6ffadda Fix a bunch of QString warnings 2018-10-15 19:02:48 +10:00
Blottiere Paul
6fce7853ca Add unit test for point tolerance 2018-10-15 09:30:59 +01:00
signedav
a3f3187c72 tests 2018-10-15 10:27:42 +02:00
signedav
e8c15a9c46 tests for unique values
with default unique value and fallback in case the default value already exists
2018-10-15 09:14:06 +02:00
Nyall Dawson
d77c61ef81 More test 2018-10-15 16:51:16 +10:00
Nyall Dawson
88da833b72 Try resurrecting test under Travis 2018-10-15 15:25:17 +10:00
Nyall Dawson
e33caa4902 [mssql] Skip some tests on Travis which fail because of msodbcsql segfaults 2018-10-15 11:47:30 +10:00
Nyall Dawson
c6dda7b4f3 SQL Server on Travis 2018-10-15 11:47:30 +10:00
Even Rouault
e7d15b6495
[GDAL provider] Make sure that setEditable(true) invalides cached GDAL handles to get proper refresh (fixes #20104) 2018-10-14 17:50:38 +02:00
Even Rouault
906f80219f
[OGR provider] Make again a feature iterator to be resetable on a OSM layer (fixes #20098) 2018-10-14 12:43:54 +02:00
Nyall Dawson
0f056b500a Fix line pattern fill symbol corruption with negative angles 2018-10-13 06:31:56 +10:00
Nyall Dawson
e277b91087 Fix distorted line pattern fill when line offset is large compared
with pattern distance
2018-10-13 06:31:56 +10:00
Nyall Dawson
5b4ed16cf9 Fix line pattern fill offsets are always treated as positive,
even when offset is negative
2018-10-13 06:31:56 +10:00
Alessandro Pasotti
b80c95c71a
Merge pull request #8150 from elpaso/bugfix-20053-json-exporter-values
Fixes #20053 decimal separator in csv files
2018-10-10 09:56:52 +02:00
Denis Rouzaud
7c0a2a1cd7 a few more forward declarations 2018-10-09 11:48:33 -08:00
Denis Rouzaud
f27a5043bb remove useless includes 2018-10-09 11:48:33 -08:00
Alessandro Pasotti
859b39a634 Fixes #20053 decimal separator in csv files
Actually it had nothing to do with CSV being the
source, but it was the json exporter passing
the values through all field formatters except for
the fallback.

This resulted in all fields using a 'Range' formatter
(which is the default for all numeric types) passing
through the formatter and being returned as strings
in the json. Worse, if the locale was not a "dot"
locale and decimal separator was on, the resulting
string could not be easily converted into its original
numeric type.

Now, instead of checking for the fallback formatter
only, there is a white list of formatters that
can be applied when we want a json.

This is a temporary solution because the "right" way
to do it would be either a flag in the formatter to
tell if it can be applied when converting to json
and/or other "data" formats (csv etc.) or a different
new method similar to representValue.
2018-10-09 11:03:06 +02:00
AndrewAnnex
8fbb717580 addressed comments, ran prepare-commit.sh 2018-10-09 14:36:05 +10:00
AndrewAnnex
c04accd72a forgot to add voids in testqgsgdalprovider.cpp 2018-10-09 14:36:05 +10:00
AndrewAnnex
9b4cb7a269 added unit test and test raster 2018-10-09 14:36:05 +10:00
Nyall Dawson
06520be7b0 Spelling 2018-10-08 19:16:29 +10:00
Nyall Dawson
745495fe73 [mssql] Prevent overwriting existing tables via drag and drop in browser
Fixes #16805
2018-10-08 19:16:29 +10:00
Nyall Dawson
da21193894 [mssql] Fix handling of geometry column when multiple geometry/geography
columns are present

Fixes #13932
2018-10-08 17:01:03 +10:00
Nyall Dawson
71c5051356 [mssql] Fix incorrect precision detection for double/float fields
Fixes #15124
2018-10-08 17:01:03 +10:00
Nyall Dawson
794583e62e [mssql] Test data load script 2018-10-08 16:15:31 +10:00
Nyall Dawson
eb439d34ba [mssql] Update test for skipping invalid geometry handling 2018-10-08 16:15:31 +10:00
Nyall Dawson
eb40d911df Add test for MSSQL behavior with invalid polygon geometries
Forward port of 039866d, because I am an idiot and forgot
2018-10-08 16:15:31 +10:00
Even Rouault
119cd8ace9 QgisApp::addVectorLayer(): add |layername= to OGR datasets (fixes #20031)
Do it also in case of datasets that have a single layer, in case they might
later be edited to have more layers
(except for a few drivers known to be always single layer)
2018-10-08 07:23:27 +10:00
Even Rouault
bd6c1115bb [OGR provider] Make createEmptyLayer() work properly on GeoPackage when creating/overwrite a new database (fixes #20040) 2018-10-08 07:23:12 +10:00
Blottiere Paul
80e19b6328 Add core unit test 2018-10-08 05:03:49 +10:00
Blottiere Paul
7681d308e2 Removes TODO comment 2018-10-08 05:03:49 +10:00
Blottiere Paul
6dfae7238c Activates unit test 2018-10-08 05:03:49 +10:00
rldhont
2b71c9cc97
Merge pull request #7915 from rldhont/server-cache-manager-extension
[Server][Cache] Finalizing the cache manager
2018-10-07 15:50:00 +02:00
Nyall Dawson
ed35ad9ca7 Unify sqlite string quoting functions to a single QgsSqliteUtils::quoteString
function, with tests
2018-10-07 17:36:40 +10:00
rldhont
bc7cea2e3e [Server][Cache] Extending and enhancing cache manager tests 2018-10-06 10:25:20 +02:00
Nyall Dawson
81db0052ff [mssql] Fix single geometry types are added to multi geometry type layers
Fixes #10793
2018-10-06 06:06:05 +10:00
Alessandro Pasotti
29c4970f8a [processing] In-place add layer name to dlg title and store active layer 2018-10-05 10:10:20 +02:00
Alessandro Pasotti
ca1c65d07a [processing] In place editing triggers editing and select all
If the active layer is not editable, the executor will
try to switch editing on.

If there are no selected features, the executor will
select all features before running.
2018-10-05 08:53:30 +02:00
Alessandro Pasotti
223a87fbc5
Merge pull request #8121 from nyalldawson/no_boundary
Boundary alg cannot run in-place mode
2018-10-05 08:51:05 +02:00
Nyall Dawson
2f89139ce3 Fix up test 2018-10-05 16:00:36 +10:00