26192 Commits

Author SHA1 Message Date
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
Matthias Kuhn
8235e4fda9 Offline editing plugin: only copy provider fields
Before only provider fields where created in the local database while it was
attempted to copy every field in the layer (including virtual fields and
joins) introducing a crash.
2015-01-22 17:19:08 +01:00
Matthias Kuhn
eaca08076d Add convenience slots to QgsMessageBar 2015-01-22 17:19:08 +01:00
Matthias Kuhn
4a8bcc9894 Make offline editing warnings use message bar and more verbose 2015-01-22 17:19:08 +01:00
alexbruy
75b6c32ee7 Merge pull request #1855 from gioman/fix_processing_grass
missed import in Processing GRASS algorithms (fix 12034)
2015-01-22 18:16:16 +02:00
Giovanni Manghi
fff15e5ba6 fix Processing GRASS 2015-01-22 15:45:01 +00:00
Martin Dobias
ff6b7decea [FEATURE] Overhaul of simplify feature tool (fixes #11514)
This commit itself just removes dead code, but the previous commits bring:
- OTF reprojection support
- use can specify exact tolerance (not just non-sense relative value)
- tolerance can be specified either in map units or layer units
- tolerance settings are stored in settings
- simplify multiple features at once (drag a rectangle instead of just clicking)
- support for multi-part features
- statistics about reduction of the number of vertices
2015-01-22 22:16:23 +07:00
Martin Dobias
2a08dc0200 Simplify tool: support multi-part features 2015-01-22 22:16:23 +07:00
Martin Dobias
0f9e1f7121 Simplify tool: show status message about the simplification results 2015-01-22 22:16:23 +07:00
Martin Dobias
4322de900c Simplify tool: allow simplification of multiple features at once
One just needs to drag a rectangle instead of just clicking
2015-01-22 22:16:23 +07:00
Martin Dobias
8770c9b25f Simplify tool: allow simplification in map units in addition to layer units
Also fixes simplification of polygons with holes
2015-01-22 22:16:23 +07:00
Martin Dobias
ae44e55259 Simplify tool: support for on-the-fly reprojection 2015-01-22 22:16:23 +07:00
Martin Dobias
180ede3f7b Simplify tool: use exact tolerance (+ store it in settings)
Removed the slider as it was of questionable usefulness.
2015-01-22 22:16:22 +07:00
Martin Dobias
e93c713e22 Simplify tool - a bit of housekeeping (no functional changes) 2015-01-22 22:16:22 +07:00
Matthias Kuhn
60712cd9bd [FEATURE] Allow to specify custom prefix for joins 2015-01-22 15:58:34 +01:00
vmora
5369ce0498 fix type and helpstring of line offset 2015-01-22 15:38:49 +01:00
radosuav
b835f406fa [Processing] Allow user defined projections in Processing. 2015-01-22 14:38:47 +01:00
radosuav
8fc6dd8d42 [Processing] Let a script know where what is its description file.
Usefull if it needs to access other files located relative to the script
location.
2015-01-22 14:33:17 +01:00
radosuav
4aafa92ec2 [Processing] Fix bug in setting default parameter values in batch mode. 2015-01-22 14:32:29 +01:00
volaya
23100464d4 [processing] fixed console description of models and scripts 2015-01-22 13:23:43 +01:00
volaya
00cb6800aa [processing] fixed wrong import 2015-01-22 13:23:42 +01:00
volaya
7106384c33 [processing] fixed model help editing 2015-01-22 13:23:41 +01:00
alexbruy
cd556e6543 Merge pull request #1850 from SrNetoChan/Bug_12001
fix Processing Keep n biggest parts algorithm (fix #12001)
2015-01-22 10:20:13 +02:00
alexbruy
7c71a263a4 Merge pull request #1849 from gioman/fix_ogr2ogr_convert_format
fix Processing ogr2ogr convert format tool
2015-01-22 10:19:21 +02:00
Tim Sutton
8d98c7997f Dont dump projects to console when reading them 2015-01-22 09:41:02 +02:00
Martin Dobias
ee0e90a44b Report correct count of inserted nodes when adding legend nodes 2015-01-22 13:42:31 +07:00
Martin Dobias
aacb1bdf3e Save and restore expanded state of legend nodes in tree hierarchy 2015-01-22 13:42:31 +07:00
Martin Dobias
3d539c8cd3 [FEATURE] Show rule-based renderer's legend in a tree hierarchy
The functionality can be used in other renderers too, the only requirement
is that legend nodes need to specify their parent rule key via data().

Note that ayer tree model must have ShowLegendAsTree flag enabled, otherwise
the model will keep showing lists instead of trees.
2015-01-22 13:42:31 +07:00
Martin Dobias
012c3478f3 Restructure the code in QgsLayerTreeModel to group legend-related code 2015-01-22 13:42:31 +07:00
Nathan Woodrow
56069c9c21 Move template text to qgis.user.expressions 2015-01-22 16:12:01 +10:00
Nyall Dawson
df939c3fa8 Data defined all the things!
Add a bunch of missing data defined options for symbology.
Also fix dialog sizing issues.
2015-01-22 16:04:47 +11:00
Nyall Dawson
8216f7dfc9 Actually hook up missing datadefined outline style for ellipse marker 2015-01-22 16:04:35 +11:00
Alexandre Neto
e26eae9496 Fixes Processing Keep n biggest parts bug #12001 2015-01-21 23:54:50 +00:00
Nathan Woodrow
bed278a729 Expand args for custom functions. Add auto arg count
Format test to use spaces and not tabs
2015-01-22 09:21:41 +10:00