9316 Commits

Author SHA1 Message Date
Matthias Kuhn
0f2a49d9b5 Remove Point3D
... in favor of QgsPoint
Reference https://github.com/qgis/qgis3.0_api/issues/71
2017-06-03 08:20:30 +02:00
Matthias Kuhn
2bbadbacb7 Rename qgspoint.h and qgspointv2.h
To qgspointxy.h
And qgspoint.h
2017-06-02 19:53:37 +02:00
Matthias Kuhn
4f3cd3e12c QgsPoint migration 2017-06-02 19:53:37 +02:00
Matthias Kuhn
e3efc2c838 Fix tests 2017-06-02 19:53:37 +02:00
Matthias Kuhn
e2227d9998 Fix QgsPointXY issues 2017-06-02 19:53:37 +02:00
Matthias Kuhn
4ba385d4e1 Fix python plugins 2017-06-02 19:53:37 +02:00
Matthias Kuhn
a9d7630a69 Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
Because 3D coordinates should be the default.

References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Alessandro Pasotti
1067239565 Merge pull request #4629 from boundlessgeo/unified-button
Add layer button
2017-06-02 19:26:07 +02:00
Sandro Santilli
78c3423861 For GDAL sake extract a dbname from the connection
Works around GDAL limitation reported in:
https://trac.osgeo.org/gdal/ticket/6910

Ref #16625
Ref #16626
2017-06-02 17:31:41 +02:00
Alessandro Pasotti
de5996c7dc [addlayerbutton] Use enum for window mode instead of booleans 2017-06-02 16:57:45 +02:00
Alessandro Pasotti
129e00d7f3 [addlayerbutton] Added embeddedMode to all providers
Also switched managerMode and embeddedMode arguments
for a more logical arg passing from the factory function.
2017-06-02 16:57:45 +02:00
Sandro Santilli
861cf9abad Fix typo in URI service extraction (introduced in 93624b08)
Also add a comment about lack of support in GDAL up to 2.2.x for
service specification in datasource uri

