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

4207 Commits

Author SHA1 Message Date
Nyall Dawson
8df67111cd [needs-docs][browser] Allow renaming favorite items
Otherwise favorites can be useless if you're trying to favorite
a long path

Fixes 
2017-12-14 15:44:39 +10:00
Nyall Dawson
457abe7bbf
Merge pull request from nyalldawson/project_icon
Use qgs project icon derivative for project home in browser
2017-12-14 10:02:58 +11:00
Nyall Dawson
79c180a77e Fix doxygen warning 2017-12-14 08:04:55 +10:00
Nyall Dawson
30fb6de17c Use qgs project icon derivative for project home in browser 2017-12-14 07:46:39 +10:00
Etienne Trimaille
5c28ecab8f update HTML data provider metadata ()
* update HTML data provider metadata for grass, gdal and ams

* update HTML data provider metadata for WMS and WCS

* move HTML bullet list to QgsHtmlUtils
2017-12-13 13:29:41 +02:00
Nyall Dawson
fec31f8da2 Sort browser items
Implements a sort key for browser items, allowing them to be
correctly sorted.

Fixes 
2017-12-13 15:06:12 +10:00
Juergen E. Fischer
7a1a4ed1df spelling fixes 2017-12-12 23:31:48 +01:00
Nyall Dawson
a15b54d997 Swap missing 0->nullptr and add missing overrides 2017-12-12 21:14:58 +11:00
Alexander Bruy
6b73f78198
Merge pull request from alexbruy/raster-extensions
Add methods to get supported raster formats and extensions to QgsRasterFileWriter
2017-12-11 19:54:28 +02:00
Alessandro Pasotti
bfa857bb97 [bugfix] Restore binding for QgsCoordinateTransform
Fixes 

Binding was lost in commit 10d34ece02bb765f5d9d88bb0524c909235fb0d7
2017-12-11 12:32:46 +01:00
Nyall Dawson
83cdd8468b Use GDAL metadata to determine feature styles support
GDAL >= 2.3 only
2017-12-11 19:24:31 +11:00
Alexander Bruy
48661addc6 add supportedFormatExtensions() method to QgsRasterFileWriter 2017-12-11 09:38:14 +02:00
Alexander Bruy
52b5864335 add supportedFiltersAndFormats() method to QgsRasterFileWriter 2017-12-11 09:38:14 +02:00
Nyall Dawson
53ebe050bd
Merge pull request from nyalldawson/gdal
[processing] Some GDAL algorithm fixes
2017-12-09 17:26:41 +11:00
Nyall Dawson
3a5caaf94c Add missing proxy calls for QgsProcessingFeatureSource, causing
inefficient base class methods to be used instead.
2017-12-08 15:05:56 +10:00
Nyall Dawson
89420fccd6 Sipify 2017-12-07 08:51:52 +10:00
Nyall Dawson
66b4b45177 Try to fix issues with sip casting collisions between layout and
compositions
2017-12-07 08:50:01 +10:00
Nyall Dawson
a9896eac05 Port a bunch of QgsLayoutManager methods to use QgsLayouts 2017-12-07 08:50:01 +10:00
Nyall Dawson
3a0b751698 Port duplicate layout functionality 2017-12-07 08:49:54 +10:00
Nyall Dawson
a64a675830 [FEATURE][layouts] Support drag and drop of QPT templates onto layout windows
To add contents of template onto layout
2017-12-07 08:49:54 +10:00
Nyall Dawson
a4dea9935f Restore ability to save layouts to templates and add items from template 2017-12-07 08:49:41 +10:00
Nyall Dawson
59b6bf62ab Add a method to clear an existing layout 2017-12-07 08:49:41 +10:00
Nyall Dawson
8feac30f07 Add method to clear page collections for layouts 2017-12-07 08:49:41 +10:00
Nyall Dawson
ef9e013a5a Fix crashes when rapidly deleting/undeleting objects
Also fix some leaks
2017-12-07 08:49:41 +10:00
Nyall Dawson
f60da58256 Add some unit tests 2017-12-07 08:49:33 +10:00
Nyall Dawson
b74a0efa34 Work on layout and layout item serialization and restoration 2017-12-07 08:49:33 +10:00
Denis Rouzaud
906259b2f7 [doxygen] remove useless @brief 2017-12-06 08:31:12 -04:00
Denis Rouzaud
f29306d4af [doxygen] replace @param by \param 2017-12-06 08:31:12 -04:00
Denis Rouzaud
b72c569cf3 [doxygen] replace @see by \see 2017-12-06 08:31:12 -04:00
Denis Rouzaud
ed5076201a [doxygen] \see must be placed after params 2017-12-06 07:19:50 -04:00
Denis Rouzaud
e48cf98edb run sipify 2017-12-06 07:19:50 -04:00
Nyall Dawson
b0a36e9bb1
Merge pull request from nyalldawson/render_jobs
[Rendering] Only render in preview jobs layers that are fast enough
2017-12-05 11:17:44 +11:00
Nyall Dawson
b26c14ef04
Merge pull request from nyalldawson/mingw
Mingw build fixes and windows build warning fixes
2017-12-05 10:51:21 +11:00
Nyall Dawson
38cca6ca7e Tweak API 2017-12-05 09:02:40 +10:00
Nyall Dawson
5ee9cdd222 Rename layerRenderingTime()->perLayerRenderingTime() 2017-12-05 09:02:40 +10:00
Nyall Dawson
01e8ed85e3 More flexible API for preview job determination 2017-12-05 09:02:40 +10:00
Nyall Dawson
16a1bd7948 Store previous layer rendering time in canvas, not map layer 2017-12-05 09:02:40 +10:00
Even Rouault
997619c9ed [Rendering] Only render in preview jobs layers that are fast enough
This implements the improvements discussed in the mailing list thread
https://lists.osgeo.org/pipermail/qgis-developer/2017-November/050524.html
to avoid rendering layers in preview jobs that take too much time to render.
2017-12-05 09:02:40 +10:00
Nyall Dawson
32ba5bf23f
Merge pull request from nyalldawson/geom_snapper_vertices
Fix geometry snapper sometimes creates unwanted overlapping segments when snapping line layers
2017-12-05 09:47:27 +11:00
Nyall Dawson
4689537842 Fix build warning 2017-12-05 08:30:52 +11:00
Nyall Dawson
21fe98d5f0 Sipify 2017-12-04 13:10:28 +10:00
Nyall Dawson
e12621ce2a Add API method to remove duplicate nodes from geometries
Removes duplicate nodes from the geometry, wherever removing the
nodes does not result in a degenerate geometry.

