1513 Commits

Author SHA1 Message Date
Nyall Dawson
ba62ffce2c Make constructors for QgsVectorLayer and QgsRasterLayer more flexible
...by moving extra arguments to new LayerOptions structs. This allows
us to more easily add new layer constructor options without making
the API cumbersome to use.
2017-11-09 14:28:51 +11:00
Juergen E. Fischer
cb8fc6860d about translators: grey background, centered flags, replace flag for german 2017-11-07 21:44:55 +01:00
Juergen E. Fischer
ac1db7e605 add SVG translation flags 2017-11-06 20:59:41 +01: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
Alessandro Pasotti
da8a5f4532
Added QgsApplication::authManager() to API break docs 2017-11-03 11:26:56 +01:00
Nyall Dawson
8631472089 QgsTINInterpolator->QgsTinInterpolator 2017-11-03 10:49:33 +10:00
Nyall Dawson
e91ee5b71c More flexible API for interpolation
E.g. adds API support for interpolating by m value
2017-11-03 09:18:45 +10:00
Nyall Dawson
fd7ffad5fd Update api break docs 2017-11-03 07:42:32 +10:00
Juergen E. Fischer
ac12258e11 * include python runtime dependencies in INSTALL (followup e9d2fd67)
* also update INSTALL.html (run t2tdoc target; followup 8dfa0217d)
2017-11-02 20:55:46 +01:00
Régis Haubourg
8dfa0217d9
fixup ccache install instruction in doc files using txt2tags 2017-11-02 15:26:03 +01:00
Juergen E. Fischer
e9d2fd676d add qt5-default to debian/ubuntu dependency list in INSTALL 2017-11-01 15:46:56 +01:00
Juergen E. Fischer
6418a831a4 remove remaining references to pyspatialite (followup 39816cf84) 2017-11-01 10:45:28 +01:00
Nyall Dawson
48d43d37ed
Merge pull request #5497 from nyalldawson/svg_crash
Fix crashes and issues with SVG rendering
2017-11-01 05:21:37 +11:00
Nyall Dawson
05ad0bc04a Update API break dox 2017-10-31 16:01:33 +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
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
b4e0ebe4a8
Document API breaks 2017-10-30 09:14:05 +01:00
Juergen E. Fischer
e523780945 add loading of spatialite on windows and remove remaining references to
pyspatialite (followup 39816cf84)
2017-10-29 20:32:43 +01:00
Matthias Kuhn
28f2722650 QgsTransaction.create expects layers, not ids 2017-10-29 13:31:17 +01:00
Alessandro Pasotti
d64529f4ce [api][auth] Removed get prefix from all getters in auth manager 2017-10-27 14:27:29 +02:00
Daniele Viganò
a625e731e3 Sync documentation about compilation on Fedora 2017-10-26 21:07:52 +02:00
Nyall Dawson
089fa36169 Merge pull request #5285 from DelazJ/patch-1
Add source files location
2017-10-26 13:31:02 +11:00
Nyall Dawson
c70a47e249 Update API break docs 2017-10-26 07:06:34 +10:00
Nyall Dawson
46a6f25d6f Merge pull request #5418 from nyalldawson/from_polyline
Rename QgsGeometry::fromPolyline as QgsGeometry::fromPolylineXY
2017-10-24 08:21:30 +11:00
Nyall Dawson
2e8e72d02d Optimise determination of adjacent vertices and move to QgsAbstractGeometry
Previously the method in QgsGeometryUtils was relying on
QgsAbstractGeometry::coordinateSequence, which is an absolute
performance killer.

Instead move to optimised methods in the various abstract
geometry subclasses which rely only on trivial calculations.
2017-10-23 08:03:22 +11:00
Nyall Dawson
c4f3832af2 Rename QgsGeometry::fromPolyline as QgsGeometry::fromPolylineXY
and add new QgsGeometry::fromPolyline which uses QgsPoint

