656 Commits

Author SHA1 Message Date
Matthias Kuhn
3cd68999b0
Merge pull request #7698 from m-kuhn/wfsDateTimeNow
Support for now() in WFS filters
2018-08-26 07:43:09 +02:00
Matthias Kuhn
7a91b807d7 Add note about now() being static to help 2018-08-25 13:52:33 +02:00
Etienne Trimaille
d65ad453cf fix array formatting for array_filter 2018-08-25 11:34:42 +10:00
Harrissou Sant-anna
40223db87d
Merge branch 'master' into patch-2 2018-08-24 16:05:15 +02:00
Matthias Kuhn
31fadd1c00
Merge pull request #7692 from m-kuhn/arrayRep
Adjust representation of arrays and maps in expressions
2018-08-24 15:51:14 +02:00
Matthias Kuhn
ec4483a51a Update map and array examples 2018-08-24 14:04:27 +02:00
Harrissou Sant-anna
399bbf1a00
Fix array_to_string description and add default value example 2018-08-24 11:54:34 +02:00
Harrissou Sant-anna
8e8f4a5ea7
Fixes generate_series examples 2018-08-24 11:28:58 +02:00
Matthias Kuhn
51ec333199
Merge pull request #7688 from m-kuhn/array_filter
Add array_filter expression function
2018-08-23 15:54:21 +02:00
Matthias Kuhn
283c34ed04 Adjust array representation in help 2018-08-23 14:13:32 +02:00
Nyall Dawson
89cd7858e5 Used named parameters for with_variable function 2018-08-23 21:15:32 +10:00
Matthias Kuhn
edc272481f Add array_filter expression function 2018-08-23 07:02:41 +02:00
Etienne Trimaille
0a20621191 [FEATURE] add foreach expression for arrays 2018-08-23 12:32:32 +10:00
nirvn
3c3cc43010 [FEATURE] Add generate_series(start,stop,step) expression function
The function creates an array containing a sequence of numbers.
2018-08-20 11:56:49 +07:00
Nyall Dawson
0be9de5dfc Add hidden configuration setting to set toolbar padding
Can be tweaked for better appearance on hidpi screens, e.g. on
my display a padding of 8 px looks best
2018-08-16 09:12:22 +10:00
Nyall Dawson
a4386d6116 [FEATURE] line_substring function
Returns the portion of a line (or curve) geometry which falls
between the specified start and end distances (measured from the
beginning of the line). Z and M values are linearly interpolated
from existing values.

Fixes #15611
2018-08-15 14:01:59 +10:00
Nyall Dawson
a5b0c76f84 Double number of projects kept on welcome page, make configurable
Because 10 isn't enough!
2018-08-10 10:45:14 +10:00
Alessandro Pasotti
8b81f1bb09 [opencl] Single kernel for multi and simple hillshade
To be able to re-use the cached program if the user
changes the multi switch
2018-08-08 09:39:22 +02:00
Alessandro Pasotti
41e7e71db7 [opencl] Hillshade fix alpha and nodata 2018-08-08 09:39:11 +02:00
Alessandro Pasotti
eaa7982cc8 [opencl] Add multidirectional renderer and cache the program
Now we are FAST!
2018-08-08 09:39:06 +02:00
Alessandro Pasotti
a1a65bb4e8 [opencl] Test with image2d 2018-08-08 09:36:56 +02:00
Alessandro Pasotti
b09df53354 Use OpenCL command queue 2018-08-08 09:34:04 +02:00
Alessandro Pasotti
b89808f573 [opencl] Small optimization in hillshade
... and more tolerant epsilon for float comparison in tests
2018-08-08 09:26:30 +02:00
Alessandro Pasotti
dc4b1da0a4 [opencl] Fix small OpenCL alg issues
From comparison tests with CPU results

+ some minor speed improvements
2018-08-08 09:24:40 +02:00
Alessandro Pasotti
a6d5d479fa [opencl] Fix nodata value in slope, aspect and hillshade 2018-08-08 09:23:39 +02:00
Alessandro Pasotti
164bcc2bec [opencl] Ruggedness index OpenCL program 2018-08-08 09:22:34 +02:00
Alessandro Pasotti
314b7e3635 [opencl] Faster cl algorithm 2018-08-08 09:22:02 +02:00
Alessandro Pasotti
3161b9407d [opencl] Global transparency 2018-08-08 09:20:15 +02:00
Alessandro Pasotti
5129dcf03c [opencl] Memory optimization 2018-08-08 09:20:05 +02:00
Alessandro Pasotti
d5dd50c004 [opencl] Hillshade renderer 2018-08-08 09:19:52 +02:00
Alessandro Pasotti
350829e9ee [opencl] Test with image2d 2018-08-08 09:19:45 +02:00
Alessandro Pasotti
3054da0c00 Use OpenCL command queue 2018-08-08 09:19:01 +02:00
Nyall Dawson
a2a56696b0 Drop minimum task time to 5 second before showing a system notification 2018-08-08 15:37:17 +10:00
Nyall Dawson
8c6068a2e2 Don't show system notifications for short tasks
Too annoying!
2018-08-08 15:37:17 +10:00
Mathieu Pellerin
2d964919f6
[FEATURE][expression] add raster_value() function (#7487) 2018-07-27 12:56:04 +07:00
Juergen E. Fischer
155ba1ad50 show wms request step size widgets when customization is enabled 2018-06-28 18:28:31 +02:00
Nyall Dawson
c58c99829a Expand range of colors available for new layers
Here's the rules if you want to add more here (developed by
@nirvn and myself)

