608 Commits

Author SHA1 Message Date
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
Nyall Dawson
d5647bcbdb [FEATURE] Add wedge_buffer expression function
Returns a wedge shaped buffer originating from a point geometry,
with arguments for azimuth, buffer width (in degrees), outer radius
and inner radius.
2018-04-24 10:07:51 +12:00
Loïc Bartoletti
66b0e59fb9 Fix snapping on invisible geometry 2018-04-23 16:00:43 +02:00
Nyall Dawson
cae5f81ed1 Add missing expression help 2018-04-05 06:35:13 +10:00
Nyall Dawson
f02602b9bb [needs-docs] geometry smooth algorithm now also retains and smooths z/m values
...instead of just discarding them

Applies to processing algorithm and expression function (and
QgsGeometry::smooth method)
2018-03-30 08:59:00 +11:00
Nyall Dawson
37c5dd9301 Add settings key to anonymize new projects
Defaults to false, but if set will not automatically set
metadata for newly created projects such as author
and creation date.
2018-03-22 16:13:30 +11:00
Nyall Dawson
b10be8a8a3 Update metadata xml definitions 2018-03-22 16:13:30 +11:00
Etienne Trimaille
648ce14d4f add colors in the log panel for critical and warning levels 2018-03-19 11:31:18 +11:00
Nyall Dawson
8658da39e3 [postgres] Add a timeout for postgres connections
Defaults to 30 seconds, but configurable via advanced settings/
global_settings ini
2018-03-16 10:57:52 +11:00
Nyall Dawson
b0ae1e426b Correctly install palette resources 2018-03-13 10:39:49 +11:00
Nyall Dawson
a75b85fa09 Add missing default palette 2018-03-13 10:39:49 +11:00
Nyall Dawson
2a0f36499a Show scheme selector in color section of options 2018-03-13 10:39:49 +11:00
Nyall Dawson
21ef2fd42b Provide a simple initial palette for new layers
TODO: make it AWESOME!
2018-03-13 10:39:49 +11:00
Juergen E. Fischer
158c32979b fix translation strings 2018-03-09 21:47:49 +01:00
Mathieu Pellerin
b42c893bbc
[FEATURE] color_grayscale_average() and color_mix_rgb() expression functions (#6554) 2018-03-07 11:59:52 +07:00
Raymond Nijssen
7235c625fc New 3d symbols. Blender files in: https://github.com/raymondnijssen/qgis_3d_objects 2018-02-24 13:01:49 +00:00
Nyall Dawson
f35745fc70 Follow up map layer action changes
- Switch to flags instead of boolean argument
- Move logic for layer validity to canRunUsingLayer
- Add unit test

Also remove settings flag to hide duplicate features action
2018-02-24 20:15:13 +11:00
Nyall Dawson
84c5089389
Merge pull request #6438 from lbartoletti/make_triangle
Add missing make_triangle function help. Fixes #16406
2018-02-24 10:47:27 +11:00
Loïc Bartoletti
0dcea18929 Add missing make_triangle function help. Fix #16406 2018-02-23 14:32:43 +01:00
Nyall Dawson
43350a9a3e Hide 'duplicate features' actions by default
Since there's a number of serious outstanding issues with these
tools, hide them by default and show them only if a QgsSettings
flag is set ("tools\showDuplicateFeatureActions").

This allows the tools to be reworked for 3.2, while still
making them accessible for users who require their functionality.
2018-02-21 14:18:55 +10:00
Juergen E. Fischer
c3573b1636 more translation string fixes and updates 2018-02-17 11:33:36 +01:00
Alessandro Pasotti
2ded9c2ece Merge branch 'settings_17670' of https://github.com/NathanW2/QGIS into NathanW2-settings_17670 2018-02-12 09:57:44 +01:00
Nathan Woodrow
c988dd2910 Move settings to resource folder 2018-02-12 15:48:21 +10:00
Alexander Bruy
edcd2a186e fix typos 2018-02-11 09:38:34 +02:00
Alexander Bruy
f4094af6f9 add default help location to the global settings (refs #17670) 2018-02-11 09:38:34 +02:00
Nyall Dawson
02bfe0a20c Drop default snap tolerance to 12 px 2018-01-30 18:31:02 +11:00
Nyall Dawson
67f2649315 Set default snapping tolerance to 15 pixels
Because 0 meter default is bad UX. Also update global_settings
ini with snapping settings.
2018-01-30 18:31:02 +11:00
Etienne Trimaille
c871e84e36 update XSD and XML according to #36bf093 2018-01-24 21:28:46 +11:00
Harrissou Sant-anna
dd039813f1 Update lpad and rpad functions description 2018-01-18 16:43:43 +10:00
Matthias Kuhn
168c469b32 Rename QgsGPS prefixed classes to QgsGps 2018-01-15 11:55:23 -04:00
Mathieu Pellerin
e3cfbb0805
[gui] do not automatically format name of added layers (fixes #17741)
(users wanting to re-enable that behavior can do so by switching
qgis/formatLayerName to true)
2018-01-15 11:44:01 +07:00
Juergen E. Fischer
4abac93115 packaging updates 2018-01-05 11:12:04 +01:00
Juergen E. Fischer
e271b647d4 translation string updates (incl. better translatable date time widget
help)
2018-01-04 22:49:30 +01:00
Harrissou Sant-anna
cdbb0df8d7 Add example with NULL value 2018-01-03 06:57:10 +01:00
Nathan Woodrow
cecb89d089 Update srs.db with new bounds 2017-11-27 11:54:08 +10:00
Nathan Woodrow
877c0dc252 Update bounds srs.db in source from epsg db 2017-11-27 11:54:08 +10:00
Alessandro Pasotti
e05cca2bed [bugfix][auth] 2to3 settings migrate authcfg for WMS/WFS
Fixes #17402 Authentication settings for WMS/WFS etc. are not migrated from 2 to 3
2017-11-21 09:24:02 +01:00
Borys Jurgiel
4b6228d81e Move plugin installer's settings to the [app] section 2017-11-02 09:15:34 +01:00
Nathan Woodrow
90857b2b18 [FEATURE] Settings migration framework (#5080)
Only run for default profile and only if
not run before. Moves settings and symbols from
QGIS 2.x to QGIS 3 default profile

* --version-migration flag to force migration
2017-10-27 20:14:15 +10:00
Larry Shaffer
3210f8546a Merge pull request #5401 from boundlessgeo/pkcs8-to-pkcs1
[auth] Convert PKCS8 to PKCS1 private keys (for macOS)
2017-10-26 12:42:12 -06:00
Etienne Trimaille
387057a1b8 add CRS description in the layer_property expression 2017-10-25 14:18:40 +02:00
Larry Shaffer
c66de14055 [auth] Add PKCS8 to PKCS1 key conversion for macOS (deps on libtasn1)
See description of QgsAuthCertUtils::pkcs8PrivateKey.

This fix may be needed on other platforms (untested at this point),
because Qt5 QSslkey class *still* does not directly support creation
using non-PKCS1 PEM- or DER-encoded data, though QCA, whose qca-ossl
plugin is linked to OpenSSL, does support PKCS1 and PKCS8.
2017-10-18 16:07:04 -06:00
Nyall Dawson
7fbecd365b Lighter borders for projection selector map 2017-10-17 09:31:24 +10:00
Nathan Woodrow
cf241f51ae [FEATURE][needs-docs] Show projection bounds in projection widget (#5356)
- Script to pull bounds from EPSG.org Postgres dump
- Add resources/data/world_map.shp for reference
- Show canvas bounds for reference
2017-10-16 10:40:05 +10:00
Blottiere Paul
b80bfa8f9e schemaExtension.xsd is now installed in share directory 2017-10-10 08:02:33 +01:00
Matthias Kuhn
a97d846471
Single parameter version of represent_value
Becuase `represent_value("fieldname")` is much shorter to write and in 98%
there is no need to specify the name separately as
`represent_value("fieldname", 'fieldname')`.
2017-09-29 10:58:18 +02:00
Matthias Kuhn
b527be02d7 Fix function help for represent_value 2017-09-26 14:28:44 +02:00
Matthias Kuhn
beddd25074 [FEATURE] Expression function represent_value
This will lookup the representation value given the widget
configuration. This is helpful to get nicely formatted messages for
value maps, value relations and others in expressions.
2017-09-26 14:28:44 +02:00
Etienne Trimaille
ba81068f49 [FEATURE] [needs-docs] Metadata editor
Adds a new metadata tab to layer properties, representing the new metadata model from QEP #91
2017-09-23 14:08:32 +10:00