1568 Commits

Author SHA1 Message Date
nirvn
dd7c168e0b document api break 2018-02-07 13:27:39 +07:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Juergen E. Fischer
98a8bc1670 INSTALL: use meta package to install osgeo4w build dependencies 2018-02-02 21:35:00 +01:00
nirvn
b5610ea5ba document API change 2018-02-01 09:11:45 +07:00
Nyall Dawson
3e42f808c1 Add missing directories to dox 2018-02-01 08:41:15 +11:00
Harrissou Sant-anna
91a80759bf Fully replace node* by vertex* 2018-01-31 04:51:20 +01:00
Denis Rouzaud
0e7cea2244 QgsGeometryUtils: rename 2 methods
- projPointOnSegment has been renamed to projectPointOnSegment
- getSelfIntersections has been renamed to selfIntersections
2018-01-24 03:38:59 -09:00
Nyall Dawson
d8402acee8 Remove composer from more code, port georeferencer reports to layouts 2018-01-18 09:21:45 +10:00
Nyall Dawson
64a8bda8cc Rename QgsApplication::composerTemplatePaths to layoutTemplatePaths 2018-01-17 04:58:41 +10:00
Denis Rouzaud
df90feff00 add missing since and complete API brea doc 2018-01-15 21:41:01 -04:00
Matthias Kuhn
168c469b32 Rename QgsGPS prefixed classes to QgsGps 2018-01-15 11:55:23 -04:00
Nyall Dawson
09fbdb1bc2 Drop color button/dialog live update option from API and UI
This options is broken in QGIS 3.0, but in any case has been
mostly made redundant by the live styling dock, and the other
non blocking color pickers which are implemented in most areas
of qgis now.
2018-01-15 12:40:44 +10:00
Nyall Dawson
ded9b0978d Rename QgsVectorLayer::pkAttributeList to primaryKeyAttributes() for consistency 2018-01-15 11:27:22 +10:00
Nyall Dawson
21c8956b18 Drop QgsVectorLayer::pendingFeatureCount()
Use QgsVectorLayer::featureCount() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
1da17904b8 Drop QgsVectorLayer::pendingAllAttributesList()
Use QgsVectorLayer::allAttributes() instead.
2018-01-15 11:27:22 +10:00
Nyall Dawson
068d51c3be Drop QgsVectorLayer::pendingFields()
Use QgsVectorLayer::fields() instead.
2018-01-15 11:27:22 +10:00
Denis Rouzaud
6894c8e1cd
get me out of Europe 2018-01-09 21:18:56 -04:00
Nathan Woodrow
11030dd4f1
Merge pull request #5522 from gacarrillor/developersmap
Developers Map: show more descriptive info
2018-01-10 11:10:08 +10:00
Nyall Dawson
db906273b5 Drop all composer classes from Python bindings 2018-01-08 13:35:15 +10:00
Matthias Kuhn
ed2f0563eb Document API break 2018-01-05 12:25:44 +01:00
Nyall Dawson
2d43dac0b5 Refine behavior of QgsGeometry equals tests
Before we had two checks - equals() and isGeosEqual() which
performed the exact same check (since equals() called the geos
equality test)

Since the geos equality test is a slow, topological test, which
considers two geometries equal if their component edges overlap,
but disregards ordering of vertices this is not always what we
want. There's also the issue that geos cannot consider m values
when testing the geometries, so two geometries with different
m values would be reported equal.

So, now calling QgsGeometry::equals performs a very fast, strict
equality test where geometries are only equal if the have exactly
the same vertices, type, and order.

