Matthias Kuhn
30cada8825
Merge pull request #32513 from m-kuhn/dxfNoNan
...
[dxf export] initialize PointZ with 0
2019-10-31 08:51:49 +01:00
Hugo Mercier
737585d0da
Allow the execution of Oracle tests on an arbitrary DB
2019-10-31 08:45:30 +01:00
Matthias Kuhn
d6ca284634
Avoid type conversion for QCOMPARE
2019-10-31 08:40:53 +01:00
Nyall Dawson
8b7447a3c2
When reading a project, fallback to default view extent if canvas
...
extents are not set
2019-10-31 14:59:39 +10:00
Nyall Dawson
f602ed3751
Add API to allow setting the default view extent for a new project
...
Allows a QgsProject created using QGIS api only (i.e., not via the desktop
application) to specify the default extent which should be visible when
that project is opened.
Straight from the dox:
Sets the default view extent, which should be used as the initial map extent
when this project is opened.
\warning When a project is opened in the QGIS desktop application and saved, individual
map canvases will store their own previous view extent as custom project properties. Reloading
this saved version of the project will trigger the canvases to restore their individual last view
extents. Accordingly, in the QGIS desktop application, this setting only forms a default, initial
view used when the project is opened for the very first time.
2019-10-31 14:59:39 +10:00
Nyall Dawson
65490ab13e
Move QgsProject map scales settings to a new class, QgsProjectViewSettings
...
attached to QgsProject
And deprecate old getters/setters
The goal here is to create a place for project view related settings (e.g.
map scales, default extent, possibly future things like a fixed project
maximum area of interest, etc). Currently these are all handled in an
ad-hoc way, e.g. sometimes in project custom keys, sometimes inside
xml saved and restored by map canvases. But both these approaches break
important use case for plugins, e.g. creating a project from scratch
which will zoom to a desired extent on load. That's totally impossible
in the current API, unless you resort to extremely fragile manual
xml crafting...
2019-10-31 14:59:39 +10:00
Alessandro Pasotti
e689a65bb3
Merge pull request #32322 from elpaso/server-wfs3-timefilter-dimensions
...
[feature] Server wfs3 timefilter dimensions
2019-10-30 18:29:49 +01:00
Julien Cabieces
340651b2f7
fix spell error
2019-10-30 14:59:11 +01:00
Matthias Kuhn
6746fec749
Merge pull request #31966 from m-kuhn/fix28914
...
Fix move selected to top
2019-10-30 14:29:10 +01:00
Matthias Kuhn
3a063d4135
Test attribute table "selected on top"
2019-10-30 12:50:16 +01:00
Alessandro Pasotti
43e092f412
Fix tests and remove unnecessary code
...
also correctly down-up cast date(time) when needed
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
76f4c96dc6
Remove unused code (leftover)
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
5ea32bce18
Server OAPIF time queries: handle infinity
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
72efe7ca4f
Server: adapt infinity filters to QgsRange API
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
358c814722
Server OAPIF temporal extent
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
c9df6aee25
Server OAPIF time filter: check validity
...
Raise if empty
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
3a10f69d80
Server OAPIF use QgsRange classes for intervals
...
with full test coverage for single values and ranges,
supports time, datetime and string fields.
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
07bb6b77e1
Server OAPIF datetime filter support
...
with full test coverage for single values and ranges,
supports time, datetime and string fields.
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
595807171d
Server: datetime basic filter support for OAPIF
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
6112da45f6
Server OAPIF datetime support
2019-10-30 11:53:13 +01:00
Matthias Kuhn
edd89502f5
Test for no nan in dxf
2019-10-30 11:29:36 +01:00
Julien Cabieces
95a100bcc4
Don't delete locator while indexing
2019-10-30 11:06:14 +01:00
Julien Cabieces
d246d9f593
Don't call processEvents and clear added/deleted list
2019-10-30 10:46:26 +01:00
Julien Cabieces
7fd98e8782
Fix wait to be finished and add test
2019-10-30 09:32:28 +01:00
Julien Cabieces
0bf527f54d
Replace snapToMapRelaxed with a boolean
2019-10-30 09:32:28 +01:00
Matthias Kuhn
f96e1922ca
[FEATURE] Parallelize snap index build
2019-10-30 09:32:28 +01:00
nirvn
b2e7121493
[FEATURE][symbology] Add density-based point count for the random marker fill
2019-10-30 12:04:13 +07:00
Alessandro Pasotti
4263637ba6
Fix raster calc OpenCL < operator
...
Fixes #32477
also:
- catch build exceptions
- remove parenthesis after casting numbers
- add cast to raster ref (for fabs overload)
with tests
2019-10-30 11:19:15 +10:00
Julien Cabieces
3453659c02
fix waitforfinished layout legend test
2019-10-30 08:17:26 +10:00
Peter Petrik
dd98331ace
[feature] [mesh] fix #31550 Expose new methods in analysis library for exporting contours for mesh layers
...
The mesh styling dialog now has new combo box for selection of resampling method for datesets defined on faces.
Also the analysis library has new class QgsMeshContours with export function for contour lines and contour polygons.
2019-10-29 23:16:04 +01:00
Alessandro Pasotti
a04354c42b
Merge pull request #32481 from elpaso/bugfix-gh-32475-server-security-access-control
...
Fix server WMS access control security issue
2019-10-29 16:38:21 +01:00
Alessandro Pasotti
28d682243f
Autopep8
2019-10-29 15:38:33 +01:00
Alessandro Pasotti
4eaab04204
Merge pull request #32464 from elpaso/connections-db-api-spatialite
...
Connections db api spatialite
2019-10-29 14:08:31 +01:00
Alessandro Pasotti
b77dc8b806
Fix server WMS access control security issue
...
Fixes #32475
2019-10-29 11:43:02 +01:00
Nyall Dawson
e3eb4f54ab
[processing] Fix string escaping when converting models to python code
...
with expression parameters
Fixes #32451
2019-10-29 19:30:39 +10:00
Matthias Kuhn
328f365b16
Merge pull request #31951 from troopa81/feature_update_layer_selection_from_relation_editor
...
Feature update layer selection relation widgets
2019-10-29 08:32:32 +01:00
Alessandro Pasotti
0444cc1d60
Add test case for spatialite connections API
2019-10-28 18:47:56 +01:00
Alessandro Pasotti
ff39fe9d57
Implement connections API for spatialite
...
API only: no client code is actually using this API yet.
2019-10-28 18:45:40 +01:00
Alessandro Pasotti
f69d7f8f83
Merge pull request #32435 from elpaso/connections-db-api-tables-table_uri
...
Connections db api tables table uri
2019-10-28 15:18:21 +01:00
Juergen E. Fischer
03baeea083
fix python constructor for QgsPoint (does not accept QgsPointXY & QPointF anymore)
...
fixes #32443
2019-10-28 11:16:44 +01:00
Julien Cabieces
1e2abf9b59
Filter selected feature to the related feature parent
2019-10-28 09:50:13 +01:00
Nyall Dawson
64a19b462d
Fix test image
2019-10-28 14:34:30 +10:00
Nyall Dawson
a4d20a0e50
Indentation
2019-10-28 14:34:30 +10:00
Nyall Dawson
52dba5db77
Add unit tests for multipolygon random marker fill
2019-10-28 14:34:30 +10:00
Nyall Dawson
f373203d18
Newly created random marker fills should default to a new random seed,
...
rather then the "randomized" seed setting
Having seeded random fills by default is much more predicatable and
expected behavior for users
2019-10-28 14:34:30 +10:00
Nyall Dawson
5aa6d65d1f
Remove duplicate files
2019-10-28 14:34:30 +10:00
Nyall Dawson
affbae36b5
Unit tests for random marker fill
2019-10-28 14:34:30 +10:00
Even Rouault
fc6d01b77a
Merge pull request #32437 from rouault/fix_compilation_qt_5_9_0
...
Fix compilation with QT 5.9.0
2019-10-27 13:30:49 +01:00
Even Rouault
6c02dbab22
fcnGenericHash(): emit error message if request hash method isn't available
2019-10-27 09:40:08 +01:00
Nyall Dawson
626d83d033
Add unit tests
2019-10-27 10:07:04 +10:00