46590 Commits

Author SHA1 Message Date
Nathan Woodrow
ce3efdff35 Fix dock shortcuts to use Ctrl and not Alt 2018-03-05 09:28:10 +10:00
Klavs Pihlkjær
1f7875ec3d [FEATURE][locator] Add bookmark search to locator bar
Allows search for spatial bookmarks. Double clicking a search result will zoom to the bookmark.
Short video: https://www.youtube.com/watch?v=ymW4TU8QWy4

The new filter presents itself with a prefix of "b" and with tr( "Spatial bookmarks" ) as displayname.

A bookmark locator filter is added to the built in locator filters (class QgsBookmarkLocatorFilter is added to qgsinbuiltlocatorfilters.cpp). The wiring between the the new filter and QgsBookmarks has been implemented in
* QgisApp::getBookmarkIndexMap() (For reading bookmarks), and
* QgisApp::zoomToBookmarkIndex(const QModelIndex &index) (For navigating to a bookmark)

QgsBookmarks has been slightly refactored
2018-03-04 14:24:22 +01:00
Nyall Dawson
4232b93539 [FEATURE][processing] Add "segmentize" algorithms
Adds two new algorithms which expose QgsGeometry's methods
for segmentizing curved geometries.

"Segmentize by maximum distance":
The segmentization is performed by specifying the maximum
allowed offset distance between the original curve and the
segmentized representation.

"Segmentize by maximum angle":
The segmentization is performed by specifying the maximum
allowed radius angle between vertices on the straightened
geometry (e.g the angle of the arc created from the
original arc center to consective output vertices on the
linearized geometry).
2018-03-04 21:28:42 +10:00
Nyall Dawson
6bd7600aa3 Expose segmentization parameters to QgsGeometry::convertToStraightSegment 2018-03-04 12:10:27 +10:00
Nyall Dawson
871132eae6 [processing] Port point on surface to c++ 2018-03-04 08:52:34 +11:00
Alessandro Pasotti
c614b942f3 [bugfix][server] Fix temporary path permission issue
If I don't misread the docs, if a template is given, the file
is created in the current directory instead of the temporary
directory reported by QDir::tempPath()

Furthermore it cannot be set by env TMPDIR.

This issue drove me crazy (and no exceptions and no logs!)
until when I switched the server user to root (that is
of course not what we want).

As a temporary workaround, the server can be configured to
use /tmp or another www-data writeable directory as a working
directory.

