16325 Commits

Author SHA1 Message Date
Nyall Dawson
49dcc2c253 [FEATURE] Add spacing option for vector layer bar chart diagrams
Allows for user-controlled spacing between each bar in the chart.

Sponsored by SLYR
2019-11-21 15:21:44 +10:00
javicasnov
742c7b95d7 Tiles XYZ fixed scale-dependant styles 2019-11-21 08:24:37 +10:00
javicasnov
20736b9ac1 Update TilesXYZ.py
Solve issue #30524. Now tiles are drawn correctly if there are layers with scale-dependant styles
2019-11-21 08:24:37 +10:00
rldhont
656f9e04bc [Bugfix][Server] Use floor and ceil for round extent coordinates in services capabilities 2019-11-20 21:46:56 +01:00
Antonio Rotundo
69ba08eae9 Update connections-default.xml 2019-11-21 05:49:39 +10:00
Alessandro Pasotti
bcdbc3a85d Attribute table pass fid on ctx menu signals
instead of passing an index that could belong to
one of the (three) models that live in the dual
view.

This hopefully makes the code a bit less error
prone and readable.

Fixes #32952
2019-11-21 05:00:27 +10:00
Borys Jurgiel
ffb38e8a32 Revert 5c1cc4a40d84. I wasn't aware dashes in plugin directory names have been authorized at some point and we have a number of affected plugins now (please note personally I am opposed to putting dashes to Python package names). Fixes #32968. 2019-11-21 04:54:39 +10:00
Alex
91563b8b88 auto layer finder 2019-11-20 08:12:39 -05:00
Nyall Dawson
2b9921ac2c Lower precision of grass centrality test
Refs #32562
2019-11-20 18:43:29 +10:00
Nyall Dawson
1ca926d72a [FEATURE][layouts] Add search box to layout manager
Allows filtering the list of layouts in a project by name, handy
when a project has many layouts
2019-11-20 17:38:28 +10:00
Nyall Dawson
9a2e015158 Move QObject declaration to header 2019-11-20 10:08:13 +10:00
Nyall Dawson
214bbe9e36 Fix clazy fully-qualified-moc-types warnings 2019-11-20 10:08:13 +10:00
Juergen E. Fischer
d401c84008 another translation string fix 2019-11-18 18:21:06 +01:00
Juergen E. Fischer
74a6871d9e translation string fixes 2019-11-18 13:19:25 +01:00
Nyall Dawson
3b8565115a Also lazy load numpy 2019-11-17 17:08:12 +10:00
Nyall Dawson
2d83fb2e1d Remove unused code 2019-11-17 17:08:12 +10:00
Nyall Dawson
a27db3533c [processing] Only load plotly library on demand (i.e. at time of algorithm
execution)

Because:
1. It's nicer to show all algorithms on all installs, and give a descriptive
error message to users when they try to run algorithms which depend on Plotly
if the library is missing. Otherwise on some installs these algorithms are
just missing for no apparent reason.

2. The plotly library takes a long time to load on windows (3-4 seconds),
so by moving this load to an on-demand load at time of algorithm execution
we can shave a few seconds off the QGIS startup time for ALL users.
2019-11-17 17:08:12 +10:00
Felis Pimeja
d28da131c4 Fix alg description
PostGIS DB -> PostgreSQL DB
2019-11-17 11:55:35 +10:00
Felis Pimeja
60ed888277 Fix alg description
PostGIS DB - PostgreSQL DB
2019-11-17 11:55:35 +10:00
Nyall Dawson
2a5ee9b563 [processing] Warn when we know for certain that no spatial index
exists on a source used for the Join by Location algorithm

Advise users that performance will be severely degraded as a result.
2019-11-17 04:54:41 +10:00
Nyall Dawson
fe32fdfe40 Add API to QgsFeatureSource to determine whether a spatial index
exists on the source (or not, or unknown presence)
2019-11-17 04:54:41 +10:00
Alessandro Pasotti
25edd83b0a Processing raster calc: add missing btns and validate
Validate expression
2019-11-15 15:49:18 +01:00
Alessandro Pasotti
2eb410844f
Merge pull request #32694 from elpaso/server-wfs3-transaction-simple-2
[feature] Server OAPIF simple transactions
2019-11-15 14:21:03 +01:00
Nyall Dawson
41fa4b19fd Fix rendering artifacts on the edges of resampled raster tiles
We now buffer the request for the input to a resample filter by
a variable number of pixels (depending on the resampling type)
in order to fetch the neighbouring pixels to the edges of individual
raster blocks. This allows the resampling to utilise these
neighbouring pixels when resampling the edges of tiles, avoiding
discrepancies and rendering artifacts over the borders of
raster tiles.