By default, z values are not considered when detecting duplicate
nodes. E.g. two nodes with the same x and y coordinate but
different z values will still be considered duplicate and one
will be removed. If useZValues is true, then the z values are
also tested and nodes with the same x and y but different z
will be maintained.

Note that duplicate nodes are not tested between different
parts of a multipart geometry. E.g. a multipoint geometry
with overlapping points will not be changed by this method.

The function will return true if nodes were removed, or false
if no duplicate nodes were found.

Includes unit tests and a processing algorithm which exposes
this functionality.
2017-12-03 14:58:21 +10:00
Nyall Dawson
0b452cabbb Spelling 2017-12-03 08:03:30 +10:00
Martin Dobias
f8788b9185 [3d] Fix style copy/paste for 3D renderer (fixes ) 2017-12-02 09:32:23 +01:00
Nyall Dawson
389435e1a0
Merge pull request from nyalldawson/proc_dyanmic
[processing] Expose dynamic ("data defined") numeric parameters to gui
2017-12-02 14:32:45 +11:00
Nyall Dawson
86958937ad Tweak processing API to better handle dynamic properties 2017-12-02 11:17:19 +10:00
Nyall Dawson
ecbc4718d4 [processing] Some more framework for dynamic (data defined) parameters 2017-12-02 11:16:26 +10:00
Nyall Dawson
9e4518fe42 [FEATURE] More output format choices in raster save as dialog
Previously only geotiff format was available, even though the
underlying QgsRasterFileWriter/GDAL libraries support other
formats.

This commit exposes those other formats to the dialog so that
users can directly save rasters to them (including everyone's
new BFF, geopackage).
2017-12-02 11:11:45 +10:00
Alessandro Pasotti
19b062c304
Merge pull request from Gustry/file_downloader
Display the downloaded size in QgsFileDownloaderDialog
2017-12-01 14:30:34 +01:00
Nyall Dawson
297e8561a0 Bump lowest possible min for numeric parameters to -DBL_MAX + 1
We need to reserve -DBL_MAX as a special value, to allow it to
work correctly in QDoubleSpinBoxes (limitation of QDoubleSpinBox)
2017-12-01 20:42:38 +11:00