25957 Commits

Author SHA1 Message Date
Nyall Dawson
6a080bada1 Add some missing type conversions to python bindings 2015-01-21 11:04:38 +11:00
Larry Shaffer
c6a77f6201 Fix #6922, rearrange proxy form to clearly show when system's is used 2015-01-20 17:01:49 -07:00
Nyall Dawson
f0447db733 Add overrides pt 5 2015-01-21 09:52:22 +11:00
Juergen E. Fischer
cfb4b3350a fix warning 2015-01-20 23:20:21 +01:00
Juergen E. Fischer
106358c46c fix windows build 2015-01-20 22:43:30 +01:00
rldhont
df79c2a979 [BUGFIX][QgsGmlSchema] Decode element name
Good practice for the element name is to exclude accents but when GML is
 automatically generated attribut element name can have accent.

It's some time the case with GetFeatureInfo.
2015-01-20 22:20:12 +01:00
Juergen E. Fischer
4786bd15cd osgeo4w: also use Visual C++ 2010 for 32bit 2015-01-20 21:45:52 +01:00
Juergen E. Fischer
bdcbeb19ad fix format_date example (fixes #12016) 2015-01-20 21:17:18 +01:00
Radim Blazek
752f530951 fixed browser add favourite path 2015-01-20 20:26:21 +01:00
Radim Blazek
74e2abd38c reverted partially ba4948e44 (#11871 - browser crash with zipped file) 2015-01-20 19:52:58 +01:00
Radim Blazek
bf22ff5064 browser save/restore state moved to new class QgsBrowserTreeView 2015-01-20 18:46:12 +01:00
mhugent
a2a82d2fe5 Merge pull request #1830 from manisandro/transaction
[FEATURE] Transactional editing for postgres layers
2015-01-20 17:22:55 +01:00
Martin Dobias
cae4eb3383 [FEATURE] New snapping API with improved indexing (QEP 13)
Merge branch 'snapping-improved'
2015-01-20 21:21:14 +07:00
Martin Dobias
8177bbef1a Snapping utils optimization
Avoid snapping to edges if vertex has already been found.
Also increase the maximum feature count to 1M before doing non-indexed queries
2015-01-20 21:18:06 +07:00
Martin Dobias
5361a6914e Decrease the debugging noise 2015-01-20 21:17:32 +07:00
Martin Dobias
006edcb7da Node tool: Declutter a bit the mouse press event logic 2015-01-20 21:12:54 +07:00
Martin Dobias
dbe830b0bb Point locator: Use just one R-tree for indexing instead of three R-trees
The maintenance of three R-trees was too complicated, using a lot of memory
and the performance benefit was questionable :)
The approach with just one R-tree leads to much simpler code

Removed k-NN queries in the process - they were not used in QGIS code. They can be
reintroduced later, but there is not much use for them right now...
2015-01-20 18:54:07 +07:00
volaya
b0291985ac [processing] added specific algorithm for saga 214 2015-01-20 12:34:17 +01:00
volaya
e9228b67c9 [processing] some SAGA fixes
-fixed raster export
-fixed version numbering when no saga installation is found
2015-01-20 11:41:27 +01:00
Alexander Bruy
5511c86c9f fix file permissions 2015-01-20 09:48:37 +02:00
Alexander Bruy
a81ec21564 [processing] remove help files already ported to User Guide 2015-01-20 09:45:54 +02:00
Martin Dobias
0ea6a3d15f Support different indexing strategies in QgsSnappingUtils
Huge layers will not use all the memory - at the expense of slow queries
2015-01-20 10:21:55 +07:00
Martin Dobias
54e8493bc7 QgsPointLocator: make it possible to index just a part of layer 2015-01-20 10:21:55 +07:00
Martin Dobias
28cbf575f6 Remove QgsMapToolVertexEdit class - not needed anymore 2015-01-20 10:21:55 +07:00
Martin Dobias
f8fc8a0a31 Final removals of QgsMapCanvasSnapper 2015-01-20 10:21:55 +07:00
Martin Dobias
1174361cd4 Convert more code from QgsMapCanvasSnapper to QgsSnappingUtils 2015-01-20 10:21:55 +07:00
Martin Dobias
4b8ea28262 Add QgsSnappingUtils::snapToCurrentLayer() + utility methods in QgsTolerance
Also added missing SIP wrappers for new classes QgsPointLocator and QgsSnappingUtils
2015-01-20 10:21:55 +07:00
Martin Dobias
488e7f11a9 Fix Add part map tool for multi-point layers 2015-01-20 10:21:55 +07:00
Martin Dobias
208b5e3c6a Get rid of last snapToBackgroundLayers() calls 2015-01-20 10:21:55 +07:00
Martin Dobias
30684c7d57 Add support for match filtering, fix unit tests 2015-01-20 10:21:54 +07:00
Martin Dobias
24adc02728 Conversions from QgsMapCanvasSnapper to QgsSnappingUtils 2015-01-20 10:21:54 +07:00
Martin Dobias
f956464c7c Add snapping to current layer mode + make it default for new projects 2015-01-20 10:21:54 +07:00
Martin Dobias
cd7180ec67 Added convenience method snappingUtils() to QgsMapCanvas
Map tools can use canvas.snappingUtils().snapToMap(pt) to do the snapping.
2015-01-20 10:21:54 +07:00
Martin Dobias
cf22adc067 Fix issues with snapping and lat/lon coords 2015-01-20 10:18:40 +07:00
Martin Dobias
073d27a618 Fix snapping vertex marker when snapped to a segment 2015-01-20 10:18:40 +07:00
Martin Dobias
8db086cd2e Fix problems with edge snapping with duplicated vertices present 2015-01-20 10:18:40 +07:00
Martin Dobias
c812e42a29 Reintroduce support for intersection snapping 2015-01-20 10:18:40 +07:00
Martin Dobias
81bb124741 Added vertex/edge in tolerance queries 2015-01-20 10:18:39 +07:00
Martin Dobias
e05de3f9c6 Handle updates of the layer in the point locator
This currently just invalidates the whole trees. It would be more sophisticated to do just the updates
to the existing trees - but I run into various issues with the spatial index library when doing that.
So resorting to this for the moment.
2015-01-20 10:18:39 +07:00
Martin Dobias
83770dfd9e Hook snapping utils into QGIS interface
Now the new snapping engine is ues for add feature map tool
2015-01-20 10:18:39 +07:00
Martin Dobias
1dae560c02 Added initial tests for QgsPointLocator and QgsSnappingUtils 2015-01-20 10:18:39 +07:00
Martin Dobias
3a0dbf274f Initial import of new classes for more efficient snapping
QgsPointLocator: index vector layer geometries for fast lookups
QgsSnappingUtils: combine locators according to snapping configuration

Also adds fast point in polygon queries.
2015-01-20 10:18:39 +07:00
Nathan Woodrow
51bb80329c Ensure users python folder is on path
Fix import of expressions if we have to make the the python\expressions
folders
2015-01-20 09:55:00 +10:00
Martin Dobias
295f466d23 Layer properties dialogs: add style manager actions under Style button
This allows for more convenient configuration of layer styles and switching
between them compared to the context menu in the layer tree.

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 23:28:39 +07:00
Martin Dobias
368fe68f26 Make sure "keep layer styles" checkbox is enabled only when "keep layers" is checked 2015-01-19 22:29:01 +07:00
Martin Dobias
15068e55f1 Replace the row of style-related buttons by a button with context menu
This saves vertical space and will allow addition of more actions.

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 22:01:05 +07:00
Sandro Mani
7b31a17e44 Fix infinite loop in QgsVectorLayer::deleteSelectedFeatures if removal of feature fails 2015-01-19 15:22:20 +01:00
Sandro Mani
40ad3b0993 [FEATURE]: Transactional editing for postgres layers (other datasources possible in the future). Funded by City of Uster 2015-01-19 15:22:20 +01:00
Martin Dobias
7e3bef6c4c Make the style GUI utils more granular + move copy/paste to the top of menu
This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 19:32:06 +07:00
Nyall Dawson
0cde4f103b Ensure that clear button is shown for QgsSpinBox/DoubleSpinBox
Previously the clear button might not show if the value of the
widget was set while its signals were blocked.
2015-01-19 23:23:59 +11:00