Nyall Dawson
732d6bb475
Add convenience constructors to create QgsCircularStrings
...
Add constructors to create a circular string with a single arc:
- from 3 points on arc
- from 2 points and a center
2018-04-24 10:07:51 +12:00
Nyall Dawson
3f3b9515ef
Add convenience constructor to create QgsLineString between two points
2018-04-24 10:07:51 +12:00
Nyall Dawson
fbf6b4a383
Add geometry method to calculate mid point on an arc from p1->p2 with given center
...
And improve some docstrings
2018-04-24 10:07:51 +12:00
Nyall Dawson
ac7760be10
Indentation
2018-04-24 09:10:39 +12:00
Nyall Dawson
6c867c0dc5
[oracle] Fixes for edit tests (still disabled)
2018-04-24 09:10:39 +12:00
Nyall Dawson
92a80894ac
[oracle] Add read-only support for curved geometry types
...
Previously these geometries were silently discarded
Fixes #12675 , #16809
Sponsored by Open Spatial (http://www.openspatial.com )
2018-04-24 09:10:39 +12:00
Nathan Woodrow
76b956a6a3
[FEATURE][needs-docs] Don't bail on first expression error ( #6838 )
2018-04-23 10:50:43 +10:00
Loïc Bartoletti
f558b742cf
Add tests
2018-04-21 08:16:14 +10:00
Loïc Bartoletti
0bacf0ff16
- Add some methods in QgsVector3D
...
- Move QgsVector3D from 3d to core
- Use QgsVector3D instead of QVector3D
2018-04-21 08:16:14 +10:00
Loïc Bartoletti
9d649e738a
Add skewLines intersection algorithm
2018-04-21 08:16:14 +10:00
rldhont
f914762b46
Merge pull request #6793 from pblottiere/bugfix_owslib
...
[server][bugfix] Cleaning GetCapabilities response
2018-04-20 14:12:17 +02:00
Nyall Dawson
6a2625664e
[processing] Add dedicated "distance" parameter
...
This is a subclass of QgsProcessingParameterNumber, but specifically
for numeric parameters which represent distances. It is linked
to a parent parameter, from which the distance unit will
be determined, and is shown using a dedicated distance widget
within the processing parameters panel. This widget shows
the distance unit.
This avoids the confusion when running algorithms which
use distances where the unit depends on a layer or CRS parameter -
e.g. the distance parameter in the buffer algorithm gives
the distance in layer units... so now we can show those units
directly within the dialog. Hopefully this leads to less
user confusion and accidental "1000 degree buffers"!
Additionally - if the unit is in degrees, a small warning
icon is shown next to the parameter. The tooltip for this
icon advises users to reproject data into a suitable
projected local coordinate system.
Initially implemented for the native buffer and single
sided buffer algorithm only - but more will be added.
Fixes #16290
2018-04-20 18:27:00 +10:00
Martin Dobias
f1a31d09f1
Use standard font for text on symbol
2018-04-19 14:23:49 +02:00
Martin Dobias
49b02bf562
[FEATURE] Legend: optional text on top of symbols for vector layers
...
In some cases it is useful to add extra information to the symbols in the legend.
This work allows definition of additional labels in vector layer properties > Legend tab.
2018-04-18 21:52:56 +02:00
Martin Dobias
721c536185
Merge branch 'master' into overlay-alg-fixes-1
2018-04-18 14:16:50 +02:00
Martin Dobias
45b264db08
Fixes after review
2018-04-18 13:04:05 +02:00
Matthias Kuhn
fe27b011e4
Merge pull request #6807 from m-kuhn/ruleBasedNestedElse
...
Fix identify tool with rule renderer and nested else
2018-04-17 17:57:40 +02:00
Matthias Kuhn
8f8a9ac853
Add test for nested rules in ELSE
2018-04-17 11:46:02 +02:00
Alessandro Pasotti
11435ce933
Merge pull request #6802 from elpaso/rasteranalysis-tests
...
[tests] Add some tests for 9 cells algorithms
2018-04-17 08:38:31 +02:00
Nyall Dawson
63e450aac7
[oracle] Compile some expression functions
...
Greatly speeds up case-insensitive value matches for oracle
expression based feature requests
2018-04-17 05:46:19 +10:00
Nyall Dawson
bd5b7717a2
[oracle] Update failing provider test
2018-04-17 05:46:19 +10:00
Alessandro Pasotti
5be057c90a
[tests] Add some tests for 9 cells algorithms
...
Note: this does not test the correctness of the
algorithms but only that the filters are correctly
working.
2018-04-16 15:39:07 +02:00
Blottiere Paul
5e33d7d639
Merge pull request #6787 from pblottiere/bugfix_ellipse
...
[server] Add project's context before rendering
2018-04-16 08:30:48 +01:00
Nyall Dawson
d7fd14b340
[oracle] Ensure that all attributes required for order by are fetched
...
Fixes potentially broken iterator sorting with oracle provider when
a subset of attributes is fetched
2018-04-16 09:28:23 +10:00
Blottiere Paul
199f725d12
Add unit test with owslib to check GetCapabilities doc
2018-04-13 14:37:12 +01:00
Blottiere Paul
414f4fac3a
Remove empty MetadataURL tag for unit tests
2018-04-13 14:36:31 +01:00
Martin Dobias
322bc78755
Merge pull request #6782 from wonder-sk/required-layers
...
Mark layers as required in the project
2018-04-13 11:31:43 +02:00
Blottiere Paul
2d340a0de2
Update unit test with symbology depending on @map variables
2018-04-13 09:50:18 +01:00
Nathan Woodrow
76843be62d
[BUGFIX][needs-docs] Allow expression parser to report better error location
...
We return the line and column to allow builder to highlight
that location for the user.
2018-04-13 07:45:48 +10:00
Blottiere Paul
e8ce121bc5
Add unit test to check symbol's rotation coming from a project variable
2018-04-12 14:21:53 +01:00
Martin Dobias
7e022f005d
Disable remove action instead of message box + unit test
2018-04-12 10:44:36 +02:00
Martin Dobias
3400199eb8
[FEATURE] Map themes: store also expanded/collapsed state of nodes
...
Each map theme will also record which layers, groups and legend items are expanded,
so when a map theme is selected, the expanded/collapsed states get applied in the layer tree.
2018-04-11 09:04:23 +02:00
Matthias Kuhn
29b080fce3
Merge pull request #6754 from m-kuhn/processing_filter_algorithm
...
[FEATURE] Feature filter algorithm for processing models
2018-04-11 08:29:12 +02:00
Matthias Kuhn
fbb4ef5ad7
Add processing gui tests
2018-04-10 23:11:17 +02:00
Nyall Dawson
bf0c4f9413
[processing] Accept strings of form "(1,2") for point parameters too
...
Since the help text above a point parameter indicates the acceptable
format is "(x, y)", it can be confusing for users to know whether
the brackets should be entered here. So be forgiving and accept
strings with or without brackets.
Refs https://gis.stackexchange.com/questions/278765/how-do-i-enter-start-point-in-shortest-path-algorithm-in-qgis-3-0-1
2018-04-11 04:56:12 +10:00
Nyall Dawson
37295ec48e
Expose extra arguments to QgsGeometry::transform
...
Previously these were only available via the raw QgsAbstractGeometry
API.
Also add more unit tests for QgsGeometry::transform
2018-04-10 17:49:18 +10:00
Matthias Kuhn
41b47a297f
Add more feature filter algorithm tests
2018-04-09 13:10:49 +02:00
Martin Dobias
f378a23ed8
[FEATURE] Projects in PostgreSQL
...
Merge of pull request #6752
2018-04-09 09:53:16 +02:00
Nyall Dawson
887db6e7b2
Better SVG downloading icon
2018-04-09 12:43:05 +10:00
Nyall Dawson
3bfcbaa163
Update unit tests
2018-04-09 12:43:05 +10:00
Martin Dobias
42969a4794
Add project_basename to project expr context, project_path for custom impls
2018-04-07 16:56:03 +02:00
Martin Dobias
17a8c4520e
Add a test to check that extra content in project ZIP is saved/loaded
2018-04-07 12:58:02 +02:00
Martin Dobias
2aabad96e7
Fixes after Nyall's review + doxygen fixes
2018-04-07 12:58:02 +02:00
Martin Dobias
3ccb6c3336
Fix spelling and doxygen doc
2018-04-07 12:58:02 +02:00
Martin Dobias
d1464a0030
Update postgres project storage unit test
2018-04-07 12:58:02 +02:00
Martin Dobias
15f7ec7854
Add abstraction of project's absolute file path, base name, last modified
2018-04-07 12:58:02 +02:00
Martin Dobias
ab83455d83
Store last modified time in project storage + retrieve it
2018-04-07 12:58:02 +02:00
Martin Dobias
0f5ea535cb
Implement project storage for PostgreSQL + tests of the storage
2018-04-07 12:58:02 +02:00
Martin Dobias
5963028caf
Extend project storage interface: remove/rename projects, GUI support
2018-04-07 12:58:01 +02:00
Martin Dobias
a30646f1cb
Introduced QgsProjectStorage and QgsProjectStorageRegistry
...
This is going to be used as an abstraction of how/where project
files are stored.
2018-04-07 12:58:01 +02:00