Fixes #30152
2019-11-15 13:48:38 +10:00
Even Rouault
aeeb11b00d
Merge pull request #31986 from roya0045/patch-6
[Bugfix] enabling spatialite gpkg amphibious mode
2019-11-14 19:23:27 +01:00
David Marteau
87e3516f2f Fix default defaultValue in algfactory
According to doc: https://qgis.org/pyqgis/3.10/core/QgsProcessingParameterDefinition.html?highlight=qgsprocessingparameterdefinition#module-QgsProcessingParameterDefinition
2019-11-15 02:53:25 +10:00
Alex
eda36d4796 Allow using spatialite function on geopackge in dbmanager
Enables Spatialite's amphibious mode for Geopackages, allowing the use of geospatial functions on geopackages in the DB manager.
2019-11-14 10:41:36 -05:00
Alessandro Pasotti
852d6cdc73
Merge pull request #32862 from elpaso/bugfix-gh32808-db-manager-pg-renametable
Fix DB manager PG rename table
2019-11-14 14:30:49 +01:00
Alessandro Pasotti
7f6b3cf877 Fix DB manager PG rename table
Fixes #32808
2019-11-14 13:42:36 +01:00
Matthias Kuhn
cbe6150348
Merge pull request #32770 from m-kuhn/dxf-symbol-fixes
Make the DXF renderer ready for background threading and fix symbology
2019-11-14 09:47:22 +01:00
Nyall Dawson
4294f5e546 Add missing file 2019-11-14 13:00:48 +10:00
Håvard Tveite
b0c1827b78 Update python/plugins/processing/algs/qgis/Rasterize.py
Don't know how the A ended up here - sorry.
2019-11-14 12:36:00 +10:00
Håvard Tveite
904d1d6c2d The "Convert map to raster" algorithm does not handle extent CRS correctly
Fixes: #32829
2019-11-14 12:36:00 +10:00
Håvard Tveite
59292b47c7 Update CreateConstantRaster.py
Cast cols (and rows) to int to fix the error.
Fixes: #32827
2019-11-14 03:07:30 +10:00
Alessandro Pasotti
fc9ba85efa Sipify 2019-11-12 12:22:18 +01:00
Matthias Kuhn
88bb33e2a2
Merge pull request #32778 from nyalldawson/grass78
[processing] Support grass version 7.8
2019-11-11 17:51:07 +01:00
Alessandro Pasotti
f5e4a7c535 Removed unused and unuseful method + typo 2019-11-11 13:54:52 +01:00
Alessandro Pasotti
7ab8f73092 Server OAPIF transactions: POST
Fix attributes and geometry transformation.
2019-11-11 13:54:52 +01:00
Alessandro Pasotti
814d5be0ff Server WFS3 simple transactions
Preliminary specs:
https://github.com/opengeospatial/ogcapi-features/blob/master/extensions/transactions/TX_Notes.adoc
2019-11-11 13:53:32 +01:00
Matthias Kuhn
ce50f11048 Dox and fixes 2019-11-11 09:30:38 +01:00
Nyall Dawson
8d6101cdc7 [processing] Support grass version 7.8 2019-11-11 18:11:15 +10:00
Nyall Dawson
06f36ddbe6 Cleanup duplicate code and add tests for graduated range resolving 2019-11-11 17:51:49 +10:00
Matthias Kuhn
6374f02e93 Decouple DXF rendering from the layers
This makes it possible to run dxf exports in a thread.
2019-11-11 08:44:41 +01:00
Matthias Kuhn
00efcbf91f QgsDxfExport should not be copied 2019-11-11 08:44:41 +01:00
Nyall Dawson
5eeba90341 Update sip, fix use of old style enum 2019-11-11 17:17:22 +10:00
root676
d159014179 fix bugs in fuzzify() methods and create processing tests 2019-11-11 05:26:02 +10:00
Matthias Kuhn
be121984bf Apparently sip doesn't like double QObject inheritance
If a list of objects (QList<QgsMapCanvasItem *>) is converted to a list of python objects, sip fails if items inherit from QObject.
Fix #32700
2019-11-11 04:12:47 +10:00
Matthias Kuhn
cb688cbbcc Revert "Remove SIP convert to subclass code for QgsRubberBand and QgsVertexMarker"
This reverts commit 4b014e6e84093fc59ce9ee085657161b56be189c.
2019-11-11 04:12:47 +10:00
Nyall Dawson
6b82917715 [processing] Refine behavior of "Use filename as layer name" option to
always avoid using temporary file names, and then set this option as
enabled by default.

Also change the setting key so that existing users will also get the new
default value.

Fixes #32591
2019-11-09 20:07:55 +10:00
Alessandro Pasotti
8edfcf1d02
Merge pull request #32736 from elpaso/server-wfs3-schema
Server OAPIF: expose XML schema for collections
2019-11-09 07:48:57 +01:00