1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-01 00:05:25 -04:00

3959 Commits

Author SHA1 Message Date
Nyall Dawson
8499d7fcef Add option to hide non-spatial formats from driver lists
And hide non-spatial formats from geometry checker available formats
2017-11-06 07:49:31 +10:00
Nyall Dawson
fe0566000e More QPair API removal 2017-11-06 07:34:01 +10:00
Nyall Dawson
a4ef7e42c7 Avoid use of QPair and instead use a struct 2017-11-06 07:22:04 +10:00
Nyall Dawson
dc341d2047 Add flags to QgsVectorFileWriter methods which return lists of drivers
Initially only flag available is whether to sort drivers by
recommended order. The recommended order puts GPKG first and
SHP second, then leaves the rest alphabetical.

This fixes a few instances in the QGIS gui where these recommended formats
are not listed first.
2017-11-06 07:22:04 +10:00
Nyall Dawson
b07f6757a5 Cleanup QgsSvgCache API
- Remove QgsSvgCacheEntry from public API (is an internal detail only)
- Modernize code
- Make protected QgsSvgCache members private, since this class is not
designed to be subclassed
2017-10-31 10:43:44 +10:00
Matthias Kuhn
e0025b65b1
Rename QgsGeometry::fromPoint to QgsGeometry::fromPointXY
Also introduces the from[Geometry]XY for QgsGeometryFactory
2017-10-30 09:14:06 +01:00
Matthias Kuhn
82e6d1219f
Rename from[GeometryType] to from[GeometryType]XY
- QgsGeometry::fromPoint() was renamed to fromPointXY()
- QgsGeometry::fromMultiPoint() was renamed to fromMultiPointXY()
- QgsGeometry::fromMultiPolyline() was renamed to fromMultiPolylineXY()
- QgsGeometry::fromPolygon() was renamed to fromPolygonXY()
- QgsGeometry::fromMultiPolygon() was renamed to fromMultiPolygonXY()
2017-10-30 09:14:06 +01:00
Matthias Kuhn
ca74e391cd
Rename QgsGeometry.addPoints with XY / V2-less versions 2017-10-30 09:14:05 +01:00
Matthias Kuhn
e19f6482ca
Various fixes to dropping V2 suffix 2017-10-30 09:14:05 +01:00
Matthias Kuhn
7f3ad76882
Rename QgsMultiPolygonV2 to QgsMultiPolygon 2017-10-30 09:14:04 +01:00
Matthias Kuhn
3fcdcd87af
Rename QgsMultiPointV2 to QgsMultiPoint 2017-10-30 09:14:04 +01:00
Matthias Kuhn
b6f46eae11
Rename QgsPolygonV2 to QgsPolygon 2017-10-30 09:14:04 +01:00
Matthias Kuhn
9a57bae6f4
Rename QgsMultiPolygon to QgsMultiPolygonXY 2017-10-30 09:14:04 +01:00
Matthias Kuhn
b7908744e3
Rename QgsMultiPolyline to QgsMultiPolylineXY 2017-10-30 09:14:03 +01:00
Matthias Kuhn
29e65ed087
Rename QgsMultiPoint to QgsMultiPointXY 2017-10-30 09:14:03 +01:00
Matthias Kuhn
becf86cf6c
Rename QgsPolygon to QgsPolygonXY 2017-10-30 09:14:03 +01:00
Matthias Kuhn
37e9272f3d Fix API typo 2017-10-29 13:31:17 +01:00
Matthias Kuhn
0c321fb5b0 Decouple transaction handling from QgsProject 2017-10-29 13:31:17 +01:00
Larry Shaffer
8032de8d06 [auth][api] Remove deprecated QSslCertificate::isValid()
Substitue QgsAuthCertUtils::certIsViable(cert), which checks similar
characteristics to old function, plus whether the cert is null.
2017-10-27 14:01:03 -06:00
Alessandro Pasotti
d64529f4ce [api][auth] Removed get prefix from all getters in auth manager 2017-10-27 14:27:29 +02:00
Matthias Kuhn
40955b24dd Merge pull request from m-kuhn/relrefthreadingv2
[feature] Relation Reference Widget : Threaded Version
2017-10-27 11:07:25 +02:00
Matthias Kuhn
38a4eb48be
Code improvements 2017-10-27 09:43:55 +02:00
Nyall Dawson
4372ac2658 [FEATURE][processing] Native c++ snap to grid algorithm
With support for snapping Z/M values, keeping curves
2017-10-27 15:16:15 +10:00
Nyall Dawson
c67e39812d Improvements to QgsAbstractGeometry::snappedToGrid
- Fix loss of coordinates when not rounding a particular dimension
- Don't segmentize curved geometries
- Add extra unit tests
- Make createEmptyWithSameType() protected and skip from Python bindings.
This method relies on low-level manipulation of the returned geometry
which we do not want to expose as public/fixed API
2017-10-27 14:37:35 +10:00
Martí Angelats i Ribera
3f5b11bffe Make asGridified and newSameType (helper function) 2017-10-27 11:22:47 +10:00
Nyall Dawson
131b15f2a7 Merge pull request from nyalldawson/grid_renderer
Grid renderer
2017-10-27 10:23:21 +11:00
Nyall Dawson
b80160a628 Merge pull request from lbartoletti/improve_triangle
Improve triangle
2017-10-27 08:47:41 +11:00
myarjunar
ff2ade9843 [FEATURE] add grid renderer for points displacement. funded by Kartoza 2017-10-27 07:06:07 +10:00
Larry Shaffer
8501053a0d Merge pull request from boundlessgeo/BD-2507-pki-bundle-validation
[auth] PKI bundle validation utility function
2017-10-26 13:52:57 -06:00
Larry Shaffer
3210f8546a Merge pull request from boundlessgeo/pkcs8-to-pkcs1
[auth] Convert PKCS8 to PKCS1 private keys (for macOS)
2017-10-26 12:42:12 -06:00
Alessandro Pasotti
89166a0d2e [auth] Add utility method to validate a PKI bundle 2017-10-26 18:26:47 +02:00
Alessandro Pasotti
f1eba3a849 [auth] Add validatePKIBundle 2017-10-26 18:24:35 +02:00
Alessandro Pasotti
0557b394d8 Add documentation for the hostName argument 2017-10-26 18:24:35 +02:00
Alessandro Pasotti
368b0df24e [auth] Add certificate chain validation routine 2017-10-26 18:24:35 +02:00
Alessandro Pasotti
92b3b5bcbc Merge pull request from boundlessgeo/BD-2279-authmanager-singleton
[auth] Authmanager singleton API removal
2017-10-26 17:31:04 +02:00
Matthias Kuhn
c661ab1090
Allow using NULL values 2017-10-26 15:31:50 +02:00
Matthias Kuhn
0b090fe141
Doxyfixes 2017-10-26 15:30:40 +02:00
Matthias Kuhn
d8b641b591
Doxymentation 2017-10-26 15:30:39 +02:00
Matthias Kuhn
7811f38e48
[FEATURE] Add QgsFeatureListComboBox with live-filter-capabilities 2017-10-26 15:30:38 +02:00
lbartoletti
6bcbbeb708 - A triangle can have double points or colinear points, my bad. It is a
degenerate triangle
- remove duplicate tests (triangle2())
2017-10-26 13:30:32 +02:00
Matthias Kuhn
d31f0940e1
Update sip 2017-10-26 12:25:50 +02:00
Matthias Kuhn
ba75123f4f Merge pull request from m-kuhn/iteratorTimeout
[feature] Allow to specify timeout when requesting features
2017-10-26 10:55:23 +02:00
Matthias Kuhn
dc5eefb588 Merge pull request from signedav/relationshipstrength
Duplication Feature and its relating Features
2017-10-26 10:43:45 +02:00
David
3dbffb07a4 improved api doc 2017-10-26 10:28:42 +02:00
Alessandro Pasotti
bb73f0d8db [auth] Removed instance and ctor from bindings 2017-10-26 10:10:27 +02:00
Alessandro Pasotti
48984dd089 [auth] Authmanager singleton removal from API 2017-10-26 10:10:27 +02:00
Blottiere Paul
861e05b406 Merge pull request from pblottiere/dirty
[FEATURE] Add a flag to dirty edit buffer when using executeSql in transactions
2017-10-26 07:07:14 +01:00
David
69f069a353 spelling stuff 2017-10-26 07:10:30 +02:00
Nyall Dawson
55203a0fc2 Merge pull request from nyalldawson/primitive
Rename (and make safe) QgsGeometry::geometry()
2017-10-26 11:04:34 +11:00
Nyall Dawson
a2f380b2bd Add missing override 2017-10-26 09:13:08 +10:00