Alessandro Pasotti
b2c6464e58
Merge pull request #5679 from elpaso/bugfix-16935-gpkg-split-features
...
[bugfix] Editing a GPKG layer added by d&d leads
2017-11-21 14:00:45 +01:00
Etienne Trimaille
373471214f
rename metadata() to htmlMetadata() in QgsRasterDataProvider
2017-11-21 11:38:50 +01:00
Matthias Kuhn
62713a5029
Merge pull request #5510 from m-kuhn/relationsearch
...
[FEATURE] Search widget for relations using aggregates
2017-11-21 09:11:26 +01:00
Alessandro Pasotti
a12939d380
[ogr] Implement skipConstraintsCheck for fid
...
With test.
2017-11-21 09:03:24 +01:00
Nyall Dawson
95cf299099
Followup c9b8ddc, add unit test
2017-11-21 08:58:54 +10:00
Matthias Kuhn
04101c3f43
Add dummy canvas to test
2017-11-20 20:31:39 +01:00
Matthias Kuhn
f8a8cb96b8
Fix failing tests
2017-11-20 20:31:39 +01:00
Alessandro Pasotti
f97b5a54d0
Fix test for primary key constraints
2017-11-20 18:30:49 +01:00
Alessandro Pasotti
73d6765e89
[bugfix] Editing a GPKG layer added by d&d leads
...
... to error and data corruption
Fixes #16935 for GPKG (OGR), still needs to check spatialite
Thanks to Matthias Kuhn for pointing me into the right direction
2017-11-20 17:04:17 +01:00
Matthias Kuhn
67b68a841d
Merge pull request #5578 from gacarrillor/iface_copy_paste_features
...
Expose through iface methods to copy/paste features between given layers
2017-11-20 07:24:41 +01:00
Nyall Dawson
eb2ef6a681
Merge pull request #5672 from nyalldawson/provider_fixes2
...
Add tests/fixes for some provider issues
2017-11-20 11:51:49 +11:00
Nyall Dawson
8cf9f8fb6f
Fix combining extent of valid rectangle with invalid rectangle results
...
in invalid rectangle
2017-11-20 08:29:17 +11:00
Nyall Dawson
6c4a8a246e
Update WFS tests
2017-11-19 17:19:04 +10:00
Nyall Dawson
d6eb8eccdd
Add a bit of tolerance to WFS provider test
...
Was failing on Fedora 27
2017-11-19 16:20:02 +10:00
Nyall Dawson
705416c489
More consistent exception throwing in QgsCoordinateTransform::transformBoundingBox
...
Depending on the os and proj versions, we weren't always getting an
exception when a bad bounding box transform was made. So now we
explicitly check the result, and if everything was invalid
then we also throw an exception.
This makes the behavior consistent across different platforms,
and fixes running the provider tests on non Travis platforms
(highly likely also fixes various issues encountered while running
QGIS)
2017-11-19 16:17:30 +10:00
Nyall Dawson
957cf652aa
Add some more provider tests for feature count when subset string is added/removed
2017-11-19 08:59:12 +10:00
Nyall Dawson
1cfd6ee829
Add provider test to ensure that extent is correctly calculated
...
for layers with 1 point and also no features
The first scenario should return an 'empty' rectangle with x/y
min/max matching just the single point's coordinate, the
second scenario must return a null rectangle (not an empty 0,0
rectangle!)
2017-11-19 08:56:48 +10:00
Blottiere Paul
898eb4abf4
Merge pull request #5628 from pblottiere/bugfix-transaction-tuple
...
executeSql in transaction does not return an error on tuple
2017-11-16 09:36:56 +00:00
Blottiere Paul
9283b26762
Update tests
2017-11-16 08:40:45 +00:00
Blottiere Paul
f52300d361
Update tests
2017-11-16 08:04:03 +00:00
Blottiere Paul
c6b054ed4d
Add test
2017-11-16 08:01:07 +00:00
Alessandro Pasotti
8dd70c1dab
Merge pull request #5526 from boundlessgeo/ogr_authconfig_2
...
[auth][needs-docs] Authentication configuration support in OGR provider
2017-11-16 09:00:04 +01:00
Mathieu Pellerin
05d38b3d1d
[processing] preserve field length and precision for temporary outputs ( #5654 )
...
* add test case to cover length and precision through uri
2017-11-16 14:13:52 +07:00
Larry Shaffer
72af1a00da
[auth][ogr] Add missing PyQGIS auth manager OGR test
2017-11-15 19:30:34 -07:00
Blottiere Paul
bc90210e4f
Merge pull request #5620 from pblottiere/bugfix_gpkg_bool
...
[bugfix] Fixes #17070 by considering bool fields as OGR integer fields with boolean subtype
2017-11-15 20:30:50 +00:00
gacarrillor
a00ce9e1cc
Rename editCopy/editPaste to copySelectionToClipboard/pasteFromClipboard
2017-11-15 12:51:42 -05:00
Blottiere Paul
9f0985ff36
Merge pull request #5554 from pblottiere/bugfix_virtuallayer
...
[bugfix] Fixes #16798 FilterFid feature requests with virtual layers
2017-11-15 16:20:40 +00:00
Blottiere Paul
bd30e12cf9
Merge pull request #5597 from pblottiere/bugfix-clickxy
...
[bugfix] Fixes #16852 by adding click_x and click_y variables to resolve actions
2017-11-15 16:18:36 +00:00
Blottiere Paul
76635894bd
Update test with Bool type instead of Int type
2017-11-15 16:15:45 +00:00
Blottiere Paul
caf0cf7576
Add test
2017-11-15 16:15:45 +00:00
Blottiere Paul
b5317c57e3
Fix test
2017-11-15 12:09:19 +00:00
Blottiere Paul
f25ea5b6ba
Add some tests with cross join
2017-11-15 12:09:19 +00:00
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