Patrick Valsecchi
91e4b24a39
Better reading/writting of editor widget config.
...
Avoid saving config parameters that are not set and support not
having them in the XML.
2016-11-07 09:00:17 +01:00
Nyall Dawson
6d8990b75d
Fix coverity uninitialized variable warnings
2016-11-07 16:15:39 +10:00
Nyall Dawson
3c530a62e5
Merge pull request #3723 from nirvn/regexp_matches
...
[FEATURE] add regexp_matches() function
2016-11-07 14:34:27 +10:00
nirvn
1d245b2ef6
[FEATURE] add regexp_matches() function
...
The new function returns an array of strings captured by capturing
groups in a supplied regular expression. For e.g., the following
expression: regexp_matches('qgis=>rocks','(.*)=>(.*)')
will return the following array: 'qgis', 'rocks'.
2016-11-07 10:47:19 +07:00
Nyall Dawson
4e4bb2bf6b
Merge pull request #3728 from nyalldawson/open
...
Cleanup processing file handling
2016-11-07 13:20:13 +10:00
Nyall Dawson
9b667d1e8a
[FEATURE] Remove c++ geometry snapper plugin
...
All functionality is now available through analysis lib + processing
algorithm.
Marked as feature for documentation + changelog flagging
2016-11-07 12:20:59 +10:00
Nyall Dawson
8acc286b0f
[FEATURE] Snap to layer algorithm accepts a mode parameter
...
With a new option to prefer to snap to closest point on geometry.
The old behaviour was to prefer to snap to nodes, even if a node
was further from the input geometry than a segment. The new option
allows you to snap geometries to the closest point, regardless
of whether it's a node or segment.
2016-11-07 12:20:59 +10:00
Nyall Dawson
983fe24806
Port some API from QgsPoint to QgsPointV2
2016-11-07 12:20:59 +10:00
Nyall Dawson
dae0a01761
[FEATURE][processing] Snap geometries algorithm allows snapping
...
to other layer types, supports point/line layers
Fix #14791 , #15313
2016-11-07 12:20:59 +10:00
Nyall Dawson
c3a978b9da
[FEATURE][processing] Snap geometries to layer algorithm
...
Port the Geometry Snapper plugin across to the analysis lib, and
expose to python bindings
Add a new algorithm which performs the snapping to layers
2016-11-07 12:20:59 +10:00
Nyall Dawson
0484769b7d
[processing] Use subprocess.DEVNULL instead of open(os.devnull)
2016-11-07 12:13:18 +10:00
Nyall Dawson
6a99017bf0
[processing] Use with ... when opening files
2016-11-07 11:36:38 +10:00
Nyall Dawson
b4bca5bb98
[processing] Don't try to force load files which don't exist
2016-11-07 11:11:31 +10:00
Nyall Dawson
272cd38018
Fix python deprecation warning
2016-11-07 11:11:30 +10:00
Nyall Dawson
54522fd590
Fix crash when trying to render polygon with no exterior ring
...
Should only occur with very badly corrupted layers, but we
shouldn't crash in this case
2016-11-07 11:11:30 +10:00
Nyall Dawson
d783c732a5
Fix processing tests
2016-11-07 11:11:30 +10:00
Nyall Dawson
143c18da6f
Fix processing tests weren't actually comparing resultant features
...
.... oops (my fault - copy/paste error)
2016-11-07 09:23:35 +10:00
Nyall Dawson
eefa7115bf
[processing] Fix invalid geometries made by densify when input geom is null
2016-11-07 09:22:50 +10:00
arnaud.morvan@camptocamp.com
78236c0be1
Use contextGenerator in refactor fields algorithm
2016-11-06 18:11:15 +01:00
arnaud.morvan@camptocamp.com
a8d9dea1fb
Add QgsExpressionContextGenerator inheritances in sip
2016-11-06 17:58:54 +01:00
arnaud.morvan@camptocamp.com
a6a09d9ae2
[processing] Fix Ogr2OgrToPostGisList with 8798c42339 and 3472ac80d8bd
2016-11-06 15:25:11 +01:00
arnaud.morvan@camptocamp.com
01941176c5
[processing] Log gdal calls
2016-11-06 15:21:39 +01:00
arnaud.morvan@camptocamp.com
9cd39e79dd
[db_manager] Fix connection to postgis
2016-11-06 13:29:59 +01:00
arnaud.morvan@camptocamp.com
8b8bc26ee0
[processing] Fix connection to postgis
2016-11-06 13:29:59 +01:00
arnaud.morvan@camptocamp.com
4a62699472
[processing] Fix TableWidgetWrapper in batch dialog
2016-11-06 13:05:32 +01:00
arnaud.morvan@camptocamp.com
2d2fe8b8cc
[processing] Fix BatchOutputSelectionPanel with QgsMapLayer instances
2016-11-06 13:04:32 +01:00
arnaud.morvan@camptocamp.com
93be141af5
[processing] Fix import error in FieldsMappingPanel
2016-11-06 13:03:06 +01:00
Juergen E. Fischer
e426dbc86b
fix customwidgets includes path
2016-11-05 12:47:27 +01:00
Matthias Kuhn
022e228522
Fill image with 0 in rendering thread ( #3722 )
...
Calling QImage::fill( 0 ) on rendering start takes about 40% of the
time required for setting up a new job.
Since this is done on the main thread, the interface feels more
snappy the quicker the setup process is completed.
2016-11-05 12:01:43 +01:00
Andrea Aime
701d4440ac
Export parametric SVG parameters, will fallback symbols for the system that cannot understand them
2016-11-05 11:48:31 +01:00
Martin Dobias
5984b21852
Add missing /Factory/ annotations to geometry classes
2016-11-05 12:13:52 +08:00
Alessandro Pasotti
bef03091eb
Merge pull request #3721 from elpaso/auth_tests_pki_ows_master
...
[tests] WMS/WFS PKI authentication test
2016-11-04 13:46:17 +01:00
Alessandro Pasotti
a0e0fcf9a9
[tests] WMS/WFS PKI authentication test
2016-11-04 12:09:57 +01:00
Alessandro Pasotti
16a88e6c36
Merge pull request #3719 from elpaso/auth_tests_more_master
...
Auth tests more master
2016-11-04 11:36:18 +01:00
Alessandro Pasotti
f587defde2
[tests][bugfix] Check for result diff existance before accessing to it
2016-11-04 09:50:34 +01:00
Alessandro Pasotti
f582849ca7
[tests] Authmanager Postgres PKI test
2016-11-04 09:46:17 +01:00
Matthias Kuhn
ea43ce0e00
Always create a main network access manager
...
Or threaded networking - like XYZ layers - will crash in standalone apps.
2016-11-04 09:13:38 +01:00
Martin Dobias
0dd094ca9d
Remove per-pixel debug msg slowing down reprojection ( fixes #15796 )
...
Even at level 5, the debug string would still be built and thrown away,
and affects both debug builds and RelWithDebugInfo (used for windows -dev builds).
(cherry picked from commit db0e7d57218f29dd5a6f386b8b4ce40f11a3ab59)
2016-11-04 13:15:22 +08:00
Martin Dobias
24361c5349
Fix crash with tiled WMS ( fixes #15799 )
...
(cherry picked from commit 16719b3f0f166667fdead8731a9ffe7227ab39f8)
2016-11-04 11:27:05 +08:00
Nyall Dawson
9a2ca1cebd
Merge pull request #3673 from nyalldawson/constraints
...
[FEATURE] Improved constraint handling, pt 1
2016-11-04 10:34:15 +10:00
Nyall Dawson
100667ace0
Fix dialogs which violate HIG (use of : at end of label)
2016-11-04 10:02:46 +10:00
rldhont
74f49ddd19
[BUGFIX][QGIS Server] No flags in QgsFeatureRequest if expression needs geometry
2016-11-03 17:29:48 +01:00
Alexander Bruy
8b3c39a220
[processing] add missed description files for OTB 5.4.0
2016-11-03 16:58:18 +02:00
Alexander Bruy
a382ec77e0
Merge pull request #3035 from alexbruy/global-startup-script
...
Add global python startup script support in addition to per-user scripts
2016-11-03 12:40:09 +02:00
Alexander Bruy
373e591a80
drop old user startup script in favour of the new system
...
User script should be placed into $HOME/.local/share/QGIS.
Additionally global scripts from /usr/local/share and
/usr/share will be loaded if present
2016-11-03 12:11:57 +02:00
Alexander Bruy
434bbeabfc
Add global python startup script support in addition to per-user scripts ( fix #6297 )
2016-11-03 12:11:57 +02:00
Nyall Dawson
777fc86001
Merge pull request #3712 from nirvn/pal_zero_width_char_fix
...
[pal] fix curved labels failure with zero-width characters
2016-11-03 16:58:58 +10:00
nirvn
769c82b579
[pal] fix curved labels failure with zero-width characters
...
(fixes 15801)
2016-11-03 13:35:51 +07:00
Nyall Dawson
9cd29f39d8
[processing] Fix batch panel under Qt5
2016-11-03 16:33:09 +10:00
Nyall Dawson
73038f20ba
Merge pull request #3710 from DelazJ/patch-16
...
Make collapsible the "Curve segmentation" frame
2016-11-03 15:45:39 +10:00