We want to encourage people not to use the QgsPointXY method, as it drops
Z/M values. So it's moved across to a different name to make way
for a new QgsGeometry::fromPolyline which uses a QgsPoint list
instead of QgsPointXY, thus keeping Z/M values intact.

Similarly, QgsPolyline now is a list of QgsPoint (keeping z/m values)
and the old 2d QgsPolyline type was renamed to QgsPolylineXY.

Making the QgsPoint method the "preferred" method and making linestrings
just as easy to create from z/m dimensioned points as 2d points is
important to push people to write code which does not discard
these important dimensions.

As a bonus, the QgsPoint methods are more efficient anyway, since
they don't require creation of a temporary list.
2017-10-22 18:10:14 +10:00
Nyall Dawson
406425d68a Rename method, docs and api breaks documentation 2017-10-19 07:29:48 +10:00
Nyall Dawson
e92e20e613 Move native c++ processing algorithms from core library to analysis
And split into separate files for each algorithm
2017-10-16 20:10:37 +11:00
James Shaeffer
ea95b38509 Added new contributor (#5363) 2017-10-16 09:27:47 +10:00
Harrissou Sant-anna
892ec18ea6 Add source files location 2017-10-14 22:02:56 +02:00
Nyall Dawson
947b0cc49e Safer memory management in geos
Also speed up avoid intersections by removing unnecessary geometry
cloning
2017-10-13 19:55:57 +10:00
Nyall Dawson
c3fdaa950d Some safer memory management for geos 2017-10-13 19:54:00 +10:00
Martin Dobias
ca0aa72bf1 [needs-docs] Remove OpenStreetMap integration in analysis lib + app
- unmaintained and barely working anymore
- clunky GUI
- not supporting .pbf
- there are other python plugins doing the same thing better
- nobody is using it anymore

https://lists.osgeo.org/pipermail/qgis-developer/2017-October/050103.html
2017-10-13 09:39:47 +02:00
Matthias Kuhn
7428516d20
Less executable files in codebase 2017-10-04 14:38:27 +02:00
Martin Dobias
7874d4b6d6 Merge pull request #5183 from wonder-sk/cad-utils
Refactor CAD editing alignment logic to new QgsCadUtils class
2017-10-04 00:04:03 +02:00
Martin Dobias
878dfddd3b Refactor CAD editing alignment logic to new QgsCadUtils class 2017-10-03 17:01:54 +02:00
Nyall Dawson
58f64bb4af Merge pull request #5276 from nyalldawson/build_dep
Update some Windows build instructions
2017-10-03 10:21:46 +10:00
Martin Dobias
68bb68d176 [FEATURE] QGIS 3D (pull request #5203) 2017-10-02 23:02:37 +02:00
Nyall Dawson
2326334cb3 Update INSTALL 2017-10-02 11:30:12 +10:00
Nyall Dawson
4330120223 Update references to Qt4 in msys build instructions to Qt5
(untested)
2017-10-02 11:21:49 +10:00
Nyall Dawson
078d68fb7f Update ancient cmake download link 2017-10-02 11:19:23 +10:00
Nyall Dawson
6e14917a3a Explicitly mention that Python3 is a compulsory build dependancy 2017-10-02 11:17:25 +10:00
Nyall Dawson
93a5a84967 Add python3-six to windows build deps
It's required for building the expression context help
2017-10-02 11:14:47 +10:00
Matthias Kuhn
0fbdb04594
API break documentation 2017-09-29 10:58:20 +02:00
Marco Bernasocchi
e06ec71260 Update linux.t2t 2017-09-29 08:53:24 +02:00
Martin Dobias
1eeb2ee111 Add 3d doxygen group + more doxymentation 2017-09-25 16:07:04 +02:00
Nyall Dawson
d704163884 Rename QgsRectangle::buffer to buffered and mark as const 2017-09-25 17:20:36 +10:00
Juergen E. Fischer
fdbc123891 INSTALL: add ubuntu artful (implements #17177) 2017-09-23 14:40:52 +02:00