Nyall Dawson
178a415c9f
Port parameter conversion to script code to c++
2017-06-27 08:33:13 +10:00
Nyall Dawson
65a5669b25
Merge pull request #4727 from aaime/stroke_hairline
...
Fixes 16707, export of hairline results in a different visual thickness
2017-06-27 06:12:12 +10:00
Ilya Zverev
80bc6d2674
Update SIP file for QgsRectangle
2017-06-26 16:28:54 +02:00
Ilya Zverev
7941759d23
Rectangle moving operators
2017-06-26 16:28:54 +02:00
Nyall Dawson
6006359710
Merge pull request #4733 from aaime/categorized_function_conflict
...
Fixes 16712, SLD export of categorized style fails if attribute name conflicts with a built-in function name
2017-06-26 23:20:13 +10:00
Matthias Kuhn
1dca3327c1
Merge pull request #4771 from m-kuhn/closest_point
...
Closest point
2017-06-26 11:44:12 +02:00
mhugent
a2d00d52f9
Merge pull request #4772 from mhugent/feature_info_filter_geometry
...
WMS Server: Feature info with geometry filter
2017-06-26 09:26:33 +02:00
Matthias Kuhn
e7f50524b8
Make QgsLineString Z and M values NaN if unspecified
2017-06-26 08:21:11 +02:00
Matthias Kuhn
8e7e573214
Prevent division by 0 and unrequired interpolation
2017-06-26 08:21:11 +02:00
Matthias Kuhn
317fead516
Add tests for QgsGeometryUtils::closestPoint()
2017-06-26 08:21:11 +02:00
Blottiere Paul
b354986209
Add unit test
2017-06-25 14:39:54 +01:00
Blottiere Paul
30b35bd016
Add unit test
2017-06-25 14:38:07 +01:00
Marco Hugentobler
e7ea972c64
Indentation
2017-06-24 14:33:55 +02:00
Marco Hugentobler
ef8e58bcc2
Unit test for feature info geometry filter
2017-06-24 12:30:04 +02:00
Nyall Dawson
e7f13f5bd8
Port model help code to c++
2017-06-24 07:36:07 +10:00
Nyall Dawson
6a54130f0b
[layout] Add layout measurement and size classes
...
These classes are used for storing measurements for a layout
(QgsLayoutMeasurement), sizes for a layout (QgsLayoutSize)
and points in a layout (QgsLayoutPoint)
They support storing a measurement unit alongside a measurement
length/size. A new class QgsLayoutMeasurementConverter handles
conversion between different units, including converting to and
from pixels via a specified DPI property.
2017-06-23 18:00:17 +10:00
Nyall Dawson
24eb6fd780
Fix loss of output names in graphical modeler
2017-06-23 13:32:31 +10:00
Nyall Dawson
2906d1f1c9
Merge pull request #4763 from nyalldawson/algs3
...
Restore more processing algs
2017-06-23 12:08:15 +10:00
Nyall Dawson
f196246852
Merge pull request #4734 from nyalldawson/addfeatures
...
Add a flag argument to QgsFeatureSink::addFeatures, support fast feature insert
2017-06-23 05:59:21 +10:00
Denis Rouzaud
e40f92cc1b
sipify analysis interpolation ( #4757 )
2017-06-22 20:25:19 +02:00
Martin Dobias
7cd517c6ba
[FEATURE] Legend for markers with data-defined size
...
(Merge pull request #4752 from wonder-sk/legend-data-defined-size)
2017-06-22 15:29:10 +02:00
Martin Dobias
863b7d2b29
Fix the last test image
2017-06-22 14:38:41 +02:00
Martin Dobias
4976d59fc5
Fix few bugs + fix test images + allow data-defined size without transformer
2017-06-22 13:50:19 +02:00
Martin Dobias
59ca985928
Use white bg color for test images to avoid black background
2017-06-22 12:56:02 +02:00
Nyall Dawson
d8c44cb643
Fix creation of feature sinks when using windows style paths
2017-06-22 18:22:43 +10:00
Nyall Dawson
f304828f59
Allow storing arbitrary metadata in parameter definitions
2017-06-22 18:18:51 +10:00
Martin Dobias
78a990b5b6
Fixing tests
2017-06-22 10:06:02 +02:00
Nyall Dawson
0db4cf37fe
Add another test
2017-06-22 07:02:29 +10:00
Nyall Dawson
1d69939dde
Fix build
2017-06-22 06:58:31 +10:00
Nyall Dawson
86f33c682d
Expand model unit test coverage
2017-06-22 06:49:09 +10:00
Nyall Dawson
780f4331cc
Add method to generate temporary destination parameter value
2017-06-22 06:49:09 +10:00
Nyall Dawson
a87ca09e34
Move some temp file/folder utils to c++
2017-06-22 06:48:25 +10:00
Nyall Dawson
e8a03b918b
Move default file extension code to c++
2017-06-22 06:48:25 +10:00
Nyall Dawson
b1879df34b
Destination parameters track whether they support non-file based outputs
2017-06-22 06:48:19 +10:00
Nyall Dawson
47f2cc895c
Fix generation of outputs for models
2017-06-22 06:47:11 +10:00
Nyall Dawson
fe0f2498d4
Fix generation of destination parameters for models
2017-06-22 06:45:21 +10:00
Martin Dobias
415d3e90a6
Use bold font in tests + fix a unit test
2017-06-21 14:54:52 +02:00
Nyall Dawson
c685ec2b30
Add missing tests for vector input parameter, add vector out parameter
2017-06-21 22:13:36 +10:00
Nyall Dawson
0da3652257
Rename some parameter classes for consistency
2017-06-21 22:13:16 +10:00
Denis Rouzaud
2bf92f34f3
sipify analysis raster
2017-06-21 12:08:25 +02:00
Nyall Dawson
d3a2f7cd65
Models can now be saved and restored
2017-06-20 19:23:21 +10:00
Nyall Dawson
f21f502a18
Add methods to convert parameter definitions to/from variants
2017-06-20 18:33:46 +10:00
Nyall Dawson
9a2f14b931
First steps to model/save restore in c++
...
Models now save to QVariantMap, using QgsXmlUtils to save to
an xml based format (with extension .model3)
2017-06-20 17:26:57 +10:00
Nyall Dawson
179a377da0
Port more model to c++
2017-06-20 15:31:53 +10:00
Nyall Dawson
1a4a654f8b
Port more model API across to c++
2017-06-20 14:45:13 +10:00
Nyall Dawson
f6358b2118
Begin port of modeler algorithm to c++
2017-06-20 14:45:13 +10:00
Martin Dobias
c9c42169ce
Added unit tests
2017-06-19 16:37:00 +02:00
Martin Dobias
517fefe02a
GUI for configuration of size-based legend for diagrams
2017-06-19 13:16:54 +02:00
Ilya Zverev
391f76b4fc
A test for atlas feature extent after rotation
2017-06-18 13:38:54 +03:00
Andrea Aime
f22ee6bee5
Fixes 16712, SLD export of categorized style fails if attribute name conflicts with a built-in function name
2017-06-15 10:09:49 +02:00