Nyall Dawson
49432a8468
Optimise QgsAbstractGeometry
...
Make nCoordinates virtual, and provide shortcuts for some
geometry types. The base method which calls coordinateSequence()
is quite slow in certain circumstances.
Speeds up rendering point layers by ~25%, also likely to
speed up lots of geometry heavy operations throughout QGIS
Refs #15752
2016-10-26 17:22:09 +10:00
Alexander Bruy
323c6582c6
[processing] add workaround for GDAL regression with cutlines ( fix #15746 )
2016-10-25 17:48:19 +03:00
Even Rouault
d0da880b8c
[DB Manager] Fix refresh issue when renaming GPKG table, and disable add geometry column button if already one existing
2016-10-25 15:39:27 +02:00
Even Rouault
e237963274
SIP QgsVectorLayer: fix signatures for output parameter
...
saveStyleToDatabase() and getStyleFromDatabase() should define errMsg as
output parameter
And loadNamedStyle() also for theResultFlag.
2016-10-25 10:28:53 +02:00
Paolo Cavallini
7470b55bbd
Enable CROP_TO_CUTLINE by default
...
Fixes https://hub.qgis.org/issues/15750
Please backport it where appropriate.
2016-10-25 08:57:31 +02:00
Even Rouault
794c8f3c85
[DB_Manager GPKG] Fix creating and changing default values of columns
2016-10-24 17:41:49 +02:00
Even Rouault
f84826d58d
[DB_Manager GPKG] Fix logic inversion in GDAL 1.X vs GDAL 2.X cases
2016-10-24 17:01:58 +02:00
Even Rouault
af236c4ef8
Merge pull request #3628 from rouault/dbmanager_gpkg
...
[DBManager] Add dedicated GeoPackage plugin
2016-10-24 10:33:03 +02:00
Alexander Bruy
72229c1c2b
Merge pull request #3658 from nirvn/processing_modeler_mousewheel
...
[processing] fix modeleter mouse wheel zoom under qt5
2016-10-24 10:17:32 +03:00
Nyall Dawson
f6a344c2c1
Add QgsTextFormatPanelWidget for text format control inside panel
2016-10-24 12:02:00 +10:00
Nyall Dawson
8fa8167d7b
Add a simple dialog for configuring text formatting
2016-10-24 12:02:00 +10:00
Nyall Dawson
76c12ba94c
Split QgsLabelingGui off into QgsTextFormatWidget
...
New widget allows for setting just the formatting properties
of text
2016-10-24 12:02:00 +10:00
Nyall Dawson
0b88de2487
New widget QgsTextPreview for previewing all formatting for QgsTextRenderer
...
Switch the labeling gui to use this widget, which has the benefits:
- previews all label settings, including shadow and background
- previews at a specified scale, so that any sizes using map units
will be correct
2016-10-24 12:02:00 +10:00
Nyall Dawson
08143475ed
[FEATURE] QgsTextRenderer class for rich text rendering
...
Moves all the drawing code out of labeling into a new class
which just handles rendering text. This allows other parts
of the code to utilise all the advanced formatting options
that labeling supports, eg rendering text with shadows,
buffers and backgrounds.
2016-10-24 12:02:00 +10:00
Nyall Dawson
5495f20589
Minor refactor of label drawing
...
Remove use of scale factors from PAL layer settings and use
render context factors directly
2016-10-24 12:02:00 +10:00
Nyall Dawson
aac2622816
Remove option to show label shadow rectangles from GUI
...
...and instead just make it #ifdef out
2016-10-24 12:02:00 +10:00
Nyall Dawson
4d5e7536d9
Flip QgsPalLayerSettings to use QgsTextRenderer classes
2016-10-24 12:02:00 +10:00
Nyall Dawson
5f241d6288
Implicitly shared text settings classes
2016-10-24 12:02:00 +10:00
Nyall Dawson
687c66f5d6
Add Points as valid render unit (for font sizes)
2016-10-24 12:02:00 +10:00
Nyall Dawson
796711031b
Merge pull request #3663 from nyalldawson/clazy3
...
Clazy qt5 optimisations - round 2
2016-10-24 11:59:54 +10:00
Nyall Dawson
5eb875d63b
[processing] Add algorithm to strip null geometries
2016-10-24 11:24:37 +10:00
Nyall Dawson
44289084e9
Optimise passing of variables by ref/value
2016-10-24 10:36:23 +10:00
Nyall Dawson
3272964f58
Fix classes which violate the rule-of-three
...
(identified using clazy analyser)
2016-10-24 10:36:22 +10:00
Nyall Dawson
12a7bb34e8
[processing] Fix qgis zonal stats algorithm
2016-10-24 08:41:16 +10:00
Matthias Kuhn
96a649e37f
Add missing bindings
2016-10-23 21:14:42 +02:00
Matthias Kuhn
54b953f433
Cleanup and modernize QgsProject code
2016-10-23 20:54:41 +02:00
Juergen E. Fischer
28abbf9513
add *.py to .gitattributes
2016-10-23 08:38:36 +02:00
Paolo Cavallini
66b66ed450
Update r.mapcalc.txt
...
Better description of r.mapcalc
2016-10-23 07:42:51 +02:00
Matthias Kuhn
1445647065
QgsVectorDataProvider API cleanup
2016-10-22 23:03:57 +02:00
Nyall Dawson
a3968a29bd
Fix clazy qmap-with-pointer-key warnings
...
From the clazy docs:
Finds cases where you're using QMap<K,T> and K is a pointer.
QMap has the particularity of sorting it's keys, but sorting
by memory address makes no sense. Use QHash instead, which
provides faster lookups.
2016-10-22 22:46:16 +10:00
nirvn
8ee25cdfa8
[processing] fix modeleter mouse wheel zoom under qt5
2016-10-22 12:28:17 +07:00
nirvn
ddc44dfd89
[processing] fix modeler parameter mandatory checkbox logic
2016-10-22 12:01:30 +07:00
Nyall Dawson
a51bebdacc
Fix missing doc warning
2016-10-22 13:19:32 +10:00
Nyall Dawson
3cc9b5d962
Indentation
2016-10-22 09:03:24 +10:00
Bas Couwenberg
85818c684c
Fix copyright in 2017
...
Match copyright header with python code.
2016-10-21 23:14:29 +02:00
Alexander Bruy
bde0f6ee2e
Merge pull request #3650 from nirvn/processing_spatialite_sql
...
[processing] add a "Spatialite execute SQL" algorithm
2016-10-21 15:22:00 +03:00
nirvn
bd7149ce16
[processing] fix broken modeler under pyqt5/python3 ( fixes #15734 )
2016-10-21 10:11:22 +07:00
nirvn
d83e650ae4
[processing] make spatialite connector work with python3
2016-10-21 10:05:03 +07:00
nirvn
772f2019c1
[processing] add a spatialite execute SQL algorithm
2016-10-21 10:05:03 +07:00
Alexander Bruy
89fa21e5fa
[processing] more complete support for int64 fields (follow up 8d2cc8806b)
...
(cherry picked from commit 649d41f1ecd4b8d22110e11cb9e693231bec8ed2)
2016-10-20 21:02:37 +03:00
Germán Carrillo
62a9436178
Using QVariant.Type enum instead of numbers for readability.
...
(cherry picked from commit 6df926dfe6e3e8f7ac330fbb9206dc69492da6ed)
2016-10-20 21:02:37 +03:00
Germán Carrillo
4730d25012
Fixing issue with 'Eliminate sliver polygons' and fields of type long.
...
(cherry picked from commit be25a29da196fac687f95abffb71e34138e3d20c)
2016-10-20 21:02:37 +03:00
Juergen E. Fischer
2013984297
fix translation strings
2016-10-20 18:16:37 +02:00
Matthias Kuhn
85c105d6b0
Move management of avoidIntersectionLayers to QgsProject
2016-10-20 12:56:35 +02:00
Matthias Kuhn
5c919fbcca
Move topological editing setting management fully to QgsProject
2016-10-20 12:56:35 +02:00
Denis Rouzaud
64d3c788f1
Use toolbar or status bar for snapping config
2016-10-20 12:56:35 +02:00
Matthias Kuhn
f3482d2ce2
Rename visibility presets to map themes part 2 ( #3641 )
2016-10-20 12:55:48 +02:00
Matthias Kuhn
bb225f562b
Improve db_manager README
2016-10-20 12:54:54 +02:00
Matthias Kuhn
e0d8db721c
Rename README to README.md
2016-10-20 12:49:56 +02:00
Alexander Bruy
b9c2ab2b74
Merge pull request #3646 from alexbruy/processing-otb-test
...
[processing] add tests for OTB algorithms
2016-10-20 12:30:34 +03:00