Matthias Kuhn
4fecc2e90a
Code cleanup
2018-08-23 14:48:26 +02:00
Matthias Kuhn
750f63fb6f
Adjust representation of arrays and maps in expressions
...
array representation:
```
array: [ 1, 2, 3 ]
```
before:
```
array: 1, 2, 3
```
map representation:
```
map: { one: 1, two: 2, three: 3 }
```
before
```
map: one: 1, two: 2, three: 3
```
2018-08-23 14:46:41 +02:00
Matthias Kuhn
0b96fd9246
Merge pull request #7691 from asiersarasua/master
...
[i18n] Make string translatable
2018-08-23 14:16:33 +02:00
Nyall Dawson
de30dc981d
Named variables for array_foreach
2018-08-23 21:15:32 +10:00
Nyall Dawson
bb4699e2ea
More code tweaks
2018-08-23 21:15:32 +10:00
Nyall Dawson
89cd7858e5
Used named parameters for with_variable function
2018-08-23 21:15:32 +10:00
Nyall Dawson
34bb08c156
Minor performance tweak
2018-08-23 21:15:32 +10:00
Nyall Dawson
c7eafc63c2
Fix potential crash when preparing with_variable and no context is set
2018-08-23 21:15:32 +10:00
assar
9bf7c9ec14
[i18n] Make string translatable
2018-08-23 13:05:27 +02:00
Mathieu Pellerin
6196fd3753
[vector writer] Return actual layer name used
...
This is needed as some OGR drivers will modify the provided layer name
(e.g. the KML driver replaces dashes with underscores).
2018-08-23 15:02:28 +07:00
Alessandro Pasotti
64e817482a
Merge pull request #7680 from elpaso/bugfix-19651-load-style-from-qml
...
Load style from QML when provider supports stored styles
2018-08-23 08:05:04 +02:00
Etienne Trimaille
0a20621191
[FEATURE] add foreach expression for arrays
2018-08-23 12:32:32 +10:00
Nyall Dawson
2d5499bfd1
[layouts] Default to more modern scalebar settings
...
Use 2 segments/0 left segments by default
2018-08-23 06:39:32 +10:00
Nyall Dawson
8c5938a967
[layouts] Add search filter box to 'add layer to legend' dialog
...
Helps with finding specific layers in large projects
2018-08-23 06:39:12 +10:00
Nyall Dawson
16b58b97f6
Unit tests for QgsMapLayerProxyModel
2018-08-23 06:39:12 +10:00
Nyall Dawson
51a63b98fb
Allow QgsMapLayerProxyModel to be filtered by string
2018-08-23 06:39:12 +10:00
Nyall Dawson
5582a57918
[layouts] Sort layers by name in 'add layer' to legend dialog
...
Because it's hard to find specific layers when the layers are
listed in project order
2018-08-23 06:39:12 +10:00
Denis Rouzaud
ea2ab53482
fix QgsGeometry API doc for 3.x for get/set methods
2018-08-23 06:38:58 +10:00
Juergen E. Fischer
a3cc83a399
fix translation string (followup 9d5d49eb6)
2018-08-22 21:16:22 +02:00
Juergen E. Fischer
6b5d645440
fix b37832ab1
2018-08-22 20:33:53 +02:00
Denis Rouzaud
2c13e53873
add a Q_PROPERTY for geometry in QgsFeature ( #7682 )
2018-08-22 14:36:04 +03:00
nirvn
9d5d49eb6f
address @jef-n 's comment
2018-08-22 17:48:07 +07:00
nirvn
1531c52802
[ui] add an horizontal mode for tile scale panel
2018-08-22 17:48:07 +07:00
nirvn
560164debe
[ui] Add tooltip when changing slider value in tile scale panel
2018-08-22 17:48:07 +07:00
Juergen E. Fischer
b37832ab1e
debian packaging: disable 3D on cosmic
2018-08-22 10:44:49 +02:00
Juergen E. Fischer
1cc1f16501
Fix translation string
...
(caused "tx ERROR: Error received from server: Qt Linguist variants are
not yet supported." on vanish)
2018-08-22 10:40:23 +02:00
Alessandro Pasotti
f68de973ea
Load style from QML when provider supports stored styles
...
Fixes #19651 - Style loading issue
2018-08-22 10:24:23 +02:00
Alessandro Pasotti
6fba9b0b6d
Merge pull request #7674 from elpaso/bugfix-19611-ogr-overwrite-gpkg
...
[bugfix] Vector file writer: also check for layername before giving up
2018-08-22 10:12:43 +02:00
Alessandro Pasotti
fbfb0bc8a5
Fix test
2018-08-22 09:40:46 +02:00
Alessandro Pasotti
2da1d6f6ba
Also get src path from details.providerUriParams
2018-08-22 09:24:42 +02:00
Alessandro Pasotti
f4daa8cb60
Added providerUriParams to QgsVectorFileWriter::PreparedWriterDetails
...
Also added a test for the uri parsing
2018-08-22 08:59:48 +02:00
Denis Rouzaud
66dd6768ef
add notifications on mac ( #7673 )
2018-08-22 08:29:12 +03:00
Nyall Dawson
05fb0f4350
Fix windows build
2018-08-22 09:59:51 +10:00
Nyall Dawson
0d1a9819d4
Add qFloor, qCeil, qSqrt to banned keywords
2018-08-22 06:39:28 +10:00
Etienne Trimaille
5bc848c057
add map_layers variable for MapLayoutItem
2018-08-22 05:16:04 +10:00
Alessandro Pasotti
abc96ce291
[bugfix] Vector file writer: also check for layername before giving up
...
while (over)writing gpkg &C from vector file writer
With tests
Fixes #19611 - Cannot save selected features back to the same GeoPackage
2018-08-21 19:32:00 +02:00
Matthias Kuhn
b6251d235f
Merge pull request #7647 from m-kuhn/geomCheckerCodingConventions
...
Geometry checker code adjustments
2018-08-21 16:33:07 +02:00
Stéphane Brunner
bc6ea8cb86
Merge pull request #7669 from sbrunner/wfs-namespace
...
Add tests on WFS GetFeature with right namespace
2018-08-21 16:09:02 +02:00
Matthias Kuhn
50acde03be
Merge branch 'master' into geomCheckerCodingConventions
2018-08-21 14:41:12 +02:00
Matthias Kuhn
c0032f1c62
Fix build for Android
...
Followup 07c80b82815
2018-08-21 14:22:13 +02:00
Martin Dobias
eb220ed8f9
std::ceil instead of qCeil
2018-08-21 12:59:47 +02:00
Martin Dobias
2e56fadcd1
Add 3D map print layout item
...
So far this is just support in the layout framework, not yet exposed to the GUI.
2018-08-21 12:59:47 +02:00
Stéphane Brunner
eab6440d96
Add tests on WFS GetFeature with right namespace
2018-08-21 11:18:33 +02:00
Nyall Dawson
9fbef832c9
[processing] Also standardise names for Spatialite algorithms
2018-08-21 16:00:18 +10:00
Nyall Dawson
5fab46f41c
[processing][needs-docs] Refine names for 'Import into PostGIS' algs
...
Renames the existing algorithms for clarity and consistency
to the format 'Export to PostgreSQL...'. Add tags so that they
still show when searching for the old names, and add descriptions
to make their use more obvious from the toolbox.
Fixes #19658
2018-08-21 16:00:18 +10:00
Nyall Dawson
a7bf4f1b99
[processing][needs-docs] Rename "Save Selected Features"
...
to "Extract selected features"
Adds consistency with other extraction algorithms, and fixes
inconsistent capitalization
Fixes #19656
2018-08-21 15:10:02 +10:00
Nyall Dawson
5241ff3c22
[processing] Fix creation of new layers doesn't default output folder
...
Fixes #19637
2018-08-21 15:09:37 +10:00
Nyall Dawson
8f3ac4506b
[processing] Remove some unused configuration settings
2018-08-21 15:09:37 +10:00
Nyall Dawson
16503b38b2
[processing] Add unit test for gdalinfo algorithm
2018-08-21 14:28:42 +10:00
Nyall Dawson
d0a705fad0
[processing][gdal] Fix ogrinfo algorithm fails when path name has spaces
...
Fixes #19655
2018-08-21 14:28:42 +10:00