- Keep colors in the "middle" - avoid too light or too dark colors,
too light colors will make line layers invisible on the
default white background, too dark colors are too visually heavy
for polygon areas

- Avoid over saturated/pure colors, which are too visually heavy. E.g.

- No blues! Blues have a single meaning on maps (water) and we're
almost never going to fluke that a randomly assigned blue color
is given to a water feature layer. So we just avoid blues altogether
as users are almost always going to have to change layers away
from blue anyway.

- Avoid yellow. Yellow is used as the default selected feature color
in QGIS, so keep colors well away from this yellow to avoid confusion
between selected/unselected yellow layers

- Keep things "happy", "positive" and "friendly". No baby puke green/browns
2018-06-19 19:22:50 +10:00
Denis Rouzaud
87a60d437f
Merge pull request #6733 from 3nids/setenumvalue
Save enum values as string in settings
2018-05-16 17:54:40 -08:00
Alessandro Pasotti
a44eeae441
Merge pull request #6982 from elpaso/currentformfeature-expressions-4
[feature][need-docs] Current feature/current value form context expressions
2018-05-16 09:48:06 +02:00
Matthias Kuhn
c27ce39205
Merge pull request #6980 from m-kuhn/bwta2017
Add BWTA2017.gsb to srs.db
2018-05-16 08:39:01 +02:00
Alessandro Pasotti
1e046a1726 Updated docs for current_value function 2018-05-15 12:45:43 +02:00
Alessandro Pasotti
63d2086de4 Rename functions from get_current_form_field_value to current_value
and current_geometry
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
83328ae596 [feature] Form context expressions in value relation widget
The value relation widget filter expression can now use two
new functions/variables that have access to the current
values and geometry of the form being edited.

This allows for dynamic filtering (drill-down) as explained
in the crowdfunding page:
https://north-road.com/drill-down-cascading-forms/

The new functions/variables are:

Function:
get_current_form_field_value( 'FIELD_NAME' )

Variable:
@current_form_geometry
2018-05-15 08:34:08 +02:00
Salvatore
3660f3f63f corrections 2018-05-14 15:13:22 +02:00
Denis Rouzaud
d26f1e14fd replace with setEnumValue
and complete missing enumValue
2018-05-14 08:49:37 -04:00
Matthias Kuhn
44eb0f901b Add BWTA2017.gsb to srs.db
NTv2 grid available here:
https://www.lgl-bw.de/lgl-internet/web/sites/default/de/05_Geoinformation/Galerien/Dokumente/BWTA2017.zip

More information:
https://www.lgl-bw.de/lgl-internet/opencms/de/05_Geoinformation/Liegenschaftskataster/ETRS89-UTM/

INSERT INTO "tbl_datum_transform" VALUES(NULL, 100017, "4314", "4258", "9615", "BWTA2017.gsb", NULL, NULL, NULL, NULL, NULL, NULL, "Transformation for the German federal state of Baden-Wuerttemberg: Diese NTv2-Datei deckt das Gebiet von Baden-Wuerttemberg ab und ist daher ausschliesslich für die Transformation von Geo(fach)daten innerhalb von Baden-Wuerttemberg geeignet. Dieser Ansatz ist für Geo(fach)daten zu verwenden welche auf Basis der ALKIS Daten gefuehrt und erstellt werden.", "For applications requiring an accuracy of better than 1 metre.", 1, 0, 3339);
2018-05-14 08:20:08 +02:00
Juergen E. Fischer
968b50f4f0 expression help: support optional parameters and defaults 2018-05-10 20:15:39 +02:00
Hannes
e8d1099ff3
add optional segments argument
text taken from single_sided_buffer
2018-05-10 16:58:12 +02:00
Martin Dobias
3b36cdd170
Merge pull request #6750 from lbartoletti/visibleSnapPerf
[BUGFIX][FEATURE][NEEDS-DOCS] Disable snapping on invisible features. Second version
2018-05-01 09:46:59 +02:00
Nyall Dawson
6ca327072a [FEATURE] Add expression functions for tapered and variable
width buffers

Adds:
- tapered_buffer
- buffer_by_m

expression functions. These expose the same functionality as the
equivalent processing algorithms but for use in expressions
such as geometry generators.
2018-05-01 06:16:01 +10:00