Nyall Dawson
fe0566000e
More QPair API removal
2017-11-06 07:34:01 +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
fe78611cf5
Simplify interpolation API
...
Don't require both pixel size and row/col count in constructor,
since we can calculate the pixel size from the extent and row/column
count.
2017-11-03 14:00:07 +10:00
Nyall Dawson
8631472089
QgsTINInterpolator->QgsTinInterpolator
2017-11-03 10:49:33 +10:00
Nyall Dawson
bee2a1a86e
Update Python code
2017-11-03 10:33:04 +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
73306f1266
Update python code
2017-11-03 07:47:40 +10:00
Nyall Dawson
7dc48f3a17
Merge pull request #5508 from DelazJ/message_spacing
...
Fixing messages displayed in GUI
2017-11-02 08:13:25 +11:00
Nyall Dawson
2bdc323d72
More test tolerance
2017-10-31 16:01:33 +10:00
Nyall Dawson
284c4d35cd
Fix tests
2017-10-31 16:01:33 +10:00
Nyall Dawson
8f22f5eb3b
[processing] Misc fixes for network analysis tools
...
Also maintain attributes in service area from layer alg, add test
Fixes #17325
2017-10-31 16:01:32 +10:00
Nyall Dawson
8d32bf729e
Fix QgsGraphAnalyzer::dijkstra traverses through edges backwards
...
This means that it flips the direction of the graph edge, breaking
route restrictions.
Refs #17325
2017-10-31 16:01:32 +10:00
Nyall Dawson
57edec668e
Fix incorrect enum values in network analysis algs
...
Didn't result in a bug, but made the code confusing to read
2017-10-31 16:01:32 +10:00
Nyall Dawson
ab05fe7603
Fix extremely confusing network graph API naming
...
Since names of api calls were backwards to expectations
2017-10-31 16:00:19 +10:00
Nyall Dawson
5ffd7214ee
[processing] Shortest path handling for multipoint layers
...
Fixes shortest path algorithms fail for multipoint source layers
or layers with null geometries
Refs #17325
2017-10-31 16:00:18 +10:00
Nyall Dawson
4149da0556
Better reporting of errors when paths cannot be found, also
...
output point but with no geometry and missing attributes so
that it's clear which points could not be linked
2017-10-31 16:00:18 +10:00
Nyall Dawson
36a38f4e2d
[processing] Keep attributes from start/end points layer in
...
output layer for shortest path algorithms
Otherwise the paths are nearly impossible to link back to
the source layer for further analysis
2017-10-31 16:00:18 +10:00
Nyall Dawson
49254384df
Fix index out of range error in shortest path algs
2017-10-31 16:00:18 +10:00
Matthias Kuhn
d2c1011a13
Convert missing from[Geometry]XY calls
2017-10-30 09:14:06 +01: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
750a54f8f6
More drop V2 suffix fixes
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
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
Nyall Dawson
68179e224c
Merge pull request #5475 from nyalldawson/snap_to_grid
...
[FEATURE][processing] Native c++ snap to grid algorithm
2017-10-27 17:19:37 +11: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
Harrissou Sant-anna
30aa5f5f96
Allow double typed values in algorithm
...
Also homogenize the output name
2017-10-27 13:09:39 +11:00
Harrissou Sant-anna
c2577ec0fc
Full sentence should often begin by capitalized letter
...
and end by a full stop.
2017-10-27 01:46:08 +02:00
Harrissou Sant-anna
f5025cc668
Use a more appropriate dialog title for message boxes
...
and capitalise first letters
2017-10-27 01:43:26 +02:00
Harrissou Sant-anna
2614ca1a96
Remove trailing spacing and punctuation in ui items
2017-10-27 01:43:26 +02:00
Nyall Dawson
034baf1b53
Merge pull request #5436 from alexbruy/processing-gdal-memory
...
[processing] correctly handle layers without attributes in GDAL-based geoprocessing algorithms (fix #17287 )
2017-10-26 20:19:12 +11:00
Nyall Dawson
d8775fca55
Merge pull request #5398 from DelazJ/DelazJ-patch-1
...
[DB Manager] Set correct dialog alignment
2017-10-26 12:59:31 +11:00
Nyall Dawson
c50ee6d42f
Update python code to new API
2017-10-26 07:06:34 +10:00
Etienne Trimaille
386eef2e6c
new string concatenation algorithm in processing
2017-10-25 08:17:59 +11:00
Alexander Bruy
4a51c40821
[processing] correctly handle layers without attributes in GDAL-based
...
geoprocessing algorithms (fix #17287 )
2017-10-24 15:33:49 +03:00
Alexander Bruy
04a8418a32
add tests for distance matrix algorithm
2017-10-24 15:27:23 +03:00
Alexander Bruy
c64f03d0a4
[processing] keep column names in standard distance matrix ( fix #17150 )
2017-10-24 15:27:22 +03: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
lbartoletti
977ce426db
[FEATURE][processing]Transect processing
...
Adds a C++ version of the "ststion lines" plugin as a
new processing algorithm for creating transect lines.
2017-10-24 05:42:03 +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
Juergen E. Fischer
f243b8448e
postgres: add support for partitioned tables (implements #17302 )
2017-10-21 17:39:18 +02:00
Matthias Kuhn
6428fed8a3
Merge pull request #5385 from jachym/geopackage
...
Put GeoPackage at first place in the menu
2017-10-21 16:33:20 +02:00
rldhont
efb84fd2ca
Merge pull request #5337 from dmarteau/qgis_utils_refactoring
...
Disable message hook and import override at runtime
2017-10-20 10:25:45 +02:00
Jachym Cepicky
28daa1a0e0
Adding more default SHP->GPKG changes
2017-10-19 15:45:04 +02:00
Harrissou Sant-anna
60d0db9ebd
[DB Manager]Set dialog alignment instead of adding trailing spaces to labels
2017-10-19 07:14:58 +02:00
Nyall Dawson
4ce166241e
Allow processing providers to specify a long name, and show it in tooltips
...
Add version number to gdal provider long name
2017-10-19 13:12:31 +10:00
Nyall Dawson
a33376fe09
Drop version and count from algorithm item in tree view
2017-10-19 12:01:40 +10:00
Nyall Dawson
925ec6098c
[processing] Always list native algorithms before 3rd party providers
...
This change ensures that searching for algorithms always returns
native algorithms before matching 3rd party algorithms
TODO: we really need to replace the toolbox tree with a proper
model and redo the sorting/filtering using a sort/filter proxy
model.
2017-10-19 12:01:40 +10:00
Alexander Bruy
a6ac876d90
[processing] update test data
2017-10-18 18:41:39 +03:00