26275 Commits

Author SHA1 Message Date
Juergen E. Fischer
1cd7dc6aea fix potential link error on windows - if anything was using
QgisGui::createFileFilter_() outside of the gui dll it would produce a link
error
2015-01-27 00:26:46 +01:00
Juergen E. Fischer
e5ac88f3bc fix example indentation 2015-01-27 00:10:03 +01:00
Michael Kirk
262a5b2b18 test case for file filter formatter 2015-01-26 14:08:00 -08:00
Michael Kirk
1e936df8d4 Saving map defaults to PNG instead of BMP
This only affects a user the first time they save a map as an image.
Afterwards their preference is saved.

FIXES: #8493
2015-01-26 14:08:00 -08:00
volaya
098aa681f0 Merge pull request #1852 from radosuav/changes
[Processing] Small fixes and additions
2015-01-26 08:38:19 +01:00
Nathan Woodrow
609db7d2af Fix double click on fields in expressions builder 2015-01-26 15:20:03 +10:00
Nyall Dawson
f7f89b37b9 Fix calculation of blur ops with non ARGB32_Premultiplied images 2015-01-26 14:27:20 +11:00
Gary Sherman
2e8df945b4 Update AUTHORS
Fix name and email
2015-01-25 15:17:41 -09:00
Juergen E. Fischer
7b1f9eedfd fix typo 2015-01-25 22:38:36 +01:00
Werner Macho
21f1aab48c fix typo in processing
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-01-25 19:15:24 +01:00
Martin Dobias
01286cc4b2 Point locator: fix addition of features when OTF reprojection is on
This would cause issues when editing geometries with OTF on.
Discovered by @nirvn
2015-01-25 13:44:13 +07:00
Juergen E. Fischer
62b2c1fcab db manager: request credentials directly when connection failed (fixes #11886) 2015-01-25 00:33:35 +01:00
Juergen E. Fischer
f8f2713571 postgres provider: improve owner check (fixes #9844) 2015-01-24 22:11:51 +01:00
Juergen E. Fischer
4afdf553e7 fix signal/slot warnings 2015-01-24 22:08:52 +01:00
Juergen E. Fischer
1e21c5a9e9 fix backtrace output 2015-01-24 22:00:07 +01:00
Juergen E. Fischer
e5a45571f2 indentation update 2015-01-24 13:22:49 +01:00
Juergen E. Fischer
ee842bc71a fix typo 2015-01-24 13:20:01 +01:00
Juergen E. Fischer
c1e4371b25 postgis connection: remove duplicate tooltips 2015-01-24 13:20:01 +01:00
Denis Rouzaud
eb6332fc35 override default settings for snapping utils
followup 7e0f64648ac4faf89d44d00959a876de26bcc2df
2015-01-23 15:36:34 +01:00
Martin Dobias
334d885b6d Snapping tolerance: Fix "map units" vs "layer units" dilemma (fixes #11634)
Until now "map units" in snapping config dialog actually referred to layer units.
From now on, "map units" refer to project's CRS units. Where appropriate, it is
possible to choose "layer units" that refer to layer CRS units.

Projects from older versions of QGIS should be handled seamlessly (tolerances
in layer units will be still handled in layer units, not project units).

In API, QgsTolerance::MapUnits is deprecated as it is unclear to what units
it refers to (should be ProjectUnits, but actually it is LayerUnits)
2015-01-23 18:53:02 +07:00
Denis Rouzaud
7e0f64648a allow overriding project snapping settings from advanced digitzing tools
therefore snapping to all layers can be applied, and snapping to segment can be turned on when enabling parallel/perpendicular constraints
2015-01-23 11:10:35 +01:00
Denis Rouzaud
dfc2dc7897 fix combo index 2015-01-23 11:10:35 +01:00
alexbruy
f2033f40a6 Merge pull request #1859 from rduivenvoorde/xmin_rename
[processing] changing fieldnames from xmin to x_min
2015-01-23 12:07:38 +02:00
Matthias Kuhn
01fd4f3365 Join: Fix specific set of fields not editable
Followup 60712cd

Fix #12042
2015-01-23 10:59:34 +01:00
Richard Duivenvoorde
b1b3614fea changing fieldnames from xmin to x_min
xmin and ymin are resevered fieldnames in Postgis, so better not
use these field names. Because this makes it impossible to create
a vector grid and transfer it to Postgis
2015-01-23 10:57:35 +01:00
mhugent
1c71799e60 Merge pull request #1857 from rldhont/server_wms_sld_describe_layer
[SERVER][FEATURE] Add DescribeLayer Method to WMS
2015-01-23 10:27:01 +01:00
Martin Dobias
743f72d08c Use QgsSnappingUtils in offset curve tool (instead of QgsSnapper) 2015-01-23 15:33:31 +07:00
vmora
261271518c line symbol layer refacto to avoid code duplication
The line symbol layer as been refactored to avoid code duplication and
expose the offset and offset units in the base class. Note that
the added functions in the base class where already defined in all
child classes.
2015-01-23 09:12:06 +01:00
Marco Hugentobler
78601380cb WMS server: list project crs, wgs84 and pseudo mercator in capabilities if no crs restriction is provided 2015-01-23 08:36:24 +01:00
Martin Dobias
e22edc82ef QgsSnappingUtils: show a progress dialog if initial indexing takes long 2015-01-23 14:30:46 +07:00
Martin Dobias
cad3173d6e QgsSnappingUtils: improvements of the hybrid indexing strategy
Instead of calculating feature count (which may add extra overhead),
let's directly try to build index for layers. Only when a certain limit
of features is reached (currently 1 million), the indexing is cancelled
and layer is marked as non-indexable.
2015-01-23 14:30:46 +07:00
Nyall Dawson
6d7e3960de Deprecate QgsDataDefinedSymbolDialog, no longer used
Move help descriptions to QgsDataDefinedButton and consolidate
with existing descriptions.
2015-01-23 16:54:58 +11:00
Martin Dobias
408d746c21 Make sure to update snapping utils when layers change
Otherwise when using all layers the change would not become visible
(unless other change happens, e.g. change of map extent)
2015-01-23 12:48:20 +07:00
Martin Dobias
23c776e10d [FEATURE] New snapping mode to snap to all layers 2015-01-23 11:37:39 +07:00
Juergen E. Fischer
6419a7bc25 fix parsing of datasource uri 2015-01-23 02:50:23 +01:00
Juergen E. Fischer
956e83f265 fix legend crash 2015-01-23 00:19:27 +01:00
Juergen E. Fischer
221e9ef7c7 dxf export: support line offsets 2015-01-23 00:14:39 +01:00
Juergen E. Fischer
cce2eb50cb indentation update 2015-01-22 20:56:02 +01:00
Nyall Dawson
ccc0d2f0ae Merge pull request #1854 from vmora/fix_dd_line_offset
fix type and helpstring of line offset
2015-01-23 06:28:59 +11:00
Tim Sutton
2bb6f2a253 Merge pull request #1851 from timlinux/master
Dont dump projects to console when reading them
2015-01-22 20:24:50 +02:00
rldhont
5c89fdfea3 [SERVER][FEATURE] Add DescribeLayer Method to WMS
*Styled Layer Descriptor profile of the Web Map Service* : DescribeLayer

http://www.opengeospatial.org/standards/sld

Defining a user-defined style requires information about the features being
 symbolized, or at least their feature/coverage type. Since user-defined styles
 can be applied to a named layer, there needs to be a mechanism by which a
 client can obtain feature/coverage-type information for a named layer. This is
 another example of bridging the gap between the WMS concepts of layers and
 styles and WFS/WCS concepts such as feature-type and coverage layer. To allow
 this, a WMS may optionally support the DescribeLayer request.

DescribeLayer method has been thought to be a better approach than overloading
 the WMS capabilities document even more.

For each named layer, the description should indicate if it is indeed based on
 feature data and if so it should indicate the WFS/WCS (by a URL prefix) and
 the feature/coverage types. Note that it is perfectly valid for a named layer
 not to be describable in this way.
2015-01-22 19:08:29 +01:00
Matthias Kuhn
65a3bed5bd Offline editing: preserve tree structure fix
The offline layers were duplicated, now the automatically inserted one is
removed and only the one at the restored place is preserved.

Followup 46490d4
2015-01-22 19:06:01 +01:00
Matthias Kuhn
eea6effbed Offline editing: Use layer id instead of layer name for table name
Avoids table name collisions
2015-01-22 19:04:35 +01:00
Matthias Kuhn
0bdebed2c0 Test for non-custom prefix join name 2015-01-22 17:47:07 +01:00
Matthias Kuhn
7f97c31fc0 Add test for custom prefix on joins 2015-01-22 17:45:39 +01:00
Matthias Kuhn
772033dac4 Offline editing: preserve join field names (layer prefix) 2015-01-22 17:19:09 +01:00
Matthias Kuhn
3dbf70ffe5 Offline editing: preserve scale based visibility 2015-01-22 17:19:09 +01:00
Matthias Kuhn
34dc427ada Backup layer join information when converting to offline project 2015-01-22 17:19:09 +01:00
Matthias Kuhn
46490d4ea1 Preserve legend tree structure when creating offline project 2015-01-22 17:19:08 +01:00
Matthias Kuhn
cb48948d0b Add python bindings for QgsMessageBar slots 2015-01-22 17:19:08 +01:00