26055 Commits

Author SHA1 Message Date
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
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
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
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