Nyall Dawson
2e8b84867e
Port sum line length algorithm to new API
...
and implement auto reprojection of lines to polygon layer CRS
2017-07-15 15:56:04 +10:00
Nyall Dawson
223059776e
Merge pull request #4858 from nyalldawson/points
...
Port Points in Polygon algorithms to new API
2017-07-15 15:54:40 +10:00
Nyall Dawson
79df6b4749
Add cancelation support for points in polygons algorithm
2017-07-15 15:21:06 +10:00
Nyall Dawson
dd38c52dd8
[needs-docs] Copy unique class field option from Points in Polygons Unique
...
to Points in Polygons
Again, it doesn't make sense for a whole separate algorithm just to
add a single option
2017-07-15 14:50:15 +10:00
Nyall Dawson
b67e525f29
[needs-docs] Add optional weight field to Points In Polygon algorithm
...
Instead of a separate Points In Polygon algorithm just for this
extra option, add it to the original Points In Polygon algorithm
as a non-default option.
2017-07-15 14:50:10 +10:00
Nyall Dawson
68687c1e04
Port counts points in polygon alg to new API
...
and add auto-reprojection support if points layer is in
different CRS to polygon layer
2017-07-15 14:23:07 +10:00
Nyall Dawson
455769c54d
Merge pull request #4856 from signedav/stringliteral
...
Minor improvements QStringLiterals for GitHub Test
2017-07-15 06:15:12 +10:00
Josep Comas
8370bbb150
Update connections-default.xml
...
Added Spain resource: Centro Nacional de Información Geográfica (CNIG)
2017-07-14 17:43:39 +02:00
Juergen E. Fischer
9c08d0050f
update t2tdoc outputs (INSTALL, NEWS; followup 0d9945deac)
2017-07-14 16:57:17 +02:00
signedav
53cb9edaf8
Use QStringLiteral
2017-07-14 16:01:13 +02:00
Nyall Dawson
1e145b3ab2
Minor code improvements
2017-07-14 20:48:38 +10:00
Nyall Dawson
4c432a1905
Add missing override
2017-07-14 19:52:24 +10:00
Nyall Dawson
306c5b33b2
Cancel preview jobs without blocking
...
Makes for more reponsive map updates
2017-07-14 19:52:24 +10:00
Nyall Dawson
d0fd38f6e4
Don't label preview tiles
...
Labeling can be expensive, so don't do this for tiles which
are only going to be used as a preview image
2017-07-14 19:52:24 +10:00
Nyall Dawson
14560c59f4
New style connects
2017-07-14 19:52:24 +10:00
Nyall Dawson
494b1947b0
Fix build
2017-07-14 19:52:24 +10:00
Marco Hugentobler
2d531e5814
[FEATURE] First experiment with preloading
...
After main map canvas render is complete, render a separate image
for each adjacent map "tile" (in the background). These are shown
when panning the map to display a preview of what will be visible
when the panning operation ends.
2017-07-14 19:52:24 +10:00
Matthias Kuhn
bf94df83f1
Return invalid fid instead of null fid
...
The default comparison code for two QVariants does a really crappy job
when it comes to NULL values.
I.e. it will return true for `QVariant( 0 ) == QVariant( QVariant::Int )`
We work around this issue here by returning an invalid QVariant instead,
which - and luckily also Qt is aware of this - also is different from 0.
Fix #16745
2017-07-14 10:51:17 +02:00
Mathieu Pellerin
b5dc9fd3cd
[processing] restore and improve lines to pol / pol to lines algs ( #4850 )
...
New geometry model for lines to pol / pol to lines agls.
2017-07-14 14:44:38 +07:00
Nyall Dawson
8711473b7f
Add a very basic guard against virtual fields which reference themself
2017-07-14 10:29:18 +10:00
Nyall Dawson
f84a3bbd04
Merge pull request #4819 from nyalldawson/layout_gui
...
Layout GUI work (pt 1/?)
2017-07-14 10:22:38 +10:00
Nyall Dawson
3f4d6de54b
Fix aggregate expression calculation when used with virtual fields
...
The layer expression context (which is required for aggregate
calculation to work) was not being added to the context used
by vector layer feature iterators.
Fix #15930
2017-07-14 10:21:56 +10:00
Nyall Dawson
0639264a4a
Merge pull request #4852 from nyalldawson/heatmap_source
...
Use QgsFeatureSource instead of QgsVectorLayer for QgsKde
2017-07-14 10:19:15 +10:00
Harrissou Sant-anna
0d9945deac
Use JavaScript instead of javascript/Javascript
...
+ update INSTALL doc
2017-07-13 17:40:55 +02:00
Harrissou Sant-anna
99ea2e8e8f
Use Cartesian instead of cartesian
2017-07-13 17:40:55 +02:00
Nyall Dawson
4fa69643fc
Fix heatmap widget wrapper, update to use source input
2017-07-13 20:52:16 +10:00
Nyall Dawson
b7ae44fb30
Move method to evaluate a variant to a feature source to QgsProcessingUtils
2017-07-13 20:51:47 +10:00
Nyall Dawson
8f19f74893
Fix reportError call
2017-07-13 20:11:37 +10:00
Nyall Dawson
653ef7b243
Update heatmap alg to use feature source instead of layer
2017-07-13 20:11:28 +10:00
Nyall Dawson
d9e29b9742
Use QgsFeatureSource instead of QgsVectorLayer for QgsKde
...
Allows generation of heatmaps from feature sources instead
of requiring vector layer inputs
2017-07-13 20:07:33 +10:00
Nyall Dawson
eb0c3015f9
Push minimumValues/maximumValues up to QgsFeatureSource base class
...
Allows these methods to be called on feature sources
2017-07-13 20:07:33 +10:00
Nyall Dawson
cfbed91103
Merge pull request #4843 from alexbruy/processing-heatmap
...
[processing] port heatmap algorithm
2017-07-13 20:07:02 +10:00
Alexander Bruy
8285712d68
more test fixes
2017-07-13 12:11:42 +03:00
Alexander Bruy
b01ffa5cd4
[processing] add test for heatmap algorithm
2017-07-13 12:11:42 +03:00
Alexander Bruy
229d2f1add
[processing] port heatmap algorithm
2017-07-13 12:11:42 +03:00
Juergen E. Fischer
fc7ac8323f
vector file writer: reapply integer options (accidentally removed in 9a6235db; fixes #16811 , #16819 )
2017-07-13 09:58:36 +02:00
Alexander Bruy
a2b82bfc8e
Merge pull request #4851 from alexbruy/processing-exception
...
[processing] use QgsProcessingException instead of old exception class
2017-07-13 10:52:40 +03:00
Radim Blazek
50df255edc
Merge pull request #4847 from blazek/remove-grass6
...
Remove GRASS 6 support
2017-07-13 08:56:04 +02:00
Mark Johnson
172e809181
[FEATURE] New unit type for rendering in map unit meters sizes
...
Allows setting symbols other map item sizes to Map Units in Meters. This allows setting the size always in meters, regardless of what the underlying map units are (e.g. they can be it geographic degrees). The size in meters is calculated based on the current project ellipsoid setting and a projection of the distances in meters at the center of the current map extent.
2017-07-13 16:26:41 +10:00
Alexander Bruy
56208540f9
[processing] remove GeoAlgorithmExecutionException
2017-07-13 09:02:24 +03:00
Alexander Bruy
97a5a3dcbd
[processing] use QgsProcessingException in algorithms
2017-07-13 09:02:10 +03:00
Alexander Bruy
69dab42785
[processing] remove unused version() function
2017-07-13 08:38:22 +03:00
Mathieu Pellerin
d3ad9131f4
[processing] restore intersection algorithm ( #4849 )
2017-07-13 11:07:01 +07:00
Nyall Dawson
93a8025bb2
Merge pull request #4842 from mj10777/master3.qgsdatetimeedit
...
changes to QgsDateTimeEdit to support the minimal Date supported by Q…
2017-07-13 12:57:53 +10:00
mj10777
6434d8dce0
changed setMinimumEditDateTime to private.
2017-07-13 04:39:36 +02:00
Nyall Dawson
64575b3a09
Silence some more gcc fallthrough warnings (no real issues)
2017-07-13 08:28:15 +10:00
Nyall Dawson
8fc37bf548
Fix use of integer constants in boolean context warning
2017-07-13 08:21:43 +10:00
Nyall Dawson
3c1bdf059d
Silence implicit-fallthrough warning in GCC when FALLTHROUGH macro is used
2017-07-13 08:17:57 +10:00
Nyall Dawson
773b2e7f9e
Port grass followup to area calculation fix
...
https://trac.osgeo.org/grass/changeset/71259
refs discussion at
https://trac.osgeo.org/grass/ticket/3369
2017-07-13 07:41:42 +10:00
Radim Blazek
eb6301e023
[GRASS] remove GRASS 6 support
2017-07-12 17:51:03 +02:00