1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-26 00:08:20 -04:00

52202 Commits

Author SHA1 Message Date
Peter Petrik
b2ba38dfaf support for compilation on macos10.14, but running on macos10.13 or earlier 2018-11-13 10:24:59 +01:00
lbartoletti
03d53fb871 missing translations; add extension at save 2018-11-13 09:22:33 +01:00
Alessandro Pasotti
798155cc00
Merge pull request from elpaso/bugfix-20455-value-relation-multiple-rules
Emit valueChanged when a widget value changes as a consequence of ano…
2018-11-13 09:14:12 +01:00
lbartoletti
be2ac88643
Merge branch 'master' into extendMapTool 2018-11-13 09:04:56 +01:00
Martin Dobias
fde8a0366c Review/test fixes 2018-11-13 09:03:44 +01:00
lbartoletti
8b2331a40d Paul's review 2018-11-13 09:03:27 +01:00
lbartoletti
a8f865917e Nyall's review 2018-11-13 09:03:26 +01:00
lbartoletti
abcf2aa4cf init trim/extend feature 2018-11-13 09:03:26 +01:00
Daniele Viganò
ccc2b3a271
[RPM] Add an explicit dependency for GDAL 2018-11-13 08:49:10 +01:00
Juergen E. Fischer
5dab30b6ca debian packaging: add libexiv2-dev dependency 2018-11-13 08:47:59 +01:00
lbartoletti
ebdc932ec2 add LastDir for SQL File 2018-11-13 08:20:20 +01:00
Nyall Dawson
4761d7cb97 Capitalization 2018-11-13 15:54:31 +10:00
nirvn
3fa4d6a22f [needs-docs][ui] Remove save as action from the project toolbar 2018-11-13 10:39:39 +07:00
Nyall Dawson
bb248989b3 [afs] Fix identify tool sometimes just uses a bounding box check instead of exact intersection 2018-11-13 13:03:46 +10:00
Martin Dobias
3c66749de7 [FEATURE] Configuration of lights in 3D map scene
This adds a section to define point lights in 3D scenes.
Up to 8 lights are supported (limitation by implementation of materials).
For each light one can set the position, intensity, color and attenuation
2018-11-12 23:56:47 +01:00
Nyall Dawson
fc5f707b0f Remove some unused whatsThis text 2018-11-13 07:47:25 +10:00
Nyall Dawson
f976b0dfd6 Fix invalid Qt version check resulting in "What's this" buttons still showing on Win 2018-11-13 07:41:30 +10:00
Nyall Dawson
d845f9df97 Tweak logic relating to suppressing attribute form for new features
For non-spatial layers, creating a new feature from the main
window now ALWAYS shows the attribute form for the new feature,
regardless of the user's "suppress form" setting. We do this because,
unlike for spatial layers, there's zero feedback given when adding
a new feature to a non spatial layer. (Spatial layers have instead
feedback even when the form is suppressed, because you see the
new feature appear on the map instantly)

But when a new feature is added from the attri bute table window,
then we never show the new feature's form -- because that's already
visible inside the attribute table dialog itself.
2018-11-13 07:17:09 +10:00
Nyall Dawson
8caab49eb9 Fix some warnings 2018-11-13 07:16:49 +10:00
Nyall Dawson
c79a9a1954 [needs-docs] Implement native file properties support for Windows
Allows opening the native file explorer file/directory properties
dialog for browser items
2018-11-13 07:16:49 +10:00
Nyall Dawson
9f1d00d92e Use messagebar for binary extraction feedback 2018-11-13 07:14:19 +10:00
Nyall Dawson
2819a07a39 Dox++ 2018-11-13 07:14:19 +10:00
Nyall Dawson
92f34a94d6 Unit tests for binary editor widget 2018-11-13 07:14:19 +10:00
Nyall Dawson
429320d10d [FEATURE] Binary (blob) field support for memory layers
Allows storage of binary blob fields in memory layers
2018-11-13 07:14:19 +10:00
Nyall Dawson
d96ce7a1d7 [FEATURE] New form widget for binary (blob) fields
This widget is available for binary fields only (and is the default
widget used for binary fields). It offers a label showing
whether the blob field is empty or not, and if non-empty shows
the content size (in bytes/kb/etc).