By prefixing with tempPath() the file will be created
in the system temp directory.
2018-03-03 22:15:24 +01:00
Nyall Dawson
0a6024b506 [3d] Add a title to 3d config window
Fixes #18281
2018-03-03 11:00:14 +10:00
Denis Rouzaud
24ef30f2fe add secure env var for docker login in Travis yml file 2018-03-02 20:51:53 -04:00
Matthias Kuhn
0d208298b7
Merge pull request #6506 from m-kuhn/fixRange
Fix Integer range widget with allowNull
2018-03-02 17:02:53 -05:00
Matthias Kuhn
b84f014d9e
Merge pull request #6503 from m-kuhn/variousFixes
Various fixes
2018-03-02 17:02:38 -05:00
Denis Rouzaud
bd149b9713 allow to save a Docker deps image for PR having [dockerdeps] in their title 2018-03-02 15:36:30 -04:00
Matthias Kuhn
fc5073ddb0 Documentation fix 2018-03-02 12:44:02 -05:00
Denis Rouzaud
9580a88514 fix sipify test 2018-03-02 08:33:45 -09:00
Webmaster
2073562fa5 harmonize join type value (0=one-to-many, 1=one-to-one) 2018-03-02 21:01:12 +07:00
nirvn
1542b484be [FEATURE][processing] add discard non matching option to join attribute table alg 2018-03-02 21:01:12 +07:00
nirvn
55764689ed fix one-to-one, one-to-many wording 2018-03-02 21:01:12 +07:00
Blottiere Paul
e531052b28 Rename cancel() to cancelReload() and update doc accordingly 2018-03-02 10:41:07 +00:00
Blottiere Paul
1a5e03f667 Fix sip binding 2018-03-02 09:43:26 +00:00
Blottiere Paul
b8a009c456 Add unit test for QgsVirtualLayerTask 2018-03-02 09:43:26 +00:00
Blottiere Paul
7b18fa8bec Add test for lazy option 2018-03-02 09:43:26 +00:00
Blottiere Paul
941aa0a650 Add a takeLayer method 2018-03-02 09:43:26 +00:00
Blottiere Paul
1ad02adfe0 Update documentation 2018-03-02 09:43:26 +00:00
Blottiere Paul
777fdebb73 Clean task once model is completed 2018-03-02 09:43:26 +00:00
Blottiere Paul
ad91694b76 Remove unnecessary cancel subtask 2018-03-02 09:43:26 +00:00
Blottiere Paul
eef18cbe2e Remove unused code 2018-03-02 09:43:26 +00:00
Blottiere Paul
887a226115 Use python super() calls 2018-03-02 09:43:26 +00:00
Blottiere Paul
6a49e57c5d Fixes 3.0 -> 3.2 2018-03-02 09:43:26 +00:00
Blottiere Paul
8873e9a020 Fix sip binding 2018-03-02 09:43:26 +00:00
Blottiere Paul
c2a2f33288 Rename postpone option in lazy 2018-03-02 09:43:26 +00:00
Blottiere Paul
fea66f9913 Update ui and add shortcut to cancel pending query 2018-03-02 09:43:26 +00:00
Blottiere Paul
86d66c73a9 Add interrupt method 2018-03-02 09:43:26 +00:00
Blottiere Paul
cf53a4cb14 Add async model for gpkg 2018-03-02 09:43:26 +00:00
Blottiere Paul
f5a3e60b4e Update documentation 2018-03-02 09:43:26 +00:00
Blottiere Paul
ad630094c1 More cleaning 2018-03-02 09:43:26 +00:00
Blottiere Paul
a948f1b84d Some clean 2018-03-02 09:43:26 +00:00
Blottiere Paul
957e92c847 Add async model for virtual layers 2018-03-02 09:43:26 +00:00
Blottiere Paul
bf7df6d2e3 Add a cancel button for Postgis and Spatialite 2018-03-02 09:43:26 +00:00
Alexander Bruy
0081f781d3
Merge pull request #6487 from alexbruy/processing-output-file
[processing] fix QgsProcessingParameterFileDestination handling in models
2018-03-02 11:23:55 +02:00
Alexander Bruy
dc3353e928 [processing] forgot to rename variable 2018-03-02 11:03:01 +02:00
Alexander Bruy
ae9bd06eed
Merge pull request #6501 from alexbruy/multi-ring
[processing][FEATURE] add multi-ring buffer algorithm
2018-03-02 10:36:30 +02:00
Alexander Bruy
a2179046e8 [processing] add tests for creating outputs from FileDestination
parameter
2018-03-02 10:35:56 +02:00
Alexander Bruy
6f38a5037d [processing] fix condition and use more generic "htm" constant for
filter testing
2018-03-02 10:35:56 +02:00
Alexander Bruy
22fea14a17 [processing] remove explicit outputs definitions 2018-03-02 10:35:56 +02:00
Alexander Bruy
73a8b80e59 [processing] determive correct output type based on the
QgsProcessingParameterFileDestination filter
2018-03-02 10:35:56 +02:00
Alexander Bruy
705ffced63 [processing] implement toOutputDefinition() method for
QgsProcessingParameterFileDestination
2018-03-02 10:35:55 +02:00
Alexander Bruy
df61548c82 [processing] rename algorithm to "Multi-ring buffer (constant distance)" 2018-03-02 10:00:16 +02:00
Alexander Bruy
669beac824 [processing] evaluate dynamic parameters before processing feature 2018-03-02 10:00:16 +02:00
Alexander Bruy
5daa8fdb67 [processing] add test for multiring buffer algorithm 2018-03-02 10:00:16 +02:00
Alexander Bruy
8c0c581790 [processing] make multi-ring buffer parameters dynamic 2018-03-02 10:00:16 +02:00
Alexander Bruy
04ce43569e [processing][FEATURE] multiring buffer algorithm 2018-03-02 10:00:16 +02:00