53736 Commits

Author SHA1 Message Date
Alessandro Pasotti
4c8280a5f8 Moved comment 2019-02-20 10:10:40 +01:00
Alessandro Pasotti
443d860061 Revert "Update src/core/qgsvectorlayerutils.cpp"
This reverts commit f4d7e73a545dcf2604b93f55f5b0030a5a29440a.
2019-02-20 08:42:17 +01:00
Matthias Kuhn
f4d7e73a54
Update src/core/qgsvectorlayerutils.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-02-20 08:24:36 +01:00
Alessandro Pasotti
d239ea2df9 Fix unique values when generating a set of features 2019-02-19 19:04:48 +01:00
Alessandro Pasotti
11c9ce0c8d Revert QStringLiteral 2019-02-19 15:40:36 +01:00
Matthias Kuhn
7e008b25df
Update src/providers/ogr/qgsogrprovider.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-02-19 15:36:39 +01:00
Matthias Kuhn
adba08c8fa
Update src/providers/ogr/qgsogrprovider.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-02-19 15:33:07 +01:00
Alessandro Pasotti
f454827397 Explain why the workaround for GPKG/SQLite is necessary
I've talked to Even for this one
2019-02-19 15:26:32 +01:00
Alessandro Pasotti
5d7a7ac973 Fix unique values on SQLite (OGR) pk 2019-02-19 14:56:10 +01:00
Alessandro Pasotti
818611cc79 Fix renamed QgsVectorLayerUtils.QgsFeatureData 2019-02-19 14:55:55 +01:00
Alessandro Pasotti
1689c9364b Fix unique values on GPKG pk
Fixes #21311
2019-02-19 14:48:10 +01:00
Alessandro Pasotti
7fa9bc1657 Typo 2019-02-19 14:46:41 +01:00
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