Ref #16626
2017-06-02 16:44:27 +02:00
Alessandro Pasotti
d62d444ea7 Moved support classes into own private header 2017-06-02 14:51:02 +02:00
Alessandro Pasotti
7082649778 Added docs and SIP bindings for QgsBrowserDockWidget 2017-06-02 14:51:02 +02:00
Denis Rouzaud
2d78ef80a9 handle PyName for enums 2017-06-02 13:27:15 +02:00
Denis Rouzaud
98f653e6a5 sipify core raster part 2 2017-06-02 13:27:15 +02:00
Alexander Bruy
74984b2525 [processing] always look for SAGA LTR first (fix #16648) 2017-06-02 10:08:22 +03:00
Alexander Bruy
19cfa83e4e [processing] fix description for GRASS 7 v.drape algorithm (fix #16175) 2017-06-02 09:21:53 +03:00
Nyall Dawson
4d936cea2b Add method to convert QgsUnitTypes::RenderUnit to translated string 2017-06-02 08:50:59 +10:00
rldhont
df9ee6f705 Merge pull request #4313 from pblottiere/cleansingleton
[Server] WMS getmap refactoring
2017-06-01 17:57:11 +02:00
Etienne Trimaille
b17b36efc9 sipify OSM classes 2017-06-01 14:55:27 +02:00
Denis Rouzaud
6c7a12a207 sip doesn't like named argument in operators (apparently) 2017-06-01 13:42:27 +02:00
Denis Rouzaud
3e73ac7a5d fix missing private operator 2017-06-01 13:33:16 +02:00
Denis Rouzaud
07fa24781c sipify core raster part 1 2017-06-01 13:33:16 +02:00
Nyall Dawson
2f9bfc5653 Merge pull request #4661 from nyalldawson/feature_index
Add method for manually inserting features into spatial indexes
2017-06-01 18:24:44 +10:00
Nyall Dawson
d8d17524b2 Make QgsSpatialIndex protected members private
The class is not designed to be subclassed
2017-06-01 10:09:09 +10:00
Nyall Dawson
ff171ea101 Add method for manually inserting features into spatial indexes
i.e. inserting a feature with a different bounding box to that
feature's actual geometry
2017-06-01 10:03:51 +10:00
Nyall Dawson
5077e1285e Merge pull request #4652 from nyalldawson/extent
[FEATURE] Add option to take extent from project map layer to QgsExtentGroupBox
2017-06-01 10:02:39 +10:00
Nyall Dawson
9e147413db Move logic for maintaining exact extent when CRS changes from
raster layer save as dialog to QgsExtentGroupBox, add tests
2017-06-01 09:10:07 +10:00
Denis Rouzaud
2148fa9287 handle protected inheritance, rename ui class to avoid class name collision 2017-05-31 14:37:30 +02:00
Denis Rouzaud
625cfc7c8f sip gui layertree and raster 2017-05-31 14:37:30 +02:00
Nyall Dawson
e2de69d32d Ensure extent is updated when QgsExtentGroupBox crs is changed 2017-05-31 21:18:44 +10:00
Nyall Dawson
f216db102c Clean up QgsExtentGroupBox API
Make protected members private, improve documentation
2017-05-31 21:05:43 +10:00
Nyall Dawson
4e4f232ad4 [FEATURE] Add option to take extent from project map layer
to QgsExtentGroupBox

This allows matching another layer's extent in the save vector/
raster layer dialog, among others

Fix #16357
2017-05-31 20:29:30 +10:00
Etienne Trimaille
6eb3570511 sipify 2017-05-31 10:48:11 +02:00
Denis Rouzaud
7e52f06ad2 sipify gui auth classes 2017-05-31 10:44:30 +02:00
Nyall Dawson
77fd7e63ea Merge pull request #4646 from nyalldawson/rotation
Unify UX behavior, pt 2: rotation
2017-05-31 12:54:35 +10:00
Denis Rouzaud
8ce847f9b4 more constness 2017-05-30 22:27:44 +02:00
Denis Rouzaud
2c56f42482 add Factory annotation to clone() methods 2017-05-30 15:49:40 +02:00
Denis Rouzaud
736e303d30 missing annotation and fix warning 2017-05-30 14:39:33 +02:00
Blottiere Paul
c85cf23344 Update sip binding 2017-05-30 10:50:28 +02:00
Sandro Santilli
d56a692bec Fix typo 2017-05-30 10:33:18 +02:00
Nyall Dawson
f83d2f4097 Sipify update 2017-05-30 17:24:12 +10:00
Nyall Dawson
21a4ac4d3a Unify label rotation with other rotation settings
Label rotation is now specified in degrees clockwise, just like
symbol rotation, map rotation, etc.

Fix #4518
2017-05-30 17:23:24 +10:00
Sandro Santilli
a53f66048c Pass "service" parameter to gdal when opening PostGIS Rasters
See #16626 - needs backport to 2.18
2017-05-30 09:21:32 +02:00
Nyall Dawson
df52620377 Make QgsMapSettings rotation API docs follow same standard as other rotation API 2017-05-30 17:19:25 +10:00
Nyall Dawson
d705642fb3 Update diagram renderer to use rotation in degrees clockwise 2017-05-30 17:19:25 +10:00
Nyall Dawson
f9c48bf0ce Allow transform effect rotation from -360 to 360 2017-05-30 17:18:41 +10:00
Nyall Dawson
aaddfedda8 [composer] Allow map rotation from -360 to 360
Fix #15823

Also reenable instant map refresh as map rotation changes. Since
map refresh is done in the background now, this is safe to reenable.
2017-05-30 17:18:41 +10:00
Nyall Dawson
efe6109cf2 Merge pull request #4641 from nyalldawson/alpha
Unify opacity UI/API, pt 1
2017-05-30 16:50:43 +10:00