1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-03 00:05:24 -04:00

6574 Commits

Author SHA1 Message Date
Alessandro Pasotti
a02d448ba6 [spatialite] Fix pk-less queries cannot be retrieved by id
Fixes  - Zoom to feature" does not work

This actually fixes many more bugs related with the
QGIS generated feature id (incremental) when using
queries that was not consistent when using
QgsFeature request with ids or bbox.

This is not a regression: the same error is in 2.18
2018-09-28 10:29:23 +02:00
Blottiere Paul
5496442ca1 Add mask image 2018-09-28 08:42:18 +01:00
Nyall Dawson
68426d641d Add missing file 2018-09-28 14:25:38 +10:00
Nyall Dawson
308d7136b4 [processing] More fixes to convertToCompatibleFormat, lots of unit
tests

Fixes 
2018-09-28 14:25:38 +10:00
Nyall Dawson
39d148612b Optimise conversion of geometry from OGR -> QGIS
Avoid conversion to/from WKB at OGR/QGIS side, and just directly
utilise OGR geometry API to construct QGIS geometries.

Shaves ~10% off rendering time for a large point layer (GPKG)
2018-09-28 13:17:12 +10:00
Nyall Dawson
2f214c66fa Fix qgis_bench 2018-09-28 13:17:12 +10:00
Harrissou Sant-anna
b478ee750c Fix "Array of offset lines" algorithm 2018-09-28 10:19:31 +10:00
Harrissou Sant-anna
9e5cc4b76b Fix array of translated features algorithms 2018-09-28 10:19:31 +10:00
rldhont
34009d3fb9 [Tests][Server] Add test for WMS SLD parameter and move SLD_BODY test 2018-09-27 21:08:33 +02:00
rldhont
c15f05b4c9 [Bugfix][Server] Add WMS SLD parameter support
Fixed  QGIS Server 3 / WMS: the SLD parameter support has been removed

To reactivate SLD parameter support, we add a new conversion capability in server parameter `toUrl`. And the capabilty to load the content associted to an URL.

Then if the SLD parameter is defined, the content is loaded and the SLD_BODY is set.
2018-09-27 21:08:33 +02:00
Blottiere Paul
210a1fe1e7 Update unit test 2018-09-27 16:25:29 +01:00
Denis Rouzaud
bb81f71dcd
remove dependency on qgis_gui from native tests 2018-09-27 09:43:26 -04:00
Matthias Kuhn
2275853ce6
Merge pull request from m-kuhn/missingVertexCheck
Add QgsGeometryMissingVertexCheck
2018-09-27 10:50:27 +02:00
Matthias Kuhn
3c379d36e6
Fix test 2018-09-27 10:12:08 +02:00
Martin Dobias
8831f19b79 Fix missing indicators after they are moved to a different group
The issue was that during drag&drop, we first connect to layer's signal
for the second time, but then the disconnect() call on removal of the original
layer node would disconnect all connections (not just one). For that reason
now we only connect/disconnect when the layer is in the tree only once.
2018-09-27 00:46:37 +02:00
Matthias Kuhn
fd869d83d4
Add test for missing vertex check 2018-09-26 14:23:04 +02:00
Martin Dobias
5047571c13 Move recursive "collect layers" algorithm to QgsLayerTreeUtils + tests 2018-09-26 09:55:37 +02:00
Nyall Dawson
3d70f1b51d [layouts] Fix is_layer_visible does not work within layout map items 2018-09-26 04:27:27 +10:00
Nyall Dawson
0f62685963 Fix is_layer_visible to allow direct layer objects and handle removed layers 2018-09-26 04:27:27 +10:00
Nyall Dawson
f29c48b99b Dox 2018-09-26 04:27:08 +10:00
Nyall Dawson
fd1d6c1037 Add more descriptive error messages for raster calculation failure
With unit tests
2018-09-26 04:27:08 +10:00
Nyall Dawson
844a3fb1b1 [processing] Allow help url to be set for models within help edit dialog
Refs 
2018-09-26 04:26:49 +10:00
Loïc Bartoletti
9bbabcfbf5 Add test
Add onStyleChanged
Add if mRenderContext when necessary
Orderer renderer if and add enableInvisibleFeature
2018-09-25 13:09:11 +02:00
Alessandro Pasotti
930c3f8e45 Port makeFeaturesCompatible to C++
as: QgsVectorLayerUtils::makeFeaturesCompatible

