1692 Commits

Author SHA1 Message Date
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
Nyall Dawson
7c53dc1574 Correctly parent browser item actions to transient menu instance
Currently most browser item actions are parented to the item
itself, which is often long-lived (e.g. connection items
which last for the duration of the qgis session). This
commit adds an explicit parent widget parameter to
QgsDataItem::actions to ensure that the newly created actions
are correctly parented to the menu, and deleted after the
menu is removed.
2017-09-22 09:32:54 +10:00
Matthias Kuhn
37e522e77e
Document API breaks 2017-09-18 18:34:22 +02:00
Martin Dobias
9778e85159 Add 3d to doxygen, do not verify indentation of included poly2tri lib 2017-09-15 12:36:44 +02:00
Nyall Dawson
742f3e5b4d Merge pull request #5112 from nyalldawson/locator_core
Move locator non-gui classes to core
2017-09-13 18:50:28 +10:00
Nyall Dawson
d7fff83b38 Include geonode folder in doxyden search folders
Required to build the docs for this folder, and correctly
include the classes in the documentation coverage test
2017-09-13 05:47:53 +10:00
Alessandro Pasotti
850fed557f Const getter and api break docs 2017-09-12 15:12:37 +02:00
Martin Dobias
f938b60f12 Handle mouse events of adv.digitizing map tools in the map tool base class 2017-09-10 16:34:13 +02:00
Martin Dobias
ae713b4c81 Move snapSegment() from map mouse event to private area of CAD dock 2017-09-10 16:34:13 +02:00
Martin Dobias
22ad67295b More advanced digitizing dock widget cleanups
- CaptureMode enum has been moved back to QgsMapToolCapture where it belongs
- map tools that need clearing of CAD points do so explicitly when needed
2017-09-10 16:34:13 +02:00
Martin Dobias
a2b2567ca3 Better control of CAD dock widget operation from map tools 2017-09-10 16:33:02 +02:00
Nyall Dawson
ea09aa92a3 Remove QgsTransectSample
Because:
- it's unused in master, and is more code to maintain
just for possible use by plugins
- it's unmaintained, and has had no work done (beside compilation
fixes) in the recent past
- there's no unit tests or detailed documentation to show
how the class should be used
2017-09-04 09:05:38 +10:00
Idan Miara
471573d279 Merge branch 'master' of https://github.com/qgis/QGIS 2017-09-04 00:51:40 +03:00
Nyall Dawson
a8e1d335bb Move locator non-gui classes to core
Allows reuse in projects which don't build QGIS gui, e.g.
QField
2017-09-03 16:15:20 +10:00
Nyall Dawson
9ca57bd62c Use a QgsFeatureSink instead of path to shapefile in QgsTinInterpolator
Instead of just forcing writing the triangulation to a shapefile (boo!)
change the parameter to use a QgsFeatureSink, so that anything
which implements the QgsFeatureSink interface can be used for
storing the triangulation.
2017-08-29 21:46:35 +10:00
Nyall Dawson
eb7ad7aebe Swap final uses of QProgressDialog in analysis lib to QgsFeedback 2017-08-29 21:46:35 +10:00
Nyall Dawson
04fec09c3e Remove interpolation internal classes from stable API
These classes still need a lot of cleanup (e.g. use of proper
3d geometry classes instead of their own 3d line classes, etc)
and we don't want them locked into the 3.0 API.

Better to remove them from the API and reintroduce them after
they have been cleaned up (in >3.0). They are mostly implementation
details anyway, and unlikely to be used outside of the high
level interpolation classes.
2017-08-29 21:46:35 +10:00
Nyall Dawson
090bb9bba4 Use QgsFeedback instead of QProgressDialog in tin interpolator 2017-08-19 05:05:40 +10:00
Nyall Dawson
356588abf0 Use QgsFeedback in QgsGridFileWriter instead of QProgressDialog 2017-08-19 04:08:04 +10:00
Nyall Dawson
be48f17e2c Use a QgsFeedback object in QgsRelief instead of QProgressDialog 2017-08-19 00:09:12 +10:00
Nyall Dawson
5abbab1a11 Merge pull request #4993 from nyalldawson/remove_analyzer
Remove QgsGeometryAnalyzer, QgsOverlayAnalyzer, QgsPointSample
2017-08-17 15:54:43 +10:00
Martin Dobias
0be0a4e30c Always use snapping configuration from the project in adv.digitizing dock
It was slightly confusing to have another override for snapping while it is possible
to configure "no snapping" or "all layers" snapping mode in project anyway.
And with the nice snapping toolbar it can be also done very quickly.
2017-08-16 14:37:19 +02:00
Matthias Kuhn
7768f06776 Document api breaks 2017-08-13 20:19:32 +02:00
Nyall Dawson
44f98d9ac8 Fix spelling 2017-08-14 03:15:44 +10:00
Matthias Kuhn
35da03f640
Update NEWS 2017-08-13 17:19:13 +02:00