Alessandro Pasotti
348e6837ac
Fix docs for createFeatures
2019-02-19 11:17:48 +01:00
Alessandro Pasotti
490c1fedfb
Rename QgsFeaturesData to QgsFeatureData and fix test case
2019-02-19 10:51:53 +01:00
Alessandro Pasotti
ba3d9ed066
Cache unique values when creating features
...
Fixes #21305 - pasting features is very slow
Aggressively optimize createFeature for speed
and introduces createFeatures for bulk creation.
2019-02-19 10:02:17 +01:00
Alessandro Pasotti
f2e745ebdb
Cache unique values in createFeature (~10x faster)
2019-02-19 08:26:54 +01:00
Alessandro Pasotti
377040a2a6
Merge pull request #9191 from elpaso/bugfix-21259-geomchecker-crash
...
Geom checker plugin: don't crash if feedback is 0x0
2019-02-18 14:15:26 +01:00
Alessandro Pasotti
1f08a061ed
Geom checker plugin: don't crash if feedback is 0x0
...
Fixes #21259
2019-02-18 12:18:58 +01:00
Juergen E. Fischer
13a127e609
remove QgsOgrLayerItem::setCrs (overrided deprecated now unused method)
2019-02-18 11:21:24 +01:00
Juergen E. Fischer
f8e76db19a
translate all ziputils error messages and remove log tags
2019-02-18 11:21:24 +01:00
Matthias Kuhn
9efe4c5f1c
Merge pull request #9174 from pmav99/master
...
Add support for GRASS 76 on Mac
2019-02-18 11:20:07 +01:00
Matthias Kuhn
78d835705e
Merge pull request #9177 from mbernasocchi/master
...
Give more information when errors opening zip happens
2019-02-18 10:16:59 +01:00
Nyall Dawson
5ced04e400
[ogr] Read Geopackage layer identifier and description into QGIS
...
layer metadata automatically
Fixes #21293
2019-02-18 17:56:01 +10:00
Marco Bernasocchi
a643c87ec3
Fix capitalsation
2019-02-18 07:39:56 +01:00
Matthias Kuhn
b711ef01f8
Merge pull request #9184 from cjmayo/xmlpatterns
...
Remove unused Qt5XmlPatterns dependency
2019-02-17 16:35:34 +01:00
Chris Mayo
fb798263b2
Remove unused Qt5XmlPatterns dependency
...
QtXmlPatterns includes were deleted here:
2eb82430bb
Remove code that was never enabled, introduced here:
0f7b405aa7
2019-02-16 20:01:15 +00:00
Alessandro Pasotti
6b7ba0d438
Merge pull request #9179 from elpaso/server-tiny-improvements
...
Server tiny improvements
2019-02-16 08:25:17 +01:00
Alessandro Pasotti
2c25c3d0ec
Merge pull request #9181 from elpaso/bugfix-21287-rule-based-double-else2
...
Rule based renderer: check for scale in rulesForFeature
2019-02-16 08:24:53 +01:00
Juergen E. Fischer
407adc761e
Expand ZipItem in foreground ( fixes #21268 )
2019-02-15 23:24:16 +01:00
Alessandro Pasotti
091eeb2cf4
Rule based renderer: check for scale in rulesForFeature
...
... when context is not nullptr, also don't crash if it is
With tests
Fixes #21287
2019-02-15 17:12:51 +01:00
Alessandro Pasotti
53a14e2402
Server: better formatting when logging request params
2019-02-15 12:10:24 +01:00
Alessandro Pasotti
6a81d2daca
Remove server unused/unimplemented option Allow Request Defined DataSources
2019-02-15 12:09:14 +01:00
Luigi Pirelli
7980cef192
Merge pull request #9176 from tudorbarascu/allow_localstorage
...
Enable HTML5 local storage for qgsexternalresourcewidget and maptips
2019-02-15 10:26:37 +01:00
Nyall Dawson
71bdc3192d
Fix pasting linestring into polygon layer should auto convert to polygon
...
(And polygon->lines, lines->points, polygon->points, etc)
Fixes #21213
2019-02-15 16:24:56 +10:00
Hugo Mercier
9ed5b3f874
Merge pull request #9063 from mhugo/fix_19355
...
Fix $length in labels
2019-02-14 14:34:13 +01:00
Hugo Mercier
e4288e5dea
QgsExpression: set setGeomCalculator precedence
...
setGeomCalculator, setDistanceUnits and setAreaUnits have now
precedence over expression scopes.
2019-02-14 13:40:12 +01:00
Hugo Mercier
ee980ca06f
Fix QgsExpressionNodeColumnRef::prepareNode
...
Look also for the attribute in the feature, as it is done by evalNode()
2019-02-14 13:40:12 +01:00
Hugo Mercier
809196693c
Fix $length in labels ( fixes #19355 )
...
Use the project expression scope to access project
parameters (ellipsoid and distance/area units)
2019-02-14 13:40:12 +01:00
Marco Bernasocchi
af4ee04f74
Give more information when errors opening zip happens
2019-02-14 13:14:10 +01:00
Alessandro Pasotti
24c09d1673
Merge pull request #9170 from elpaso/bugfix-21254-load-style-from-db
...
[ogr] Show style description instead of name in other styles
2019-02-14 08:25:40 +01:00
Tudor Bărăscu
65a54fed06
Enable html5 local storage for qgsexternalresourcewidget and maptips
2019-02-14 07:46:47 +02:00
Nyall Dawson
7418c189d0
[processing] Also generate friendly names for outputs when converting models to scripts
2019-02-14 15:36:55 +10:00
Nyall Dawson
d342ce939b
[processing] When converting models to Python, use friendlier (more
...
descriptive) names when storing child algorithm results
Makes for much easier to understand scripts
2019-02-14 15:36:55 +10:00
Nyall Dawson
3ceea2a050
[processing] Add alg descriptions as comments when converting models to python
...
Makes for easier to understand scripts
2019-02-14 15:36:55 +10:00
Panos Mavrogiorgos
5c97d22b16
[grass7] Add support for GRASS 76 on Mac too.
...
This is a continuation of 8db3dead87e385f2798356d1c3048d2b7df73efd
2019-02-14 00:32:10 +02:00
Alessandro Pasotti
62111b9993
Fix test
2019-02-13 18:28:46 +01:00
Alessandro Pasotti
dabd649a6d
Merge pull request #9164 from elpaso/bugfix-21227-layer-rename-styles
...
Fix GPKG layer rename styles in browser
2019-02-13 16:24:50 +01:00
Alessandro Pasotti
767fc059b2
Remember last used source in load styles dialog
...
... just a tiny UX improvement
2019-02-13 15:11:25 +01:00
Alessandro Pasotti
3e041b3a30
[ogr] Show style description instead of name in other styles
...
Fixes #21254
2019-02-13 15:09:20 +01:00
Alessandro Pasotti
8639bcf853
[db-manager] Use QgsDataItem implementation for GPKG layer rename
...
- Removes code duplication
- Uses a tested and robust implementation (from OGR)
- Takes care of renaming QGIS styles
- Updates the information view in the plugin
Fixes #21227
2019-02-13 12:49:55 +01:00
vsklencar
88afe7515a
Some changes of widgets after review:
...
PhotoPanel: added focus
TextEdit: Fixed references for edit widget and removed redundant empty lines and properties, removed textWrap property for single line edit
ExternalRersources: Revert back to use one image for icons and previewPhoto with better handling
DateTime: fixed typos
2019-02-13 10:50:05 +01:00
vsklencar
78639f0323
[QgsQuick] Feature form improvements
...
Changes are related to following widgets used in the FeatureForm:
Checkbox:
* fixed old import of QgsQuick
* changed indicator of a checkbox to be able to apply styles
DateTime:
* fixed wrong behaviour of the widget if a value is undefined
* replaced label with textfield with formatting options (ported from QField)
ExternalResources:
* fixed pixalation of icons
* added new icon without alternative border to be able to put color overlay on it
* fixed broken layout of icons
ValueMap
* updated way how to read option values from field config/setup (ported from QField, related to changes of the field config since QGIS 3.x)
TextEdit:
* Unified styling of the widgets - added some padding, changed background, height
Fields style added to QgsFeatureFormStyle
Added "fields" style object to customize some properties (e.g color, height, radius) of editor widgets. Due to new style options also widgets have been updated.
2019-02-13 10:50:05 +01:00
Nyall Dawson
fc8fd1e26b
[processing] When converting models to python, correctly use a
...
multi-step feedback object to give scripts accurate progress reports
And also add in checks for cancelation between child algorithm
execution to allow generated scripts to early exit
2019-02-13 19:17:30 +10:00
nirvn
1e431f20b2
[themes] Add minimum width for QPushButton widgets (fix tiny raster calc. buttons)
2019-02-13 12:55:37 +07:00
Nyall Dawson
76b7bcef96
Try to fix astyle errors
2019-02-13 08:47:32 +10:00
Nyall Dawson
493185c6a0
Astyle
2019-02-13 07:59:30 +10:00
Nyall Dawson
85b5167730
Fix build
2019-02-13 07:59:30 +10:00
Nyall Dawson
29fa7b6e7b
Fix build, indentation
2019-02-13 07:59:30 +10:00
Nyall Dawson
6648a955bc
Fix test
2019-02-13 07:59:30 +10:00
Nyall Dawson
69f45e389c
Refactor QgsExpressionContext and move QgsExpressionContextUtils
...
out to its own header
Avoids slow recompilation caused by changes to the frequently
modified QgsExpressionContextUtils class
2019-02-13 07:59:30 +10:00
Nyall Dawson
d281c8aef5
Fix build
2019-02-13 07:59:30 +10:00
Nyall Dawson
60a1d6306f
Fix some missing expression context variables in processing expression based widgets
2019-02-13 07:59:30 +10:00