3865 Commits

Author SHA1 Message Date
Martin Dobias
7e34beec8c New API for traversal of geometry's vertices using iterator pattern
Introducing:
1. STL-style iterator: QgsAbstractGeometry::vertex_iterator
2. Java-style iterator: QgsVertexIterator (built on top of STL-style)

The iterators are modeled after Qt's STL-style and Java-style iterators,
the idea is to replace nextVertex() method and later introduce iterators
for other bits (e.g. part_iterator, ring_iterator).
2017-10-14 13:23:14 +02:00
Nyall Dawson
947b0cc49e Safer memory management in geos
Also speed up avoid intersections by removing unnecessary geometry
cloning
2017-10-13 19:55:57 +10:00
Nyall Dawson
c3fdaa950d Some safer memory management for geos 2017-10-13 19:54:00 +10:00
Nyall Dawson
b922166d6e Rework internal geometry memory management
Use unique_ptrs wherever possible, and cleanup geometry
detachments
2017-10-13 19:18:55 +10:00
Nyall Dawson
9a3b547d33 Merge pull request #5330 from nyalldawson/layout_next
[layouts] Port group handling
2017-10-13 13:02:44 +10:00
Nyall Dawson
b5197c8c53 Port drop geometries to c++ 2017-10-13 08:29:37 +10:00
Nyall Dawson
2951afa324 Port boundary algorithm to c++
Also allow feature based algorithms to customise their appectable
input layers types and set suitable filters for all applicable
algorithms
2017-10-13 08:28:34 +10:00
Alexander Bruy
d97a51b532 Merge pull request #5243 from alexbruy/processing-gdal
[processing] restore GDAL algorithms
2017-10-12 08:00:20 +03:00
Nyall Dawson
0028486a96 Merge pull request #5185 from nyalldawson/materialize
QgsFeatureSource::materialize experiment
2017-10-12 13:58:44 +10:00
Etienne Trimaille
098611c3f6 add helper to build a QgsRectangle from a WKT string 2017-10-12 06:32:02 +10:00
Alexander Bruy
2104b273af [processing][API]introduce QgsProcessingOutputFile output and fix gdal2xyz test 2017-10-11 17:06:11 +03:00
Martin Dobias
863197f095 Code layout fixes after rebase 2017-10-10 12:22:17 +02:00
Martin Dobias
b140b29718 [FEATURE] Tracing with optional offset
Tracing button in the snapping toolbar gets extra menu where it is possible to set
offset that will be applied to the traced line. Offset value can be either positive
(right side) or negative (left side).
2017-10-10 10:50:27 +02:00
Blottiere Paul
a9a2c200e3 Search schemaExtension.xsd in share directory 2017-10-10 08:02:33 +01:00
Nyall Dawson
8fb2c3cf6e Fix doxygen test 2017-10-10 06:33:32 +10:00
Nyall Dawson
02acbb4184 Fix undo/redo for groups 2017-10-09 19:23:46 +10:00
Nyall Dawson
e17b32c6e2 Fix moving/resizing grouped items 2017-10-09 19:23:46 +10:00
Nyall Dawson
606ad21a51 Port group actions from composer 2017-10-09 19:23:46 +10:00
Nyall Dawson
5aa9a1556f Start porting group handling from composer 2017-10-09 19:23:46 +10:00
Matthias Kuhn
6b418decd6 Spelling: use vertices rather than vertexes
... because that's what's used almost consistently throughout the codebase.
2017-10-09 10:13:13 +02:00
Blottiere Paul
ac66ced1c3 Merge pull request #5086 from pblottiere/pr_auxiliary_storage
[Feature] Auxiliary Storage
2017-10-09 08:58:21 +01:00
Denis Rouzaud
6e14854f90 [sipify] remove redundant private sections 2017-10-09 09:51:40 +02:00
Blottiere Paul
9bbd0eacd1 Update sip binding 2017-10-09 07:32:12 +01:00
Blottiere Paul
67cff3ddd7 Auxiliary fields are linked to data defined for all subproviders 2017-10-09 05:39:22 +01:00
Blottiere Paul
9fd80f9b40 Check if join information is for auxiliary layer when filtering 2017-10-09 05:39:22 +01:00
Blottiere Paul
cbd7973035 Expand documentation 2017-10-09 05:13:59 +01:00
Blottiere Paul
328eabfbc1 Update sip binding 2017-10-09 05:13:59 +01:00
Blottiere Paul
3f8ae8b225 Some minor refactoring 2017-10-09 05:13:59 +01:00
Blottiere Paul
7483c6e95f Remove QgsAuxiliaryField class 2017-10-09 05:13:59 +01:00
Blottiere Paul
fc0ebb783d Allow user to create its own auxiliary field 2017-10-09 05:13:59 +01:00
Blottiere Paul
4e10a11a47 Add a custom name for symbol layers in property definition 2017-10-09 05:13:59 +01:00
Blottiere Paul
4fa3400981 Properly update layer settings when an auxiliary field is deleted 2017-10-09 05:13:59 +01:00
Blottiere Paul
e14c5a248b Update documentation and sip binding 2017-10-09 05:13:59 +01:00
Blottiere Paul
97ee342e1c Set editor widget setup to Hidden 2017-10-09 05:13:59 +01:00
Blottiere Paul
baa2b968bc Auxiliary data is cloned too 2017-10-09 05:13:59 +01:00
Blottiere Paul
34ac1ecbc6 Automatically update the editor widget setup according to the standard template of the property newly created 2017-10-09 05:13:59 +01:00
Blottiere Paul
821aadc400 Hide auxiliary columns which can be edited by "change label properties" map tool 2017-10-09 05:13:59 +01:00
Blottiere Paul
df021570a4 Auxiliary fields for symbol layers 2017-10-09 05:13:59 +01:00
Blottiere Paul
609249db27 Change label maptool is always available and underlying properties are created 2017-10-09 05:13:59 +01:00
Blottiere Paul
5b278d746e Move/rotate/hide/pin map tools are always available 2017-10-09 05:13:59 +01:00
Blottiere Paul
ad1e15808f Remove default value for origin of property 2017-10-09 05:01:35 +01:00
Blottiere Paul
ba9a84f343 Rename name method to nameFromProperty 2017-10-09 05:01:35 +01:00
Blottiere Paul
e05e920ec4 Add explicit keyword 2017-10-09 05:01:35 +01:00
Blottiere Paul
4920a14aab Move isAuxiliaryField to QgsVectorLayer 2017-10-09 05:01:35 +01:00
Blottiere Paul
ceb3dd7f5f Fix documentation 2017-10-09 05:01:35 +01:00
Blottiere Paul
fcdf20df95 Origin in QgsProperty is a string and pal is replaced by labeling 2017-10-09 05:01:35 +01:00
Blottiere Paul
88e8eb4fd7 Update sip binding 2017-10-09 05:01:35 +01:00
Blottiere Paul
191f2a7efc Expand documentation for QgsAuxiliaryLayer class 2017-10-09 05:01:35 +01:00
Blottiere Paul
ae09135926 Expand documentation for QgsAuxiliaryStorage constructors 2017-10-09 05:01:35 +01:00
Blottiere Paul
fa4a426893 Update documentation and sip binding 2017-10-09 05:01:34 +01:00