With tests.
2018-09-25 08:17:14 +02:00
Nyall Dawson
95e95d0fe8 Unit tests for QgsVectorLayerUtils.matchAttributesToFields 2018-09-25 08:49:21 +10:00
Nyall Dawson
b5867bff58 Fix legend count is 0 if graduated/categorized expression uses geometry
Likely fixes many other bugs too with graduated/categorized renderers

Fixes 
2018-09-25 05:21:35 +10:00
Peter Petrik
1b82abfd87 fix test images for mesh rendering 2018-09-24 11:04:50 +02:00
Juergen E. Fischer
4911d2e745 [BUGFIX][NEEDS-DOCS] add command line option to hide browser (refs ) 2018-09-23 21:54:03 +02:00
Even Rouault
208571a832
Merge pull request from rouault/fix_19483
Raster: do not list RasterLite2 as a supported output format, and use a helper for every call site (fixes )
2018-09-23 15:52:03 +02:00
Even Rouault
ac65ee0398
Merge pull request from rouault/fix_18804
QgsRasterFilWriter: fix crash when building overviews (fixes )
2018-09-23 15:51:52 +02:00
Even Rouault
d2a7668c16
Raster: do not list RasterLite2 as a supported output format, and use a helper for every call site (fixes ) 2018-09-22 16:47:32 +02:00
Even Rouault
0c0e30b48f
QgsRasterFilWriter: fix crash when building overviews (fixes ) 2018-09-22 15:09:47 +02:00
Even Rouault
fabdc04764
[OGR provider] Fix reading of OSM datasets when opening several layers at the same time (fixes ) 2018-09-22 11:59:14 +02:00
Even Rouault
9dd1406539
Merge pull request from rouault/fix_19722
QgsVectorFileWriter: fix DGN creation (fixes , fixes )
2018-09-22 00:43:43 +02:00
Even Rouault
bb40385d33
Merge pull request from rouault/fix_ogrdataitems_layername
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes )
2018-09-22 00:43:27 +02:00
Nyall Dawson
1ec365445b [processing] Port Range parameter widget to new API
Fixes use of range parameters inside models, allowing range
inputs to be used for range parameter values.

Fixes 
2018-09-22 05:26:29 +10:00
Nyall Dawson
ced95593e9 More travis build fixes 2018-09-22 05:26:29 +10:00
Nyall Dawson
85a9e173af Fix tests on Travis 2018-09-22 05:26:29 +10:00
Nyall Dawson
8e1c437e02 Allow expression contexts to specify a list of highlighted functions
as well as just variable names

In some cases contexts may provide specific functions of use
to that context, or more generally there may be functions we want
to highlight for a particular expression builder (e.g. highlighting
to_dms in the grid annotation builder)
2018-09-22 05:26:29 +10:00
Nyall Dawson
7af13f62c0 Set widget context for widget wrappers 2018-09-22 05:26:29 +10:00
Nyall Dawson
33eb295b1e Distance parameter unit tests 2018-09-22 05:26:29 +10:00
Nyall Dawson
ee8389afee Unit tests 2018-09-22 05:26:29 +10:00
Even Rouault
6b62019317
QgsVectorFileWriter: fix DGN creation (fixes , fixes ) 2018-09-21 19:56:07 +02:00
Blottiere Paul
2807c2f883
Merge pull request from tudorbarascu/fix_sld
fix stroke Width sld import
2018-09-21 15:32:49 +02:00
Even Rouault
ea2cc365db
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes ) 2018-09-21 15:32:19 +02:00
Alessandro Pasotti
0ee119f72b
Merge pull request from elpaso/bugfix-19901-relation-reference-NULL
QgsFeatureListComboBox nullRepresentation instead of hardcoded "NULL"
2018-09-21 10:56:34 +02:00
Nyall Dawson
30b757b184 More in-place support tweaks, add tests 2018-09-21 18:15:46 +10:00
Tudor Bărăscu
1955ebb7c9 server disabled test for failing getmap req with Line sld 2018-09-21 10:14:38 +03:00
Luigi Pirelli
6e02f9f4fa test for update of parameterLayerList managing QgsProcessingOutputLayerDefinition 2018-09-21 09:00:56 +10:00
Tudor Bărăscu
f125d3f792 add image mask and make travis happy 2018-09-20 20:42:13 +03:00