Nyall Dawson
daeb3d84f7
Fix newline characters break embedded expressions
...
Fixes #21471
2019-03-05 08:33:10 +10:00
Nyall Dawson
ce5faa1524
[processing] Force regeneration of primary key for more algorithms
...
Fixes #21445
2019-03-05 07:06:30 +10:00
Nyall Dawson
9d509e7f4c
[processing] Fix outdated Find Projection docs
...
Fixes #21404
2019-03-05 07:06:08 +10:00
Matthias Kuhn
bc166cff13
replace double quote with simple quote
...
Co-Authored-By: troopa81 <julien.cabieces@oslandia.com>
2019-03-04 16:46:59 +01:00
Matthias Kuhn
bce12629e4
replace double quote with simple quote
...
Co-Authored-By: troopa81 <julien.cabieces@oslandia.com>
2019-03-04 16:46:45 +01:00
Matthias Kuhn
fb94c9aae9
Fix backport branch filtering
2019-03-04 15:31:03 +01:00
Matthias Kuhn
92a7027a00
Fix backport branch filtering for travis
2019-03-04 15:06:53 +01:00
Denis Rouzaud
7119b747d7
[vertex tool] highlight vertices of locked features when not selected ( #9348 )
2019-03-04 14:26:21 +01:00
backporting[bot]
1f806700d4
Do not run travis on backport branches
2019-03-04 13:29:51 +01:00
AnikaBettge
972e7a474d
Fix default setting for ew_step and ns_step parameter
...
Fix default setting for ew_step and ns_step parameter which must be "none" rather than 1.5 (which leads to wrong default values in GRASS GIS)
2019-03-04 21:00:30 +10:00
Mathieu Pellerin
853d648ec0
[asf] Use a bulletproof where clause to retrieve object IDs
2019-03-04 07:48:55 +07:00
Matthias Kuhn
fd0f4f780e
Merge pull request #9328 from m-kuhn/show-me-the-way-to-the-next-whisky-bar
...
Never assume anything
2019-03-03 23:24:04 +01:00
Matthias Kuhn
b6d4833bca
Merge pull request #9292 from m-kuhn/fix-auth-manager-crash-on-exit
...
Fix auth manager crash on exit
2019-03-03 23:08:26 +01:00
Nyall Dawson
d84b70f04d
[processing] Add acceptable string values to parameter metadata
...
Returns a descriptive list of the possible string values acceptable
for the parameter.
E.g. for a QgsProcessingParameterVectorLayer this may include
"Path to a vector layer", for QgsProcessingParameterBoolean
"1 for true, 0 for false" etc.
2019-03-04 07:57:24 +10:00
Juergen E. Fischer
9b672073fe
fix windows build
2019-03-03 22:22:20 +01:00
Alessandro Pasotti
19d9f1c443
Spelling
2019-03-03 18:43:53 +01:00
Alessandro Pasotti
a3ff4e6961
Added a long comment to the setValue method
...
Also removed leftover unused (renamed) variable
2019-03-03 16:13:58 +01:00
Julien Cabieces
4113505dea
Optimise retrieval of feature from context
2019-03-03 13:44:50 +10:00
Denis Rouzaud
c10e4924ab
remove unused static member ( #9329 )
2019-03-02 20:04:05 -05:00
Matthias Kuhn
82ca2dd873
Never assume anything
...
because when you do, reality will teach you better
2019-03-03 00:25:40 +01:00
Matthias Kuhn
acf0e19f15
Merge pull request #9327 from m-kuhn/fix-warning
...
Silence warning without opencl
2019-03-02 23:44:45 +01:00
Matthias Kuhn
c71a04070f
Fix warning
2019-03-02 23:00:02 +01:00
Matthias Kuhn
953a9aa48e
Indentation fix
2019-03-02 09:56:33 +01:00
Matthias Kuhn
024e8ebfda
Some tests rely on the current dinitialization order
2019-03-02 09:56:04 +01:00
Matthias Kuhn
dcc92de5d0
Merge pull request #9316 from m-kuhn/fix-geometry-validation-crashes
...
[geometry validation] Stability and performance improvements
2019-03-02 09:54:35 +01:00
Matthias Kuhn
77f2b60aa5
Merge pull request #9298 from m-kuhn/is-valid-check-results-deactivate
...
[geometry validation] Allow deactivating is valid checks in an edit session
2019-03-02 09:52:30 +01:00
Matthias Kuhn
22b052da39
Merge pull request #9299 from m-kuhn/geometry-validation-only-report-affected-features
...
[geometry validation] only report affected features
2019-03-02 09:48:37 +01:00
Matthias Kuhn
c2679926b8
Merge pull request #9307 from m-kuhn/avoid-intersection-use-geometry-precision
...
Add topological points on layers with configured precision
2019-03-02 09:48:05 +01:00
Matthias Kuhn
252791e9e1
Merge pull request #9308 from m-kuhn/z-with-duplicate-nodes
...
Take Z values into consideration in avoid duplicate nodes
2019-03-02 09:47:38 +01:00
Matthias Kuhn
ca95220fff
Merge pull request #9321 from m-kuhn/cleanup-qgsvectorlayer-geometrytype
...
Cleanup QgsVectorLayer::geometryType()
2019-03-02 09:47:19 +01:00
Matthias Kuhn
ac78a194df
Merge pull request #9322 from m-kuhn/fix-double-delete
...
[geometry validation] Fix double delete and memory leak
2019-03-02 09:46:55 +01:00
Matthias Kuhn
34684d4505
Merge pull request #9324 from m-kuhn/latin1
...
Use QLatin1String for geometry representation operations
2019-03-02 09:04:04 +01:00
Nyall Dawson
b53d64bfb0
Silence annoying PyQt5.uic.loadUiType deprecation warnings
...
These aren't our fault -- they come from the PyQt library itself,
so we may as well hide them and avoid the noise.
2019-03-02 12:07:46 +10:00
Nyall Dawson
6b1d5ee62c
QStringLiteral
2019-03-02 12:06:59 +10:00
Nyall Dawson
558d5365b5
Add new plugin metadata string to indicate whether a plugin
...
implements Processing providers
Plugins which implement providers should include the
hasProcessingProvider=yes
line within their metadata.txt file. This allows for rapid
identification of all plugins which implement Processing
functionality.
2019-03-02 12:06:59 +10:00
Nyall Dawson
2f82bab1d9
Add Python utils method to start a Processing specific plugin
...
This command adds a plugin to active plugins and calls initProcessing(),
initializing only Processing related components of that plugin.
The new initProcessing() hook should be implemented by plugins
which provide Processing providers or algorithm, and should only
implement code which is required to load the provider and algorithms.
Strictly no GUI related code should be used here, that MUST
be moved out of initializers and deferred to the plugin's
initGui implementation.
2019-03-02 12:06:59 +10:00
Matthias Kuhn
92b7356734
Merge pull request #9323 from m-kuhn/messagebar-cleanup
...
Some cleanup in QgsMessageBar
2019-03-01 23:47:46 +01:00
Matthias Kuhn
3359a7159c
Use QLatin1String for geometry representation operations
2019-03-01 23:29:21 +01:00
Matthias Kuhn
6c6833d1da
Some cleanup in QgsMessageBar
2019-03-01 22:49:58 +01:00
Matthias Kuhn
d1a7e456e3
Properly connect deleters
...
fixes a crash
2019-03-01 22:46:47 +01:00
Matthias Kuhn
bc6a9c5d25
Cleanup QgsVectorLayer::geometryType()
...
The method QgsVectorLayer::wkbType() already uses a member variable which is a copy
of the one on the data provider. By using this, the code becomes simpler and more
consistent.
2019-03-01 22:44:52 +01:00
AnikaBettge
819f275ba4
Fix default setting for gauss parameter
...
Fix default setting for gauss parameter which must be "none" rather than 0 (which leads to empty maps as gauss=0 is unhelpful)
2019-03-02 06:09:04 +10:00
Matthias Kuhn
3efd4a886b
Avoid working on temporary geometries
2019-03-01 17:00:51 +01:00
Alessandro Pasotti
83f286a9e5
Merge pull request #9305 from elpaso/bugfix-21405-raster-calc-wrong-results
...
[opencl] Fix raster calculator operator precedence
2019-03-01 14:30:28 +01:00
Matthias Kuhn
c597ad1e0a
Prepare geometry engine
...
for improved performance
2019-03-01 13:25:00 +01:00
Matthias Kuhn
d313405851
Avoid working on reference to temporary objects
...
fixes a couple of crashes in geometry validation
2019-03-01 13:25:00 +01:00
Martin Dobias
7d832634de
[xyz] Optional scaling of XYZ tile layers
...
This adds "Resolution" configuration flag for XYZ tile layers.
It supports several options:
- unknown (default) - everything works as before
- standard resolution - applies scaling
- high resolution - applies scaling, assumes high-res tiles
If tiles are made for standard resolution (e.g. 96 DPI) then on high res displays (e.g. 192 DPI)
labels and other map features may appear very small if the resolution is not set. When
configured as "standard resolution", map tiles will be picked according to this resolution and
thus on high res displays the tiles will get scaled up. Similarly for print output, tiles will
be scaled up so the printouts will have matching tile resolutions.
The "high resolution" option is for tiles 512x512 aimed towards high-resolution displays.
2019-03-01 10:40:19 +01:00
nirvn
334ae0ca4f
[themes] Restrict QPushButton min-width to raster calculator dialog
2019-03-01 14:20:00 +07:00
Nyall Dawson
dab4a04309
[processing] Draw arrows connected to selected/hovered components
...
slightly darker
Makes it easier to track connections in a complex model
2019-03-01 15:39:49 +10:00
Nyall Dawson
2178e1a71a
[processing] Pre-highlight model components on hover
2019-03-01 15:39:49 +10:00