875 Commits

Author SHA1 Message Date
Harrissou Sant-anna
575ecffe30 Add "concatenate_unique" as aggregate parameter
to relation_aggregate function
2019-10-03 13:28:36 +10:00
Harrissou Sant-anna
ef11da6359 Add "concatenate_unique" and "array_agg" as aggregate parameter
of aggregate function
2019-10-03 13:28:36 +10:00
Nyall Dawson
b7062b54f6 More optimisations to tesselation conversion to tri polys
Use an unordered set for previously encountered points, avoids expensive
loop through existing points to determine point uniqueness
2019-10-02 21:37:52 +10:00
Harrissou Sant-anna
f75a0cc4da Various fixes on date functions help
including replacement of todate and tointerval, use of third person
conjugation and addition/fix of examples
2019-09-27 17:44:11 +10:00
Alessandro Pasotti
30e2fbfe88 Server fix openapi HTML template and improve styling
Mostly cosmetic fixes plus re-add links to openapi
json in case content-type is NOT OPENAPI3, because
it would break validation in that cae.
2019-09-23 09:50:21 +02:00
Alessandro Pasotti
f568e6f06c Server OGC API OPENAPI validation
Fix some OPENAPI validation issues.

Swagger is happy now, except for the MAP=/...
in the query string: no query string parameters
are allowed in the endpoint, but we can
fix this in the web server configuration.
2019-09-21 15:43:12 +02:00
nirvn
c7aeb4ceb2 [themes] Add disabled state for tree/table/list widgets 2019-09-18 18:06:51 +07:00
Denis Rouzaud
68a78059c0
fix adding/removing classes in graduated renderer widget (#31824) 2019-09-17 11:57:48 +02:00
Denis Rouzaud
f13e0ebc86
[locator] fix sorting of grouped results (#31797)
when they do not arrive in a sequence
2019-09-16 16:14:51 +02:00
Juergen E. Fischer
db6d34a846 add translation strings [ci skip] 2019-09-10 17:14:27 +02:00
Nyall Dawson
576ac8b6cd Fix invalid "no active vector layer" errors in offset tool 2019-09-09 12:24:14 +10:00
Julien Cabieces
50f3a02eca don't beak API and remove QFuture includes 2019-09-06 10:28:27 +02:00
Nyall Dawson
d35c04b0e4 [FEATURE][processing] New algorithms for exporting and importing
bookmarks to/from map layers

These algorithms allow users to create a bunch of new bookmarks
corresponding to the features from a layer, or export bookmark
extents to a new polygon layer.
2019-09-05 13:52:57 +10:00
nirvn
94e71e486b [themes] Add fixed color/background for web widgets for improved compatibility 2019-09-05 08:45:28 +07:00
Nyall Dawson
bddc1494db Fix bookmark locator filter 2019-09-04 14:19:47 +10:00
Nyall Dawson
1afa6a8ec5 New class QgsBookmarkManagerModel
Move bookmark model logic to core, add tests
2019-09-04 14:19:47 +10:00
Nyall Dawson
aa3a83c7bd Add unit test for importing/exporting bookmarks 2019-09-04 14:19:47 +10:00
Áron Gergely
eef953b41a Add README and QGIS model for world_map.gpkg 2019-09-03 08:46:04 +10:00
Áron Gergely
7004d8e51b Update GeoPackage layers:
Updated data:
    - countries(poly): Admin 0 level boundaries
    - states_provinces(poly): Admin 1 level boudnaries
    Updated styling:
    - disputed_borders(line): Disputed Admin 0 level borders.
      New styling to make these borders stand out less.

    Attribute tables of all layers contain the name and identification codes fields.
    The geometries of of countries and states_provinces has both been processed
    from the same source data (NE admin level 1 borders);
    Geometries vere generalized and attribute tables were cleaned in order to reduce size.
    For the countries layer, attribute table fields have been joined in from the original
    admin level 0 dataset.

    Data source: Natural Earth 1:10m generalization level, admin level 0 and level 1 datasets
    (version 4.1.0)
2019-09-03 08:46:04 +10:00
arongergely
9eb51218bc Update GeoPackage with 3 layers and corresponding default stylings:
- countries(poly): Admin 0 level boundaries: Now Correct topology, higher level of detail
- states_provinces(poly): Admin 1 level boudnaries of the top 15 largest countries by area:
	Russia, Antarctica, Canada, United States, China, Brazil,
	Australia, India, Argentina, Kazakhstan,
	Dem. Republic Of Congo, Algeria, Greenland, Mexico, Saudi Arabia
- disputed_borders(line): Disputed Admin 0 level borders

Attribute tables of all layers contain the name and identification codes fields.
Source: Natural Earth 1:10m generalization level - version 4.1.0 datasets.
2019-09-03 08:46:04 +10:00
arongergely
d58340004f Remove the now redundant world_map shapefile and its .qml styling 2019-09-03 08:46:04 +10:00
arongergely
c76110ab4e Updated the 'world' easter egg to work with GeoPackage.
The new GeoPackage contains the features + styling of the pre-existing world_map.shp and world_map.qml.
2019-09-03 08:46:04 +10:00
Nyall Dawson
80d77b4788 [FEATURE] Add make_line expression function variant which accepts
an array of points

Allows creation of lines from variable numbers of points, and
from sequences from aggregates/dynamically generated sequences

Fixes #31268
2019-08-29 19:33:43 +10:00
Nyall Dawson
36173d7c40 [FEATURE] New expression function "collect_geometries"
Collects a set of geometries into a multi-part geometry object.
Geometry parts can either be specified as seperate arguments to the
function, or (more flexibly), as an array of geometry parts.

This allows geometries to be generated using iterator based approaches,
such as transforming an array generated using generate_series, e.g:

  collect_geometries(
    array_foreach(
      generate_series( 0, 330, 30),
      project($geometry, .2, radians(@element))
    )
  )

Gives a nice radial effect of points surrounding the central feature
point when used as a MultiPoint geometry generator
2019-08-29 19:33:43 +10:00
nirvn
9ce283a222 [themes] Fix removed default QWidget text color 2019-08-28 14:26:13 +07:00
nirvn
f262ab54b3 [themes] Properly style the calendar widget 2019-08-28 11:14:09 +07:00
nirvn
8c0613c7b0 [themes] Fix night mapping widget background issues 2019-08-27 10:11:55 +07:00
nirvn
19432cd4a0 [themes] Fix blend of gray widget background issues 2019-08-27 10:11:36 +07:00
Harrissou Sant-anna
bb8b1dd403 Fix typo 2019-08-26 08:45:54 +10:00
Tim Sutton
a3f411acce Updated hackfests easter egg data 2019-08-25 11:39:20 +10:00
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