15595 Commits

Author SHA1 Message Date
Nyall Dawson
6a4ec5b704 [processing][needs-docs] Add missing input and output types to decorator syntax 2019-08-07 07:26:54 +10:00
Nyall Dawson
35fc3799cd Dox++ 2019-08-07 06:26:04 +10:00
Nyall Dawson
b4c4c99250 Improve QgsRasterLayer dox 2019-08-07 06:26:04 +10:00
Alessandro Pasotti
92ac7a2e93
[server] Server api and WFS3 (#10016)
Implementation of OGC API and WFS3 core draft specification
2019-08-06 16:38:21 +02:00
Denis Rouzaud
e4faaf4988
add __repr__ for QgsMapLayer (#31108) 2019-08-06 13:36:14 +02:00
Nyall Dawson
e3fbe28148 Fix incorrect /Factory/ annotation 2019-08-06 21:31:59 +10:00
nirvn
ec75aa0300 [FEATURE][text renderer] Support vertical text orientation 2019-08-06 13:24:15 +07:00
Nyall Dawson
126ccb9736 Apply same logic regarding joined fields as is used in field calculator
to QgsFieldProxyModel set to hiding read only fields

I.e. show editable joined fields, but only if they are set to a non-hidden
editor widget
2019-08-06 13:47:41 +10:00
Nyall Dawson
078ab8b04e
Merge pull request #30462 from DelazJ/patch-11
Add precision to travel cost parameter in service area algorithms
2019-08-06 07:17:46 +10:00
Matthias Kuhn
549abbfb86
Merge pull request #31047 from m-kuhn/support_loading_curved_pg_types
[db_manager] support loading mixed curved and straight type tables
2019-08-05 08:39:44 +02:00
Dimitris Salmas
0a27b7b131
bug fix
Bug fix for ERROR: Output distance in meters for lat/lon is only possible with 'metric=geodesic'
2019-08-02 17:08:53 +03:00
Matthias Kuhn
bd61fa55e7 Do not specify srid in dbmanager. It goes crazy
If srid is specified in an uri, it disables type detection.

Fix #30787
2019-08-02 13:12:18 +02:00
Matthias Kuhn
619562ec3d More dox 2019-08-02 13:12:18 +02:00
Matthias Kuhn
60f4bc56e8 Add QgsWkbTypes::curveType method 2019-08-02 09:33:47 +02:00
Nyall Dawson
ba55fb3e0a Use real symbol buttons in categorized and graduated renderer widgets,
instead of fake ones

Gives these buttons the full power of the usual QgsSymbolButton,
including copy/paste symbols, color/opacity changes, etc. Plus,
some nice additional interface consistency!
2019-08-01 16:03:47 +10:00
Harrissou Sant-anna
292efc2bf8 Add minimal description to Processing algorithms
enabling the right-hand help panel
2019-08-01 09:19:08 +10:00
Harrissou Sant-anna
ad011ac0a2
Apply suggestions from code review
Typo fix

Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-08-01 00:58:18 +02:00
Harrissou Sant-anna
7cad1e3a0a
Revert bar plot removal 2019-07-31 20:54:12 +02:00
Nyall Dawson
193f520ad9 Deprecate existing QgsCustomDropHandler::handleMimeData method,
and add handleMimeDataV2 method which returns a bool

This allows custom drop handlers to indicate that they've fully
handled dropped mime data, and that no further processing should
be done on the mime data
2019-08-01 04:29:34 +10:00
Harrissou Sant-anna
bae77bf8c3 Add help panel to service area algorithms dialog
with information of travel cost units
2019-07-31 18:23:52 +02:00
Nyall Dawson
55efeaeb2f [FEATURE] Add copy/paste symbol action to right click menu in categorized/graduated/rule based renderers
Allows symbols to be easily copied and pasted between these nodes
2019-07-31 20:49:43 +10:00
Nyall Dawson
47f83b582f [FEATURE] Add "copy symbol" and "paste symbol" actions to layer right click, style menu
Allows for individual symbols to be copied and pasted between layers or rule/categorized/graduated
nodes
2019-07-31 20:49:43 +10:00
Nyall Dawson
a0f6ee7541 Sipify 2019-07-31 11:03:06 +10:00
Nyall Dawson
b9482dda6b Dox++, unit tests 2019-07-31 05:08:37 +10:00
Sandro Mani
62f5f5e8e3 Add QgsLayerTreeView::setLayerVisible 2019-07-31 05:08:37 +10:00
Nyall Dawson
03e2c4dae7 Add since 2019-07-31 05:08:12 +10:00
Sandro Mani
91d5c2d55c Add QgsUnitTypes::areaToDistanceUnit 2019-07-31 05:08:12 +10:00
Nyall Dawson
5af2e52fff Allow custom drop handlers to indicate that they will accept a mime type
in advance

Allows non-standard mime types to be dropped onto the QGIS window,
which will be handled by custom drop handlers
2019-07-31 05:06:50 +10:00
Sandro Mani
3cf94e98fc Inizialize QgsGpsInformation with sane values, add QgsGpsInformation::isValid and QgsGpsInformation::fixStatus 2019-07-31 02:51:46 +10:00
nirvn
0ffd1174db Address review 2019-07-30 18:06:26 +07:00
nirvn
ec99bd6240 [FEATURE][callouts] Add anchor point position settings for polygon features 2019-07-30 18:06:26 +07:00
lbartoletti
794a8efc81 Fixes empty WKT. Fixes #20753, Fixes #19190, Fixes #20754 (#9645)
* Fixes empty WKT. Fixes #20753, Fixes #19190, Fixes #20754
2019-07-30 09:34:53 +02:00
Nyall Dawson
2aec816b16 [needs-docs] Add option to show superseded (but not deprecated)
coordinate operations when selecting operations

This is the closest equivalent for the existing "hide deprecated"
checkbox which is available in proj < 6 builds.

Requires Proj >= 6.2
2019-07-30 07:24:53 +10:00
nirvn
8b5ba4a0cf Fix rebase gone wrong and address review 2019-07-29 15:14:34 +07:00
nirvn
3a37c83da7 [FEATURE][layout] Add horizontal placement option for scale bar labels 2019-07-29 15:14:34 +07:00
nirvn
e5deb5517b [FEATURE][layout] Add above/below segments placement option for scale bar labels 2019-07-29 15:14:34 +07:00
Nyall Dawson
4d5fe9a086 [FEATURE][callouts] Add setting to allow callouts to be drawn to all parts
of a multi-part feature

Also data-definable!
2019-07-29 11:18:10 +10:00
Nyall Dawson
bb9267d11b Record whether a callout corresponds to a feature which has all parts labeled in the callout context
This is useful information for dictating how a callout should be rendered
2019-07-29 11:18:10 +10:00
Nyall Dawson
802deddaf9 Sipify 2019-07-29 09:03:40 +10:00
Nyall Dawson
3484a0246d [labeling] Add API to allow curved labels to overrun features 2019-07-26 18:24:20 +10:00
Nyall Dawson
4c7f8a951d Add API to specify WKT format when exporting QgsCoordinateReferenceSystem objects
Like all good things, this is Proj 6 only.
2019-07-26 18:23:56 +10:00
Matthias Kuhn
c08b757bc4
Merge pull request #30927 from m-kuhn/source_select_reset
Reset selection when data source select dialog is reopened
2019-07-26 09:47:56 +02:00
Nyall Dawson
8ef960442d [processing] Use lists, not maps in overlap analysis algorithm
Ensures consistent field ordering and that fields are always matched
to input layer order
2019-07-26 10:21:20 +10:00
Matthias Kuhn
4e33bc1fcf
Merge pull request #30610 from signedav/fix_valuerelation
Fix multi-selection on value relation widget using string fields
2019-07-25 18:16:25 +02:00
Matthias Kuhn
fa847d16ff Fix code style 2019-07-25 16:00:04 +02:00
Matthias Kuhn
66cbab0a93 Code style for providers 2019-07-25 11:22:23 +02:00
Matthias Kuhn
a6875a7c78 Reset selection when data source select dialog is reopened
When the data source select dialog is closed and reopened it's much more
likely that the user wants to add a different layer than last time he was using
the dialog. So instead of offering him to add the same layer again, the selection
is cleared and he is requested to make a new selection.
2019-07-25 11:17:42 +02:00
Matthias Kuhn
a681e1ed45
Merge pull request #30836 from m-kuhn/raster_ignore_extent
[FEATURE] Allow rendering raster layers outside the reported extent
2019-07-25 10:24:12 +02:00
Nyall Dawson
da1b5637af Fix deprecated gdal import warnings 2019-07-25 11:25:51 +10:00
Nyall Dawson
83a842d44f Ensure ownership of path preprocessor is transferred 2019-07-25 08:41:28 +10:00