50764 Commits

Author SHA1 Message Date
Denis Rouzaud
cacd82e788
Update api_break.dox 2018-10-01 07:13:19 -04:00
Denis Rouzaud
e2aa0b715b explicitely call int version of former calls to toMapCoordinates 2018-09-29 15:48:05 -04:00
Denis Rouzaud
157ba0f4be QgsMapToPixel API cleanup
* overload toMapCoordinates to also take double (use different PyName)
* deprecate toMapPoint which is strictly equivalent to toMapCoordinates
2018-09-29 11:05:54 -04:00
Denis Rouzaud
110c8a01f2 use float precision for screen coordinates
this should fix rounding error when the map canvas has an odd pixel size
2018-09-29 10:21:57 -04:00
Martin Dobias
1a61885254 3D view: allow usual camera controls while the identify tool is active
A small usability improvement... until now one would need to disable
identify tool before being able to move/zoom/rotate the camera in 3D view
and then enable identify tool again. Now camera can be controlled
while the tool is active and the tool is easier to use.
2018-09-28 09:12:24 +02: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 #19938
2018-09-28 14:25:38 +10:00
Nyall Dawson
737ab3069a [processing][gdal] Correctly handle geopackage paths with layername argument
Fixes #19938
2018-09-28 14:25:38 +10:00
Nyall Dawson
7a45702b83 [processing][gdal] Fix stylesheet for gdal algorithms 2018-09-28 14:25:38 +10:00
Nyall Dawson
7977450796 [processing][ogr] Fix conversion of non-disk based layer sources
to GDAL commands

Fixes #19946
2018-09-28 13:36:50 +10:00
Nyall Dawson
f1ced30ee2 Fix dox 2018-09-28 13:17:12 +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
Nyall Dawson
e8f3dbdd7b Fallback to old method if decodeUri returns an empty map 2018-09-28 12:26:43 +10:00
Nyall Dawson
e433a10567 Use decodeUri to make bad layers file parsing more stable 2018-09-28 12:26:43 +10:00
Harrissou Sant-anna
0396abfd01 [needs-docs] Review the Dissolve algorithm description
* The current description focuses on geometries and assumes only line or vector layers can be dissolved
* Rename label to look more meaningful and closer to GDAL Dissolve's
2018-09-28 10:20:11 +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
b9f20b0ebe
Merge pull request #7902 from rldhont/server-wfs-format-field
[Bugfix][Server][WFS] Server wfs format field
2018-09-27 23:03:10 +02:00
Denis Rouzaud
3a70f88fa0
expand layer tree in project properties to take vertical space (#8042)
* expand layer tree in project properties to take vertical space

* remove spacer
2018-09-27 09:58:03 -08:00
Denis Rouzaud
f6f3174e1e
Merge pull request #8038 from qgis/3nids-patch-3
fix missing include of Qt libs in src/test/qgstest.h
2018-09-27 06:49:16 -08:00
Denis Rouzaud
97c5ed0225
better fix for detecting QWTPOLAR without DESKTOP 2018-09-27 10:38:47 -04:00
Denis Rouzaud
057aafe17a
WITH_QWTPOLAR is only defined when building with desktop 2018-09-27 10:20:25 -04:00
Denis Rouzaud
bb81f71dcd
remove dependency on qgis_gui from native tests 2018-09-27 09:43:26 -04:00
Denis Rouzaud
1c8b99e38b
fix missing include of Qt libs in src/test/qgstest.h
because it includes QgsApplication -> QApplication
2018-09-27 07:38:09 -04:00
Matthias Kuhn
2275853ce6
Merge pull request #8008 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
nirvn
b85db09b4f [ui] add icon view icon for the symbol list widget 2018-09-27 14:26:34 +07:00
Alessandro Pasotti
08ac1f0ede
Merge pull request #8037 from elpaso/bugfix-db-manager-sql
Bugfix db manager sql
2018-09-27 09:18:43 +02:00
Alessandro Pasotti
c06c475b9c [db-manager] Update sql dialog buttons status
Fixes #19958 - Database manager allows one to create saved query with no name
2018-09-27 08:29:27 +02:00
Alessandro Pasotti
94ded32f4e [db-manager] Allow multiline filters in sql window
Fixes #19956 - Update SQL layer results in invalid SQL expression
2018-09-27 08:01:40 +02:00
Martin Dobias
a1d130ac97 Fix spelling 2018-09-27 00:46:37 +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
rldhont
68ba754617 [Server][WFS] Use editor widget setup for Range fields 2018-09-26 17:11:02 +02:00
rldhont
37c1e2373f [Server][WFS] Use editor widget setup for DateTime fields
The user can define with the editor widget the data type of the field with more accuracy than the data provider.
In the case of DateTime, this data can be stored in a text field or the field is DateTime by default because the data provider does not identify Date or Time.

QGIS Server in the WFS case can use this config to provide well formed data and description.
2018-09-26 17:11:02 +02:00
Matthias Kuhn
374756b371
Add missing include 2018-09-26 15:21:39 +02:00
Matthias Kuhn
fd869d83d4
Add test for missing vertex check 2018-09-26 14:23:04 +02:00
Matthias Kuhn
b05ea1a1dc
Do not report duplicate errors in missing vertex check 2018-09-26 14:22:37 +02:00
Alessandro Pasotti
51574069a0 Fixes blocking if the edit in place functionality is used in the locator bar (with ef) on an non-modifiable layer
Fixes #19950
2018-09-26 14:19:58 +02:00
rldhont
cfddac586d [Server][WFS] Define encodeValueToText to correctly format field values 2018-09-26 14:15:54 +02:00
rldhont
6de6c08ada [Server][WFS] Set correctly attribute type for number fields in XSD
Replace `double` by `decimal`

Use `int`, `unsignedInt`, `long` and `unsignedLong` for `QVariant::Int`, `QVariant::UInt`, `QVariant::LongLong` and `QVariant::ULongLong`

Define double with 0 precision to `integer`
2018-09-26 14:15:54 +02:00
Martin Dobias
5047571c13 Move recursive "collect layers" algorithm to QgsLayerTreeUtils + tests 2018-09-26 09:55:37 +02:00
Martin Dobias
ea1716261a Make sure that also groups with "required" layers cannot be removed
Fixes an unreported bug where it was possible to select a layer tree group
and remove even when it contained required layers.

When removing layers/groups, the following checks will now also recursively
test layers and not just directly selected layers:
- test for layers with unsaved changes
- test for layers with active tasks running in background
2018-09-26 09:55:37 +02:00
Alessandro Pasotti
6aa00b14f3
Merge pull request #8022 from elpaso/bugfix-19831-db-manager-import-srid
[dbmanager] Fixes DB Manager does not read SRID automatically
2018-09-26 08:49:32 +02:00
Harrissou Sant-anna
346073a2a5 Add more tags to find the "Line substring" algorithm 2018-09-26 08:07:28 +10:00
Nyall Dawson
6e03253143 [processing][gdal] Fix empty fid is passed if FID option is not set
Also add full range of unit tests for OgrToPostGis algorithm.

Fixes #19947
2018-09-26 08:07:09 +10:00
Alexandre Neto
80723e89fd Adds .qgz files on --help description
Lists .qgz files in the possible project files to open from the command line
2018-09-26 04:27:56 +10: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