A drop down menu button allows users to save the current binary
contents of the field out to a disk based file, clear the contents
of a blob field, or embed binary contents by picking a file
from their system.
2018-11-13 07:14:19 +10:00
Nyall Dawson
608d03c53d Add support for binary fields to QgsVectorFileWriter 2018-11-13 07:14:19 +10:00
Nyall Dawson
f3f1214df9 Unit test for creation of blob field in existing table 2018-11-13 07:14:19 +10:00
Nyall Dawson
17ced9186a Tweak behavior of new shapefile/gpkg browser actions 2018-11-13 07:14:19 +10:00
Nyall Dawson
d0622743ff Fix string 2018-11-13 07:14:19 +10:00
Nyall Dawson
36379307c4 [FEATURE][ogr] Allow creation of binary (blob) fields for compatible filetypes 2018-11-13 07:14:19 +10:00
Nyall Dawson
51587209ac Add comment on detach use 2018-11-13 07:14:19 +10:00
Nyall Dawson
a234bf7f4d Fix size of field icons (should be 16x16), minimize 2018-11-13 07:14:19 +10:00
Nyall Dawson
6d5188bdb2 Fix build on Travis 2018-11-13 07:14:19 +10:00
Nyall Dawson
be69dd8e52 Fix build 2018-11-13 07:14:19 +10:00
Nyall Dawson
a192dab9de Unit tests for extract binary algorithm 2018-11-13 07:14:19 +10:00
Nyall Dawson
62bdc28de8 Unit tests for updating OGR binary column 2018-11-13 07:14:19 +10:00
Nyall Dawson
de497a3b51 Icon for binary fields 2018-11-13 07:14:19 +10:00
Nyall Dawson
cdaf99de53 Don't try to show CRS in map layer model for aspatial tables 2018-11-13 07:14:19 +10:00
Nyall Dawson
e80c31e809 [FEATURE][processing] New algorithm for extracting binary blobs from fields
Allows users to extract binary fields to files. The filename is set via
a data defined expression, so can be taken from a column value or
a more complex expression.
2018-11-13 07:14:19 +10:00
Nyall Dawson
5c27b7da50 [FEATURE] Binary blob support for OGR provider
Instead of converting binary fields to truncated strings, we instead
store their contents as QByteArray values, allowing the original binary
content to be retrieved.

This allows for plugins and scripts to utilise binary fields,
such as extracting their contents.
2018-11-13 07:14:19 +10:00
Nyall Dawson
8ae1880d38 Rename method for consistency, fix dox 2018-11-13 07:13:36 +10:00
Nyall Dawson
0eefd3e728 Update some dependencies 2018-11-13 07:13:36 +10:00
Nyall Dawson
5ed35d6dfa Only analysis lib depends on EXIV2, not core/etc 2018-11-13 07:13:36 +10:00
Nyall Dawson
8703fb219b [FEATURE][API] New class QgsExifTools
Contains utilities for retrieving the geotag from images and
for setting an image's geotag.

Working with geotags (before this class!) is super-annoying
and fiddly and relies on either parsing command line tools
or depending on non-standard Python libraries which are
not available everywhere, and often very difficult for users
on certain platforms to get installed and working correctly.

With this class we have stable methods for geotag getting/setting
which are universally available and can be used safely
by plugins and scripts.
2018-11-13 07:13:36 +10:00
Nyall Dawson
62495c0699 Link exiv2 into analysis library 2018-11-13 07:13:36 +10:00
Sandro Mani
e0c79c4574 Add EXIV2 cmake variables
Forward port from kadas-albireo
2018-11-13 07:13:36 +10:00
Juergen E. Fischer
d0d10f8fce debian packaging: add python-gdal dependency 2018-11-12 20:13:37 +01:00
Martin Dobias
1275708a49
Merge pull request from wonder-sk/terrain-shading
[3d] Terrain shading
2018-11-12 18:13:43 +01:00
lbartoletti
5eecbf2d4c Add translation ; add button 'load file' 2018-11-12 17:48:14 +01:00
Alessandro Pasotti
d479b4dcbc Emit valueChanged when a widget value changes as a consequence of another widget changed
Fix 
2018-11-12 16:41:15 +01:00