50804 Commits

Author SHA1 Message Date
Alessandro Pasotti
9b0dc1eaf6 Spelling
Who knows why?
2018-10-01 10:47:35 +02:00
Alessandro Pasotti
9244d3fd67 Fix opencl build warning
Fixes #19984
2018-10-01 09:00:17 +02:00
Nyall Dawson
5508ea036e Use a custom folder icon instead of O/S folder icon
...because using O/S folder icon can causes crashes.

Fixes #18260
2018-10-01 16:19:56 +10:00
Nyall Dawson
08cece22b0 [processing] Fix some exceptions when running in iterate mode 2018-10-01 16:13:38 +10:00
Nyall Dawson
be01ea8810 Fix encoding scale to sld 2018-10-01 16:07:40 +10:00
Nyall Dawson
b5476ef5d4 Fix clang warnings, scale truncation to int 2018-10-01 16:07:40 +10:00
Nyall Dawson
0e2ceb90fe Fix rule based labeling does not permit moving labels using interactive tool
Fixes #19979
2018-10-01 16:07:40 +10:00
Nyall Dawson
750d868c65 Use QgsStyleModel in style import/export dialog
Fixes hidpi icon size/text truncation issues
2018-10-01 14:54:52 +10:00
Nyall Dawson
2b1cbf4f60 Fix disconnected fill outlines in preview icons when outline
has a line offset set
2018-10-01 14:54:52 +10:00
Julien Cabieces
f7c29d7fc5 resultStringList variable is not used anymore, remove it 2018-10-01 14:17:04 +10:00
Julien Cabieces
ee4afe2db1 Fixes #19836
Keep layer order when using different way for passing layer (layer id or layer pointer for instance)
2018-10-01 14:17:04 +10:00
Nyall Dawson
3ecb1548fb Add missing fox for QgsFontMarkerSymbolLayer, improve existing dox 2018-10-01 10:55:09 +10:00
Nyall Dawson
644ea71cc9 [processing] Some History dialog UX fixes:
- fix tiny folder icon on hidpi
- remember window geometry
2018-10-01 10:50:02 +10:00
Nyall Dawson
d50ccff69e [browser] Fix tiny folder icons on hidpi screens
QStyle::standardPixmap is deprecated and not hi-dpi friendly.
Unfortunately, there's no equivalent of QIcon::addPixmap
for QIcons themselves -- so it's **impossible** in current Qt
API to handle the ON/OFF icon states.

Believe me... there's NOOOOOOO way. I've looked. I've tried.
It's not possible.

This means we have to change the logic for showing open/closed
folders in browser. This commit revises the logic to show the
open icon for any *populated* folders, regardless of whether
they are opened or not.
2018-10-01 09:15:47 +10:00
Peter Petrik
3032af2dcc [mesh] add fundamental support for time handling 2018-09-30 14:17:20 +02:00
Nyall Dawson
a0292c3ff3 [processing] Reload scripts after a script has been saved in the editor
Fixes #19934
2018-09-30 08:31:06 +10:00
Loïc Bartoletti
c5ce9d7c06 Sorry... I forgot to clear the rubberband 2018-09-30 08:30:39 +10:00
Matthias Kuhn
d4fd49129e Fix grammar 2018-09-30 08:29:10 +10:00
Matthias Kuhn
8fdf34be1d Doxygen for QgsRubberband 2018-09-30 08:29:10 +10:00
Richard Duivenvoorde
fc7df32571 Make values in attribute form better readable
Currently in readonly modus of a form, the line-edits get
a 'disabled'-palette. But because text is then so light readability
is bad.
Removing the palette make the lineedits look like they are writable
input fields. So to distinguish them from input field, the frame
is removed and the background (of the lineEdit) is set to almost
transparent.
2018-09-30 08:28:57 +10:00
Matthias Kuhn
db65b9a8fc Add QgsRubberBand::setToGeometry with crs parameter 2018-09-30 08:28:05 +10:00
rldhont
ad7d03c64f
Merge pull request #7859 from rldhont/fix-server-sld-param-support
[Bugfix][Server] Add WMS SLD parameter support
2018-09-29 18:10:54 +02:00
Denis Rouzaud
8ec5fec280
remove useless invokable methods (#8059)
having invokable on overloaded methods taking enum as parameter is pretty useless as it is seen as an integer
the last declared was used: e.g. the one with LayoutUnit for toAbbreviatedSring
this commit only keeps the ones for DistanceUnit which is the most likely to be used
2018-09-29 03:28:26 -08:00
Matthias Kuhn
6d97af0d14
Fix link 2018-09-29 11:35:42 +02:00
Alessandro Pasotti
b395488b4f
Merge pull request #8052 from elpaso/bugfix-19930-spatialite-query
Fix spatialite queries without pk
2018-09-29 08:02:47 +02:00
Denis Rouzaud
2f7666e34a
fix requesting CRS for layer without geometry (#7771) 2018-09-28 17:24:30 -08:00
Juergen E. Fischer
a6c3b812e6 add appinfo metadata source dependency 2018-09-29 00:14:36 +02:00
Denis Rouzaud
f58cc38115 mark static methods as such 2018-09-29 07:38:40 +10:00
Nyall Dawson
94b10829ee Micro optimization: very slightly cheaper QgsFeature::initAttributes call 2018-09-29 07:38:15 +10:00
Nyall Dawson
8ae35de44b Replace deprecated call 2018-09-29 07:37:53 +10:00
Nyall Dawson
9698444f4a [processing] Fix inefficiencies in Delete Duplicate Geometries algorithm
..and make progress bar more accurate.

Use a spatial index to avoid comparing every feature to every other
feature, and only compare against features with intersecting bounding
boxes instead. Also optimise feature requests and loop logic.

Benchmarks:

Point layer, 6000k features

Before: 30 seconds
After: 0.15 seconds

Point layer, 45k features

Before: > 10 minutes
After: 7 seconds

Fixes #19973
2018-09-29 07:37:53 +10:00
Nyall Dawson
6110931f8a Rename QgsSpatialIndex::insertFeature to ::addFeature, for consistency
with other classes

And make QgsSpatialIndex a QgsFeatureSink
2018-09-29 07:37:53 +10:00
Blottiere Paul
63f597f934
Merge pull request #8040 from pblottiere/server_highlight_line
[server] Fixes #19906 - GetMap request with line in the SLD is correctly rendered
2018-09-28 17:07:26 +02:00
Alessandro Pasotti
dc15ae1ff7 Spelling 2018-09-28 12:06:06 +02:00
Alessandro Pasotti
f1b2893b48 Move table name variable to local 2018-09-28 11:05:27 +02:00
Alessandro Pasotti
9e9f0d6d5a Remove debug output 2018-09-28 11:02:08 +02:00
Alessandro Pasotti
a02d448ba6 [spatialite] Fix pk-less queries cannot be retrieved by id
Fixes #1993 - 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
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