16155 Commits

Author SHA1 Message Date
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
Alexander Bruy
9ab06a2481
Merge pull request #32626 from alexbruy/service-area
[processing] port service area algorithms to C++
2019-11-09 08:25:51 +02:00
Nyall Dawson
4b014e6e84 Remove SIP convert to subclass code for QgsRubberBand and QgsVertexMarker
These conversions just crash sip (woo. sip. yay. good times.). I can't find
any alternative approach which avoids this crash, so just remove the cast
to avoid the crash.

Fixes #32700
2019-11-09 13:43:37 +10:00
Nyall Dawson
377848e2ad Add QgsMapLayer::isTemporary to test whether a map layer is temporary
These include memory layer provider layers, or layers physically
stored inside a user's temporary folder (e.g. /tmp)
2019-11-09 13:43:03 +10:00
lbartoletti
9e30319be7 [BUGFIX] Fix an hardcoded 'gpkg' extension in ProcessingConfig.py 2019-11-09 13:35:04 +10:00
Alessandro Pasotti
cadb7916b5 Server OAPIF: expose XML schema for collections
Also make sure links to parent paths end with /
2019-11-08 14:40:44 +01:00
Alexander Bruy
0799e3b58f cleanup Python remainings 2019-11-08 12:13:31 +02:00
Alexander Bruy
020980d3b1 address comments 2019-11-08 11:04:05 +02:00
Juergen E. Fischer
b830a4a448 qgsfunction: replace deprecated inspect.getargspec() to inspect.getfullargspec() 2019-11-07 22:47:08 +01:00
Denis Rouzaud
5ec6a98826
Merge pull request #32705 from 3nids/fix_include
remove relative include
2019-11-07 22:09:51 +01:00
Matthias Kuhn
e5df863302
Merge pull request #32629 from m-kuhn/dxf_hali_vali
[dxf] HAlign/VAlign support for TEXT
2019-11-07 16:37:06 +01:00
Denis Rouzaud
16ca39ce21 fix sip 2019-11-07 10:01:26 +01:00
Hugo Mercier
845894b313
[FEATURE] Selective masking (#30747)
* [FEATURE] Selective masking

Advanced rendering feature that allows the definition of 'masks' areas around labels or with a new typ of symbol layer. These masks will "un-draw" symbol layers of other layers underneath.
It modifies the rendering process by adding an optional second pass.
2019-11-07 08:17:25 +01:00
Alessandro Pasotti
2efc6167dd
Merge pull request #32684 from elpaso/dbmanager-postgis12-consrc-conbin-adscr-adbin
Fix postgis 12 adscr -> adbin consrc -> conbin
2019-11-06 19:09:51 +01:00
signedav
c1f2d439cf
Merge pull request #32665 from m-kuhn/fix_qgsfield_private_header
Fix various private header
2019-11-06 15:40:48 +00:00
Alessandro Pasotti
6c9f01e28d Fix postgis 12 adscr -> adbin consrc -> conbin 2019-11-06 12:53:52 +01:00
Denis Rouzaud
5910a7b9f1
Be more QML friendly (#32652)
* add Q_ENUM for QgsGeometry::OperationResult

* QgsVectorLayer::startEditing, commitChanges and editBuffer Q_INVOKABLE

* Fix indentation

* fix sip
2019-11-06 07:36:58 +01:00
Alexander Bruy
edc70b52fc drop obsolete entries from the yaml 2019-11-06 08:30:34 +02:00
Alexander Bruy
9995e07e74 remove Python versions of algorithms 2019-11-06 08:30:01 +02:00
Alexander Bruy
6b3af0f8d1 update tests for service area algorithms 2019-11-06 08:28:51 +02:00
Alexander Bruy
26c90c8ece [processing] port service area (from layer) alg to c++ 2019-11-06 08:12:18 +02:00