44 Commits

Author SHA1 Message Date
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
Denis Rouzaud
3d43f639d5 add missing signals 2017-05-04 08:59:45 +02:00
Alexander Bruy
6f4b0c995d doxymentation 2017-05-04 08:59:45 +02:00
Alexander Bruy
fd9569febe fix qgsgraphanalyzer.h for sipification 2017-05-04 08:59:45 +02:00
Alexander Bruy
31cd113b55 update SIP files 2017-05-04 08:59:45 +02:00
Alexander Bruy
b93e925ba2 [sipify] follow-up 634c7aa3f460ee945743850f6715940d47a12579 2017-05-04 08:59:45 +02:00
Alexander Bruy
e1c35883c5 [sipify] remove space before ModuleTypeHeader
also update network analysis SIP files
2017-05-04 08:59:45 +02:00
Alexander Bruy
f6266130eb also sipify QgsGraphAnalyzer 2017-05-04 08:59:45 +02:00
Alexander Bruy
77d34ddd3a initial sipification of the network analysis library 2017-05-04 08:59:45 +02:00
Denis Rouzaud
7b60d89d6c align pointer and reference in sip files batch 2 2017-05-01 20:00:51 +02:00
Alexander Bruy
fb5cdd83ee remove word "road" from doxygen comments 2016-11-21 16:47:24 +02:00
Alexander Bruy
b421a53675 rename QgsLineVectorLayerDirector to QgsVectorLayerDirector 2016-11-21 16:47:24 +02:00
Alexander Bruy
d657c77a8c rename enum and its values 2016-11-21 16:47:24 +02:00
Alexander Bruy
9dffe64dab replace hardcoded magic numbers with enum 2016-11-21 16:47:24 +02:00
Alexander Bruy
a61e8bbdec rename QgsStrategy to QgsNetworkStrategy to avoid possible future
confusion when we will have other stuff with strategies. Also
rename corresponding subclasses
2016-11-21 16:47:24 +02:00
Alexander Bruy
f9be17997f make cost() method pure virtual 2016-11-21 16:47:24 +02:00
Alexander Bruy
00eb2619c6 fix warnings 2016-11-21 16:47:24 +02:00
Alexander Bruy
5992f74e04 [API] rename QgsArcProperter to QgsStrategy
Also update subclasses names and do some more refactoring.
2016-11-21 16:47:24 +02:00
Alexander Bruy
5cbf9d5129 remove references to networkanalysis from scrips and packaging files 2016-11-21 16:47:24 +02:00
Alexander Bruy
14c930a5a8 [API][network analysis] move network analysis into analysis library to
be consistent with other analysis stuff
2016-11-21 16:47:24 +02:00
Alexander Bruy
3c3e17ac90 [network analysis] expose speed properter in C++ and Python API
This allows users to calculate shortest path using travel time
as optimization criteria in addition to travel distance.
2016-11-21 16:47:24 +02:00
Nyall Dawson
7d2027faa9 Fix most remaining methods which return a reference to
QgsCoordinateReferenceSystem or which take a pointer to a
CRS
2016-07-15 06:01:39 +10:00
Nyall Dawson
24d9c65494 Fix more classes which violate the rule-of-three
Also remove some empty destructors
2016-01-26 14:24:45 +11:00
Juergen E. Fischer
71dc339106 more stl to qt ports and size_t => int fixups 2015-12-26 00:59:09 +01:00
Matthias Kuhn
313c34ce22 [py3] Updates to sip files 2015-11-16 07:42:48 +01:00
Matthias Kuhn
56ccb2b858 sipClass_Klass is deprecated for a long time: replace with sipType_Klass 2015-11-11 23:22:51 +01:00
Nyall Dawson
556d87a86c Fix some clang warnings 2015-11-02 18:07:16 +11:00
Nyall Dawson
f1633a1796 Change all signals to use const refs for non trivial objects 2015-10-26 22:46:25 +11:00
Juergen E. Fischer
82b6e0342a cosmetic cleanups, typo fixes, formatting 2014-10-21 01:33:20 +02:00
Juergen E. Fischer
c4c131ef75 sip sync 2014-05-27 23:32:42 +02:00
Nathan Woodrow
0ff49856e6 Create Python package for core, gui, analysis, networkanalysis
Rename sip generated modules to _{name}
2014-05-19 22:26:02 +10:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Juergen E. Fischer
3854086d47 sip update 2013-06-23 16:00:24 +02:00
Juergen E. Fischer
597c402808 also update networkanalysis.sip (following 61e101dd4) 2013-06-11 10:18:04 +02:00
Juergen E. Fischer
ac29c5b11f prepare-commit.sh: remove trailing blanks from python files 2013-01-12 23:48:58 +01:00
Juergen E. Fischer
60ab4b3290 fix typos 2012-09-24 22:40:24 +02:00
Juergen E. Fischer
f3cb57b1eb SIP bindings update:
- update methods of existing classes
- add comment to methods missing in the sip bindings
- split up collective sip files into single files and use
  same directory structure in python/ as in src/
- add a lot of missing classes (some might not make sense because of
  missing python methods in those classes)
- remove some non-existing methods from the header files
- add scripts/sipdiff
- replace some usages of std::vector and std::set with QVector/QSet
2012-09-24 02:42:57 +02:00
Sergey Yakushev
35cd0b96f6 RoadGraph: add dijkstra method to Network analysis library, remove unused shortestpath, update python bindings 2012-01-17 16:36:25 +06:00
Sergey Yakushevs
a950830dcf fix QgsArc.in() python-binding 2011-09-27 18:50:40 +06:00
Sergey Yakushevs
4eccdea058 fix sip module 2011-06-09 18:10:58 +06:00
Sergey Yakushevs
38aa771b7e Python bindings. Part 3 2011-06-03 15:21:02 +06:00
Sergey Yakushevs
032937ff7d use QgsVectorLayer*, not use LayerId 2011-06-03 11:51:53 +06:00
Sergey Yakushevs
59a8a8deb8 Python bindings. part2 2011-06-02 19:02:20 +06:00
Sergey Yakushevs
776d7dfbd4 Launch python bindings for network analysis library 2011-06-02 13:49:43 +06:00