Nyall Dawson
ea38c7322b
[afs] Fix handling of custom projections
...
Don't treat all unknown projections as WGS84
Fixes #18881
2018-05-08 05:38:27 +10:00
Denis Rouzaud
0d6dcb231e
do not return a const file and add localFile helper
2018-05-07 08:20:59 -04:00
Denis Rouzaud
648562d2b7
do not expose task and make it thread safe
2018-05-07 08:20:59 -04:00
Nyall Dawson
3791bac432
[processing][modeler] Fix some child algorithm vector results
...
are not shown as input choices for other child algorithms
2018-05-07 18:50:19 +10:00
Nyall Dawson
787dd3413e
[processing] More helpful errors when raster inputs are not valid
2018-05-06 19:19:45 +10:00
rldhont
280018dc5f
[Oracle][Tests] Enhance Geometry creation SQL script
2018-05-05 12:24:16 +10:00
rldhont
a11db8bbe1
[Oracle][Tests] Enhance Point convertion test
...
Instead of using 'SDO_UTIL.FROM_WKTGEOMETRY' to generate `SDO_GEOMETRY` object
for Point, the `testdata` generate Point and MultiPoint with `SDO_POINT_TYPE`
or `SDO_ELEM_INFO_ARRAY` and `SDO_ORDINATE_ARRAY`.
With this way of creating Point and MultiPoint, we can test the way Point and
MultiPoint are converting to WKB.
2018-05-05 12:24:16 +10:00
Peter Petrik
aed3939cbd
rename qml library to QgsQuick
2018-05-04 14:20:43 +02:00
Matthias Kuhn
69de345784
Merge pull request #6922 from m-kuhn/relrefconditionalvaluechanged
...
Relation reference widget value changed signals
2018-05-04 09:39:15 +02:00
MieWinstrup
a36f6aa2e6
Added test of the action 'Move Out of Group' in the layer panel
2018-05-04 11:02:17 +10:00
Matthias Kuhn
6de0e4b301
Adjust tests
2018-05-03 16:14:07 +02:00
Peter Petrik
12183e98db
Fix reading/writing of mesh layer to a qgis project ( fixes #18801 ) (PR #6869 )
...
* fix guard header
* [bugfix] Fix reading/writing of mesh layer to a qgis project #18801
* fix copy-paste error
* fix copy-paste error
* extract decode source to derived classes
* remove raster providers from vector decode source
* reset testdata to master
2018-05-03 12:10:54 +02:00
Matthias Kuhn
2c415e8fa5
Unit tests for setting and getting relation reference widget values
2018-05-03 12:09:12 +02:00
Matthias Kuhn
da93520c1f
Setter and getter tests for relation reference widget
2018-05-03 12:08:18 +02:00
rldhont
956d669304
Merge pull request #6867 from pblottiere/bugfix_nobbox
...
[server] CRS position in GetCapabilities document
2018-05-02 22:22:36 +02:00
arnaud.morvan@camptocamp.com
f019bc0699
[server] Avoid %2B to be interpreted as space in querystring
...
If '+' is replaced by ' ' after percent decoding, '%2B' is interpreted as ' '.
Fix this by replacing '+' by '%20' before percent decoding.
2018-05-02 22:21:39 +02:00
arnaud.morvan@camptocamp.com
8553e809d4
Fix BBOX CRS in WFS GetFeature
2018-05-02 22:16:23 +02:00
Nyall Dawson
9809f9394b
[memory] Fix provider cannot handle fields with complex characters in name
...
Fixes #18885
2018-05-03 05:49:07 +10:00
Nyall Dawson
f4d38d4f09
Properly discard edit commands when calling QgsVectorLayer::destroyEditCommand()
...
Since it's not directly possible to pop the last command off
an QUndoStack (the command which is destroyed/discard by calling
this method), we add a dummy obsolete command to force this to occur.
Pushing the new command deletes the destroyed one, and since the new
command is obsolete it's automatically deleted by the undo stack.
2018-05-03 05:48:51 +10:00
Nyall Dawson
8f9a378d76
Seriously, I thought I told ya ta shuddup already, right?
2018-05-02 08:47:16 +10:00
Nyall Dawson
386495bc76
[processing] Also warn on non-matching point and extent CRS
...
if algorithm cannot handle automatic reprojection
2018-05-02 04:55:01 +10:00
Martin Dobias
3b36cdd170
Merge pull request #6750 from lbartoletti/visibleSnapPerf
...
[BUGFIX][FEATURE][NEEDS-DOCS] Disable snapping on invisible features. Second version
2018-05-01 09:46:59 +02:00
Nyall Dawson
cec59c0c39
Shutup more annoying Qt warnings
2018-05-01 17:39:21 +10:00
Nyall Dawson
6ca327072a
[FEATURE] Add expression functions for tapered and variable
...
width buffers
Adds:
- tapered_buffer
- buffer_by_m
expression functions. These expose the same functionality as the
equivalent processing algorithms but for use in expressions
such as geometry generators.
2018-05-01 06:16:01 +10:00
Nyall Dawson
9ffae600f4
[FEATURE] Variable width buffers
...
Adds geometry methods to create variable width buffers, including
tapered buffers (with a specified start and end diameter) and
variable width buffers from line string m values.
Also adds processing algorithms which expose these methods
to processing.
2018-05-01 06:16:01 +10:00
Nyall Dawson
2d3d6a8b83
[afs] Fix handling of date/datetime field values
2018-05-01 06:15:22 +10:00
Loïc Bartoletti
9f3d571155
clean tests and add a new test for snapping on inivisble feature
2018-04-30 17:02:47 +02:00
Nyall Dawson
c314639e00
[processing] More stringent testing of parameter validity
...
- Check static QgsProperty parameter values
- Properly check QgsProcessingFeatureSourceDefinition and
QgsProcessingOutputLayerDefinition values
2018-04-28 05:50:47 +10:00
Nyall Dawson
249dca7830
[processing] Consist helpful error messages when sinks cannot be created
...
And throw exceptions always when sinks are not created to avoid
generic errors
2018-04-28 05:50:47 +10:00
Nyall Dawson
5339d62715
[processing] More helpful errors when sources cannot be loaded
...
Include descriptive text with the specified parameter value
in error, and always check that sources were loaded to avoid
raw Python exceptions when they are not
2018-04-28 05:50:47 +10:00
Martin Dobias
16a6a90dd7
Merge pull request #6859 from wonder-sk/overlay-alg-fixes-3
...
Port Union algorithm to C++ and fix it
2018-04-26 22:56:22 +02:00
Blottiere Paul
1afe0d1bb8
Add unit tests
2018-04-26 16:18:29 +01:00
Peter Petrik
b1bf9b2809
[FEATURE] Introduction of QGIS Quick library
...
This pull request is a subset of #6490
This adds a new library for creation of applications based on Qt Quick
framework.
It contains reusable QML / Qt Quick components based on QGIS core
library.
The initial work introduces MapCanvas
To enable compilation of the library, use WITH_QUICK=TRUE
Further documentation of the library is located in doc/qgsquick.dox
For background information see the associated QEP:
qgis/QGIS-Enhancement-Proposals#109
The initial implementation is largely based on the work of Matthias Kuhn
and Marco Bernasocchi on QField probject - kudos to them for the great
job!
2018-04-26 13:33:48 +02:00
Blottiere Paul
ba02a5e258
Merge pull request #6851 from pblottiere/bugfix_segfault_z
...
[bugfix] Fixes Add Feature map tool when snapped layer has ZM support
2018-04-26 11:59:07 +01:00
Nyall Dawson
c3b69900f7
Followups
2018-04-26 19:01:50 +10:00
Nyall Dawson
c78bdaebca
[oracle] Some updates to Oracle provider test suite
...
Now the Oracle provider passes the data provider edit stress/
conformance tests without issue!
2018-04-26 19:01:50 +10:00
Nyall Dawson
3a3b0fe56d
[oracle] Fix handling of NULL values when add features to provider
...
Fixes NULL attribute values are incorrectly converted to empty
strings or 0 numeric values instead of NULL.
2018-04-26 19:01:50 +10:00
Martin Dobias
5e7719c38f
Tests for fieldNamesToIndices() and indicesToFields()
2018-04-26 10:51:34 +02:00
Nyall Dawson
d8c36233e8
Remove some more redundant include directories
2018-04-26 17:28:59 +12:00
Nyall Dawson
3f6e411edb
Remove some redundant geos includes
2018-04-26 17:28:59 +12:00
Nyall Dawson
d5626d9236
Remove geos include from qgsgeometry.h
...
Avoids the need to include geos from some build targets
2018-04-26 17:28:59 +12:00
Martin Dobias
ade216d02d
Merge pull request #6820 from PeterPetrik/QgsMeshLayer_1_mesh
...
[FEATURE] QgsMeshLayer part 1: Reading raw mesh
2018-04-25 09:02:24 +02:00
Blottiere Paul
f8e72ad3bd
Add unit tests
2018-04-24 17:38:46 +01:00
Loïc Bartoletti
5e5fdf9489
fix martin's review
2018-04-24 17:44:52 +02:00
rldhont
120d5b1d11
[Tests][Server] Add unit test for empty contextual legend
...
Manually port c217cbb4dd140695af74debbe052dbefc1d21e74
2018-04-24 13:17:31 +02:00
Nathan Woodrow
409ec85329
[FEATURE][needs-docs] Rework expression parser for unknown functions ( #6840 )
...
* [FEATURE][needs-docs] Rework expression parser for unknown functions
* Remove old comment
* Rename NAME and update tests
* Change COLUMN_REF to QUOTED_COLUMN_REF
2018-04-24 14:26:41 +10:00
Nyall Dawson
70b67c6150
Add some more line segment methods
2018-04-24 10:07:51 +12:00
Nyall Dawson
cd3b976d7e
Add class for comparing angles to points in a clockwise fashion
2018-04-24 10:07:51 +12:00
Nyall Dawson
fa9f62fc1c
Add class for comparing distance from two line segments to an origin
2018-04-24 10:07:51 +12:00
Nyall Dawson
6e6ddbba3f
Add QgsRay2D class representing an infinite ray from a point in a direction
2018-04-24 10:07:51 +12:00