795 Commits

Author SHA1 Message Date
Alessandro Pasotti
8402a408ce Remove debugger from HTML template 2019-08-21 12:42:13 +02:00
nirvn
3e2179e147 [expression] Update the format_date function help hyperlink to point to qt5 doc 2019-08-14 12:54:46 +07:00
nirvn
b58a2a6c21 [FEATURE][expression] Optional format parameter for to_date, to_datetime, to_time functions 2019-08-14 12:54:46 +07:00
Alessandro Pasotti
92ac7a2e93
[server] Server api and WFS3 (#10016)
Implementation of OGC API and WFS3 core draft specification
2019-08-06 16:38:21 +02:00
Matthias Kuhn
770f7e8d44 Add planimetric measurement default to settings template 2019-08-02 09:17:14 +02:00
Matthias Kuhn
103d104303 Use https for openstreetmap
Fix #30855
2019-07-24 10:25:20 +02:00
Julien Cabieces
2f1235a3e3 correct ini file comment
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-07-23 19:03:51 +10:00
Julien Cabieces
f9a6418eda Add proxyExcludedUrls settings example in qgis_global_settings.ini file 2019-07-23 19:03:51 +10:00
Juergen E. Fischer
557d1afcf7 only install/copy srs.db that we're using (fix 56d03f783f041) 2019-07-17 18:09:02 +02:00
luz.paz
604e66ba75 sipify_all 2019-07-16 11:29:42 +10:00
Nyall Dawson
56d03f783f Ship a seperate srs.db file for proj >= 6 builds
It's too dangerous to reuse the existing one, as it breaks the
ability to run multiple versions of qgis (i.e. proj < 6 and proj >= 6)
on the same machine

Fixes #30569
2019-07-16 06:18:32 +10:00
Nyall Dawson
01b8c7d212 Add shell entries to qgis_global_settings.ini for controlling feed behavior 2019-07-15 12:52:20 +10:00
Nyall Dawson
018ca7c447 [FEATURE] New expression function "attributes"
Returns a map containing all attributes from a feature, with field
names as map keys. We've got featureful, robust support for working
with maps in expressions now, so this allows rapid conversion
of all feature attributes to a map to use with these handy
functions.
2019-06-28 13:14:17 +10:00
Alessandro Pasotti
5c6223c2bf GPS timestamp support with tests 2019-06-24 12:11:51 +02:00
Nyall Dawson
5347eb79c6 Clarify acceptable forms for defaultNorthArrow setting 2019-06-14 08:02:34 +07:00
Nyall Dawson
5db0965a26 [layouts] Allow default north arrow path to be specified through settings 2019-06-14 08:02:34 +07:00
Nyall Dawson
dac7259b46 [needs-docs] Rework new project CRS handling
The previous approach was severely broken, because the default
CRS for new projects setting was ignored as soon as a layer
was added to the project.

Instead, refine the setting to add options
- "Use CRS from first layer added": same as previous behavior,
the project CRS is set to match the first layer added to a new
project
- "Use a default CRS": CRS for a new project is set to a preset
default CRS, and is left unchanged when adding layers to the
project

Also update qgis_global_settings.ini to reflect these changes.

Fixes #27516
2019-05-30 06:28:32 +10:00
David Signer
f8d1a02ea7 mentioning array_agg in relation_aggregate 2019-05-28 06:16:22 +10:00
Nyall Dawson
e5ab06fffa Add missing function group help 2019-05-22 03:45:00 +10:00
Nyall Dawson
2e5257372b [FEATURE] Add order by support to expression aggregate and concatenation functions
Because certain aggregates and concatenation requires results in
a certain order, this change allows specific control of the order
features are added to the aggregate during an expression evaluation.

E.g.

concatenate("Station",concatenator:=',', order_by:="Station")

will give a comma separated list of station names in alphabetical
order, rather than layer feature order.

Sponsored by SMEC/SJ
2019-05-10 06:23:56 +10:00
nirvn
4bc8325737 [ui] Fix missing disabled state for {check/radio/group}box 2019-05-09 11:20:22 +07:00
nirvn
cc37e702cc [themes] Set highlight text color palette for themes 2019-04-29 17:59:13 +07:00
nirvn
c25782a57b [themes] Tweak palette values to better match designated roles 2019-04-29 17:46:36 +07:00
nirvn
c0b2ba19b1 [themes] Add minimum scrollbar dimension to Night Mapping 2019-04-29 16:54:10 +07:00
Nyall Dawson
5a088bfa2b Fix expression function examples 2019-04-28 15:47:35 +10:00
Nyall Dawson
762b2a423b [FEATURE] Expression functions which return file info
base_file_name: Returns the base name of the file without the directory or file suffix.
file_exists: Returns true if a file exists
file_name: Returns the file name from a full path
file_path: Returns the directory/path from a full file path
file_size: Returns a file size
file_suffix: Returns a files suffix/extension
is_directory: Returns true if a file path is a directory
is_file: Returns true if a file path is a file
2019-04-27 17:24:37 +10:00
nirvn
9fa8d5687f [themes] Improve night mapping hyperlink color 2019-04-17 11:34:49 +07:00
nirvn
2582399ab5 [FEATURE][expression] New array_all() function to check whether
an array contains _all_ values of another given array.
2019-04-09 11:44:00 +07:00
Nyall Dawson
785c03358e Move datum transformation dialog prompting behaviour setting to a new
key to reset ALL users to a default value

And add to qgis_global_settings.ini

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Matthias Kuhn
24b8dcc692
Use a hidden setting for activating geomtery resolution 2019-03-18 13:23:30 +01:00
Matthias Kuhn
ab530e4b04
Merge pull request #9495 from m-kuhn/default-enable-geometry-checks
Make default geometry checks configurable via settings [needs-docs]
2019-03-14 08:46:18 +01:00
Matthias Kuhn
1645799788
Make default geometry checks configurable via settings [needs-docs] 2019-03-13 07:23:26 +01:00
nirvn
b97ef936be [expression] Negative index support to point_n(), angle_at_vertex(), distance_to_vertex() functions 2019-03-13 11:20:04 +07:00
nirvn
f83990f44f [themes] Fix missing visual hint for disabled tabs 2019-03-12 15:07:15 +07:00
nirvn
334ae0ca4f [themes] Restrict QPushButton min-width to raster calculator dialog 2019-03-01 14:20:00 +07:00
Nyall Dawson
fb324f3e43 srs.db add Australian entries
insert into tbl_datum_transform VALUES (8447,100020,4283,7844,9615, 'GDA94_GDA2020_conformal_and_distortion.gsb', null, null, null, null,null, null, 'Conformal + Distortion: includes regional distortion',null,1,0,2575);

insert into tbl_datum_transform VALUES (8446,100021,4283,7844,9615, 'GDA94_GDA2020_conformal.gsb', null, null, null, null,null, null, 'Conformal: predominantly plate tectonic motion (~1.8m NNE)',null,1,0,2575);

insert into tbl_datum_transform VALUES (1804,100022,4203,4283,9615, 'National_84_02_07_01.gsb', null, null, null, null,null, null, 'Full coverage two-way transformation file in those states that originally adopted AGD84 - West Australia, South Australia, Queensland',null,1,0,2576);

insert into tbl_datum_transform VALUES (1803,100023,4202,4283,9615, 'A66_National_13_09_01.gsb', null, null, null, null,null, null, 'Full national coverage two-way transformation file',null,1,0,2575);
2019-02-26 12:49:02 +10:00
Nyall Dawson
db1a1929a4 [FEATURE][expressions] Simplified variant of "attribute" function
This adds a second variant for the existing "attribute" function.
The current function requires both a target feature and attribute
name to be specified, while the NEW variant just uses the current
feature.

E.g.

NEW:

attribute( 'name' ) -> returns the value stored in 'name' attribute
for the current feature

EXISTING:

attribute( @atlas_feature, 'name' ) -> returns value stored in 'name'
attribute for the current atlas feature

It's just a faster shorthand version!
2019-02-23 05:20:52 +10:00
Mathieu Pellerin
7599d4f8d5
[expression] Add try() function to provide a way to detect and handle
expressions which can intermittently fail.
2019-02-20 06:27:43 +07:00
Etienne Trimaille
06fab90981 add some optional flags in make_polygon expression 2019-02-20 05:41:26 +10:00
Mathieu Pellerin
5297d83cb5 [themes] Slightly adjust padding of push buttons to match tool buttons 2019-02-19 18:49:18 +07:00
nirvn
1e431f20b2 [themes] Add minimum width for QPushButton widgets (fix tiny raster calc. buttons) 2019-02-13 12:55:37 +07:00
nirvn
e41ff7b745 [themes] Fix missing focus hint for slider widgets 2019-02-11 11:34:17 +07:00
nirvn
d1e5d6ef24 [themes] Fix style of line edit within combo box 2019-02-11 11:28:54 +07:00
nirvn
0647188566 [themes] Properly style table/list view headers 2019-02-11 11:14:06 +07:00
nirvn
b080ab548b [themes] Scroll bar handle can go MIA, add minimum width/height 2019-02-11 10:25:55 +07:00
Mathieu Pellerin
3ae5038d7f [themes] Properly style widget focus 2019-02-09 15:36:34 +07:00
Mathieu Pellerin
bfbb75ae2b [themes] Fix background color issue within group boxes 2019-02-09 13:03:42 +07:00
Mathieu Pellerin
7c50ed9b7e [themes] Properly size width of icon-only labeling/mesh tab bar 2019-02-09 11:13:42 +07:00
nirvn
fc6695ab9b [themes] Harmonize padding of combobox widgets 2019-02-08 12:12:18 +07:00
nirvn
669d72aa29 [themes] Add padding for icons in combo box's drop down lists 2019-02-08 11:05:46 +07:00