Alexander Bruy
b8cb196322
Merge pull request #4293 from alexbruy/processing-api
...
[processing][needs-docs] Processing API improvements
2017-03-27 10:25:43 +03:00
Nyall Dawson
1f927abe5c
Avoid coverity null dereference after null check warning
2017-03-27 11:43:22 +10:00
Nyall Dawson
7387d7456c
Followup 8b9e492, fix drawing of cached layer images
2017-03-27 11:41:42 +10:00
Nyall Dawson
721131e661
[server] Fix potential crash caused by referencing out of scope local
2017-03-27 08:14:51 +10:00
Nyall Dawson
68437a1032
More Qt5 style connects
2017-03-27 08:08:58 +10:00
Nyall Dawson
8b9e4922fc
Don't try to compose images before they have been initialized
2017-03-26 17:33:43 +10:00
Nyall Dawson
7aa4fa090b
Fix some valgrind issues
2017-03-26 16:51:36 +10:00
Nyall Dawson
e55fbebf68
Add failing test to ensure that QgsAbstractGeometry.centroid
...
result matches that of GEOS
It doesn't, and reveals the the QGIS native centroid calculation
is quite broken
2017-03-26 14:34:51 +10:00
Nyall Dawson
631c7cd1dd
Port GEOS centroid tests to PyQGIS
2017-03-26 14:34:51 +10:00
Nyall Dawson
8eb35531c3
Optimise QgsGeos conversions
...
Avoid some unnecessary creation of QgsPointV2
2017-03-26 10:55:00 +10:00
Nyall Dawson
314842d0cc
Merge pull request #4303 from nyalldawson/densify
...
Port processing densify algorithms to c++
2017-03-25 21:19:25 +10:00
Nyall Dawson
51035cfb67
Add optimised constructors for QgsLineString
...
Instead of requiring all linestrings to be constructed by
first creating QgsPointSequence (requiring creation or
conversion of points to QgsPointV2), allow construction
of LineStrings directly from vectors of values (fastest!)
or lists of QgsPoint.
Likely results in speedups for lots of geometry operations,
but using the same layer as earlier tested for densify
improvements the densify operation time dropped further
from 25 seconds to 15 seconds.
2017-03-25 20:44:31 +10:00
Nyall Dawson
daa2454558
Fix setting project to no projection not triggering lockdown of
...
ellipsoid and unit selection
2017-03-25 20:30:27 +10:00
Nyall Dawson
345ce734c4
[composer] Correctly draw overview frame when map item CRS differs
2017-03-25 17:58:48 +10:00
Nyall Dawson
83ac0e584d
Fix doxygen warning
2017-03-25 17:15:38 +10:00
Nyall Dawson
a769448e70
Also port processing densify to distance to c++
...
- Add QgsGeometry method to densify by distance
- Fix bug in processing algorithm which resulted in duplicate
vertices and incorrectly spaced extra vertices
2017-03-25 16:23:29 +10:00
Nyall Dawson
77e7693c48
Fix spelling errors in processing algorithm help
2017-03-25 16:23:29 +10:00
Nyall Dawson
b90aa916e6
Port processing Densify Geometries algorithm to use c++ densify
...
Rough benchmark using 50k geometry polygon shapefile
Before: 1m25s
After: 21s
2017-03-25 16:23:29 +10:00
Nyall Dawson
249c6fcb20
Densify canvas extent geometry before reprojecting for views
...
Makes displaying canvas extent in extra map views nice and smooth
if canvas CRSes differ.
2017-03-25 16:23:24 +10:00
Nyall Dawson
5360b79174
[FEATURE] New API QgsGeometry::densifyByCount
...
Densifies a geometry by adding a specified number of vertices
to each segment
2017-03-25 15:07:16 +10:00
Nathan Woodrow
2dac2d3bac
Hide and show system tray icon on all platforms
2017-03-24 23:43:24 +10:00
Nathan Woodrow
4c0ace9569
Hide system tray icon on Windows
2017-03-24 13:32:41 +01:00
Mathieu Pellerin
9c5abc9587
[FEATURE] Add a secondary stroke color to QgsRubberBand ( #4301 )
...
This comes in handy when in need of insure visibility of a
marker/line/polygon overlay over both light and dark areas.
This also updates the map view's extent to make use of a
secondary stroke color instead of a semi-transparent fill.
2017-03-24 14:49:37 +07:00
Alessandro Pasotti
8b0e3d8da3
[bugfix] Apply authentication configuration to xyz layers
2017-03-24 08:13:14 +01:00
Mathieu Pellerin
40f86b2033
[processing] GRASS 7.2 support: use SQL compatible output names ( #4298 )
...
(fixes #16370 )
2017-03-24 08:35:57 +07:00
Nyall Dawson
2354696f26
Fix error when enabling additional providers in processing
...
Add an interface method to show the options dialog at a specific
page. This is required since plugins can now embed their options
in the main options dialog, so they may also need a way to
force this dialog to open.
Implement this in processing so that enabling additional providers
works again.
2017-03-24 11:16:49 +10:00
Nyall Dawson
109be1b0bb
Allow options filter to search in QTreeViews
...
Such as processing options. Quite basic - it just checks the item
text but does not filter or highlight items in the view
2017-03-24 10:59:31 +10:00
Nyall Dawson
5f1a512d90
Remove unused options search widgets
2017-03-24 10:41:42 +10:00
Nyall Dawson
83db0fbe79
Fix broken widget filter box in layer/project properties
2017-03-24 10:35:11 +10:00
Steven Mizuno
9d5f28921d
hide Internal connection if build is without WITH_QTMOBILITY cmake setting
...
use previously set connection; set Autodetect only if Internal happened to be the stored setting.
fix #13233
2017-03-24 09:58:02 +10:00
Nyall Dawson
02b4f6c770
Spell check: accurancy->accuracy
2017-03-24 09:36:46 +10:00
Nyall Dawson
4d42d769e6
Allow showing main canvas extent in extra map views
...
Another step toward multicanvas replacing map overview panel
2017-03-24 08:34:49 +10:00
Matthias Kuhn
1ffa9ee7a6
Revert renaming of main layer-tree-group node
2017-03-23 15:29:28 +01:00
Matthias Kuhn
e5aaceacbe
Preserve custom layer order in offline editing
2017-03-23 15:29:13 +01:00
Matthias Kuhn
8cecf236df
Document API breaks
2017-03-23 15:29:13 +01:00
Matthias Kuhn
baa4c86262
Fix tests
2017-03-23 15:29:12 +01:00
Matthias Kuhn
f33aabd90a
Completely move layer order to core
2017-03-23 15:29:12 +01:00
rldhont
798b1ed69e
Merge pull request #4294 from rldhont/bugfix_processing_saga_io_gdal
...
[Processing] Saga: update gdal_io and Flow Accumulation (Flow Tracing)
2017-03-23 10:54:40 +01:00
Nyall Dawson
634d5ffb8a
Mark QgsRasterRenderer::legendSymbologyItems as /Out/ in sip
2017-03-23 10:15:30 +10:00
Nyall Dawson
2446dae163
Some more new style connects
2017-03-23 08:51:34 +10:00
rldhont
2fe7caf787
[Processing] Saga: update gdal_io and Flow Accumulation (Flow Tracing)
2017-03-22 19:17:18 +01:00
Larry Shaffer
265da3ffa0
Merge pull request #4292 from Gustry/fix_mac_build
...
fix undeclared identifier on MAC in composer
2017-03-22 12:12:10 -06:00
Alexander Bruy
1a46ddbf28
[processing][API] rename runalg() and runandload() to improve
...
readability
2017-03-22 19:17:12 +02:00
Alexander Bruy
e1a01106dd
[processing][API] rename alglist() to printAlgorithms() to improve
...
readability. Also introduce algorithmsList() call which returns
available Processing algorithms as list
2017-03-22 19:11:43 +02:00
Alexander Bruy
c1e6ba0f40
[processing] rename AlgorithmExecutor's runalg() and runalgIterating()
...
to avoid overlapping with general functions and improve readability
2017-03-22 19:11:36 +02:00
Alexander Bruy
79566f7649
remove unused method
2017-03-22 17:03:51 +02:00
Alexander Bruy
ccbca66492
code cleanups
2017-03-22 16:17:05 +02:00
Alexander Bruy
acd37449f3
[processing][API] rename algoptions() to algorithmOptions()
2017-03-22 15:44:04 +02:00
Etienne Trimaille
119637768c
fix undeclared identifier on mac in composer
2017-03-22 14:35:56 +01:00
Alexander Bruy
3e4fb56eea
[processing][API] rename alghelp to algorithmHelp
2017-03-22 15:25:12 +02:00