And swap most code which was calling the slow geos test to instead
use the fast strict native test.
2018-01-05 09:59:22 +10:00
Nyall Dawson
b904731259 Respect transform context in point locator 2018-01-04 15:04:42 +11:00
Nyall Dawson
8f15cdf680 Respect transform contexts when tracing 2018-01-04 15:04:42 +11:00
Matthias Kuhn
156869379f Instructions for QgsCoordinateTransform::initialize API break 2017-12-24 11:17:28 +01:00
Nyall Dawson
4ff72de62e
Merge pull request #5858 from lbartoletti/segment_intersection
Segment intersection
2017-12-22 21:43:13 +11:00
Nyall Dawson
4643712a1e Fix missing transform contexts for QgsDistanceArea
QgsDistanceArea.setSourceCrs() now requires a QgsTransformContext
argument.
2017-12-20 17:37:46 +10:00
Nyall Dawson
f216b188d6 Move all datum transform related methods to QgsDatumTransform 2017-12-19 08:47:02 +10:00
lbartoletti
c5d9663191
Merge branch 'master' into segment_intersection 2017-12-15 20:42:00 +01:00
Denis Rouzaud
68aef9a426 ask for datum transform update on layer or project crs change
in the case of project crs change, if several transforms are available, pop up a message rather than showing multiple dialogs
2017-12-15 14:16:59 +10:00
Nyall Dawson
69c3debfc0 Nicer API for datum transforms
Instead of using QPairs of ints, use more descriptive structs, also
rename a lot of datum related methods for clarity and add docs
2017-12-15 14:16:59 +10:00
Nyall Dawson
cb693a72f9 Move caching to QgsCoordinateTransform
and remove no longer required QgsCoordinateTransformCache singleton
2017-12-15 14:14:08 +10:00
Nyall Dawson
018bfb49f9 Remove QgsDatumTransformStore
and port usage over to QgsCoordinateTransformContext instead
2017-12-15 14:13:52 +10:00
Nyall Dawson
86d9492372 Remove context-unaware QgsCoordinateTransform constructors from Python bindings
This forces Python code and plugins to become datum transform
aware, and given that upgrading python code is easy (just
add QgsProject.instance() as a new argument to the constructor)
it's relatively painless to force this on PyQGIS users.

Also fix upgrade the easy QgsCoordinateTransform c++ constructors
where the project is available, or where using QgsProject::instance()
is safe to do.

For others, just avoid the deprecated warnings until we can
get access to the correct project instance where the transform
is being constructed.
2017-12-15 14:13:22 +10:00
Nyall Dawson
2edb2d8ac7 Remove unused QgsCoordinateTransform::readXml/writeXml methods
These methods are not used in master and are of questionable
value. Better to serialise the source and dest crs separately
and create the transform when required
2017-12-15 14:11:49 +10:00
lbartoletti
03d8565e2a - Update api_break.dox
- rename isIntersect to isIntersection
- rename inter to intersectionPoint
2017-12-13 14:03:55 +01:00
Etienne Trimaille
5c28ecab8f update HTML data provider metadata (#5700)
* update HTML data provider metadata for grass, gdal and ams

* update HTML data provider metadata for WMS and WCS

* move HTML bullet list to QgsHtmlUtils
2017-12-13 13:29:41 +02:00
Matthias Kuhn
a45908f922 Remove dependency on QtScript 2017-12-10 13:01:51 +01:00
Nyall Dawson
ebe16f153f Update API breaks docs 2017-11-29 10:10:59 +10:00
Nathan Woodrow
01d1be9d70 Update API break docs 2017-11-27 14:52:36 +10:00
Alessandro Pasotti
58f559690e Add changed return values to api break 2017-11-24 13:41:25 +01:00
Etienne Trimaille
59cc5434b8 switch display between identification section and provider in the metadata tab 2017-11-21 17:16:36 +01:00
Etienne Trimaille
373471214f rename metadata() to htmlMetadata() in QgsRasterDataProvider 2017-11-21 11:38:50 +01:00
nirvn
153c83a3d4 Add @nirvn to AUTHORS, fix missing tab for Paul B. 2017-11-21 14:35:47 +07:00
nirvn
05d22bf1e7 @nirvn is a committer 2017-11-21 14:11:17 +07:00
Blottiere Paul
0bd5107e82
Merge pull request #5647 from pblottiere/contributor
Update contributors
2017-11-16 07:59:35 +00:00
Matthias Kuhn
bb6fda6cd6 Bump minimum spatialite version to 4.2 2017-11-16 07:57:41 +01:00
Blottiere Paul
5e2564cf4c Update contributors 2017-11-15 20:44:03 +00:00
Nyall Dawson
75885d70d5 Rename various WKT/WKB/GeoJSON/GML methods for consistency
and consistent capitalisation
2017-11-15 20:51:05 +10:00
Nyall Dawson
95765a191a Remove coordinate formatting methods from QgsPointXY
Use QgsCoordinateFormatter instead
2017-11-15 20:49:45 +10:00
Nyall Dawson
de7b33a373 [needs-docs] Remove option to show raster preview icons in layer tree
This option is not safe - see #16803, and generally undesirable
due to how slow generating the preview icons are
2017-11-15 10:14:47 +11:00