Nyall Dawson
3734a0d677
Fix tests
2017-11-15 20:51:05 +10:00
Nyall Dawson
75885d70d5
Rename various WKT/WKB/GeoJSON/GML methods for consistency
...
and consistent capitalisation
2017-11-15 20:51:05 +10:00
Nyall Dawson
95765a191a
Remove coordinate formatting methods from QgsPointXY
...
Use QgsCoordinateFormatter instead
2017-11-15 20:49:45 +10:00
Nyall Dawson
916c56b937
Initial implementation of QgsCoordinateFormatter
2017-11-15 20:49:45 +10:00
Alessandro Pasotti
1a17b90026
Disable PG test
2017-11-14 17:58:37 +01:00
Alessandro Pasotti
14df327167
[auth][ogr] Added test cases for all supported drivers
2017-11-14 17:58:36 +01:00
Alessandro Pasotti
d163c01673
[ogr][auth] Add geojson username/password test
2017-11-14 17:58:36 +01:00
Alessandro Pasotti
dc6101a6da
[auth] Add tests for Basic auth CAs on OGR and PG
...
providers
2017-11-14 17:58:36 +01:00
Alessandro Pasotti
276bd1bfe1
[auth] Add trusted root CAs to OGR PG connnections
2017-11-14 17:58:27 +01:00
Nyall Dawson
020972c291
Tweaks to automatic layer name logic
2017-11-14 21:53:31 +11:00
Nyall Dawson
fc6c69bedf
Fix calculation of distance to vertex for multi part, multi ring
...
and curved geometries
2017-11-14 21:52:28 +11:00
Nyall Dawson
5d476e51df
Use QVector where possible in geometry classes
2017-11-14 21:52:09 +11:00
Even Rouault
94fa450efd
[WFS provider] Add NAMESPACES= parameter to GetFeature requests when needed ( fixes #14685 )
2017-11-13 21:23:57 +01:00
Alessandro Pasotti
83ec9de429
Fix QGIS server test HTTP Basic auth with streaming
2017-11-13 18:22:49 +01:00
Alessandro Pasotti
fe4f1500d9
Merge pull request #5563 from boundlessgeo/BD-2469-pem-key-encoding
...
[auth][bugfix] Import pvt keys with unknown file extension
2017-11-13 17:40:54 +01:00
Even Rouault
2c49631bc9
[OGR provider] Support 64bit FID (partially implemented per 8f3d44d4e9321efc035a6080b161f5dd48d4f230 in master) ( fixes #16404 )
2017-11-13 15:49:14 +01:00
Alessandro Pasotti
822a123ebd
Add extra checks to PEM encoding test
...
Not really necessary but for extra safety
2017-11-13 09:09:18 +01:00
Alessandro Pasotti
9e192ad5e8
Added various line endings PEM tests
2017-11-13 09:00:11 +01:00
Nyall Dawson
be8bad8e39
Fix duplicate crsChanged signal emitted when loading projects
2017-11-13 15:28:14 +10:00
Nyall Dawson
f2b5a5952b
Fix loading 2.x projects with custom CRS
...
Fixes #17257
2017-11-13 15:26:05 +10:00
Nyall Dawson
e967881e45
Fix incorrect authid and description after saving a user crs
2017-11-13 15:11:05 +10:00
Nyall Dawson
39851f4474
Invalidate crs cache after adding a new user CRS
...
Refs #17257
2017-11-13 15:01:46 +10:00
Nyall Dawson
e0b2c27c07
Fix return type for QgsCoordinateReferenceSystem::saveAsUserCrs
2017-11-13 14:33:38 +10:00
Even Rouault
3ff0f69794
[OGR provider] Make extent() return a isNull() rectangle on empty layer ( fixes #16721 )
2017-11-12 14:56:05 +01:00
Even Rouault
66518eb9ee
[GML parser/WFS provider] Fix crash when typename and geometry field name are identical ( fixes #15942 )
2017-11-11 12:11:36 +01:00
Nyall Dawson
a9145f16cc
Avoid Coverity unchecked return value warnings
2017-11-11 15:48:19 +10:00
Nyall Dawson
2e6d125a6f
Use =default, =delete where possible
2017-11-11 15:22:19 +10:00
Nyall Dawson
bcd90715b0
Run clang-tidy code readability fixits
2017-11-11 12:19:59 +10:00
Even Rouault
8c6e029688
Merge pull request #5601 from rouault/unblacklist_PyQgsDBManagerGpkg
...
Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI
2017-11-10 22:37:45 +01:00
Even Rouault
95feb87d3b
Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI
2017-11-10 22:02:19 +01:00
Blottiere Paul
2a7f23fd4c
Update tests
2017-11-10 16:19:24 +00:00
Blottiere Paul
534e1e811e
Add test
2017-11-10 15:26:21 +00:00
Blottiere Paul
96e597a8e2
Add some tests
2017-11-10 15:14:14 +00:00
Alessandro Pasotti
10292762f5
[auth] New test cases for EC SSL Keys and encodings
2017-11-10 15:44:31 +01:00
Jürgen Fischer
2ca4ee5ba8
Merge pull request #5596 from boundlessgeo/bugfix-5212-ogr-proxy
...
[bugfix] Apply proxy configuration to OGR connections
2017-11-10 15:16:10 +01:00
Alessandro Pasotti
77a73f41dd
[tests] Brand new C++ test and new py test case for ogr proxy
2017-11-10 13:33:23 +01:00
Matthias Kuhn
8d8f38d4c4
[travis] Disable non-local file download tests
2017-11-09 19:20:49 +01:00
Alessandro Pasotti
9168161e1e
Merge pull request #5573 from boundlessgeo/BD-2238-auth-thread-safe
...
[tests] Add XYX slippy map to test QGIS server + multi-threading
2017-11-09 18:08:38 +01:00
Even Rouault
d00efde2f0
Merge pull request #5580 from rouault/fix_QgsRasterFileWriter_geopackage
...
[GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103 )
2017-11-09 16:24:23 +01:00
Blottiere Paul
022f6cfd21
Merge pull request #5515 from pblottiere/server_bugfix_plusspace
...
[server][bugfix] Fixes #17401 by replacing '+' symbol by space
2017-11-09 15:01:40 +00:00
Even Rouault
c3e15f5228
[GDAL provider] in create(), use newly create dataset handle to instanciate the provider ( fix #17103 )
...
Previously we created an empty file, close it and re-opened it immediately in open mode.
However for GeoPackage, if you create for example a 1 band or 3 band dataset, upon reopening
you get a 4 band RGBA dataset, due to the fact that GeoPackage doesn't explicitly store the
number of bands. Thus the 4th band (alpha) was never written by the QgsRasterFileWriter logic.
2017-11-09 15:22:41 +01:00
Alessandro Pasotti
decbde24ff
Because spellchecker does not like slippy maps
2017-11-09 15:20:59 +01:00
Alessandro Pasotti
f99d9aed7d
[tests] Add missing import when no auth is required
2017-11-09 13:40:02 +01:00
Even Rouault
426b8dbc46
Re-enable testWFST10
2017-11-09 13:10:42 +01:00
Alessandro Pasotti
f29c9c9965
[tests] Add XYX slippy map to test QGIS server
...
Plus: multi-threading server side (for speed)
This is useful for testing various authentication
shemes on a slippy-map server (that uses multi-threading
in QGIS desktop)
2017-11-09 12:23:03 +01:00
Blottiere Paul
7f37e70762
Add test
2017-11-09 09:31:43 +00:00
Juergen E. Fischer
1ff50fd59e
fix TestQgsFileDownloader::testLacksWritePermissionsError (followup f06ea878)
2017-11-09 09:16:55 +01:00
Nyall Dawson
ba62ffce2c
Make constructors for QgsVectorLayer and QgsRasterLayer more flexible
...
...by moving extra arguments to new LayerOptions structs. This allows
us to more easily add new layer constructor options without making
the API cumbersome to use.
2017-11-09 14:28:51 +11:00
Matthias Kuhn
fd937c3a86
Increase outline width
2017-11-08 14:37:17 +01:00
Matthias Kuhn
42c9d158cf
[test] Fix canvas size and background garbage
2017-11-08 14:37:16 +01:00