4956 Commits

Author SHA1 Message Date
elpaso
230196071a Added TypeHeaderCode for QgsServerFiltersMap 2015-08-04 20:55:42 +02:00
Matthias Kuhn
cf2f6b17fa Alias without pending prefix for QgsVectorLayer methods
* pendingAllAttributesList -> attributeList
 * pendingPkAttributesList -> pkAttributeList
 * pendingFeatureCount -> featureCount

featureCount will now always return the features on the layer and NOT the
committed features count as before.
This changes its behavior but this way it is coherent with the other methods
which work on the layer.
2015-08-04 15:13:31 +02:00
Matthias Kuhn
e832b2a28a Add QgsVectorLayer::fields() as alias to pendingFields()
pendingFields() is not very intuitive and leads to confusion for new developers.
2015-08-04 15:13:31 +02:00
Nyall Dawson
745f91d249 Add 'edit' buttons to remaining gradient combo boxes
Also consolidate code for easier maintenance.
2015-08-04 16:23:06 +10:00
Juergen E. Fischer
c31810af8b typo fixes 2015-08-03 20:36:17 +02:00
Nyall Dawson
69ac6771e8 [FEATURE][composer] Add page name option for atlas
Page name can be set to either a field or expression derived from
the coverage layer, and is shown in the new atlas page combobox.
2015-08-03 16:46:59 +10:00
Martin Dobias
febadfe21b Fix crashes when rendering with SVG symbols that are missing
The crashes would happen after some time when browsing the map,
especially when size of SVGs is in map units. This was due to wrong
removal of deleted cache entries where cache entry key would be
different from SVG file's path, thus not removing the entry that
got deleted. Now explicitly keeping the lookup key in the entry
to make sure this does not happen.

Related issues: #9959, #8883
2015-07-31 20:35:15 +02:00
Giovanni Manghi
1dfec33e5a fix Processing QGIS vector grid as lines 2015-07-31 18:50:11 +02:00
Hugo Mercier
95ff0922e4 Handle QgsDataItem class hierarchy in SIP bindings 2015-07-30 15:04:56 +02:00
Juergen E. Fischer
fe50327b28 fix oracle provider (followup 5be0ee7) 2015-07-30 09:31:28 +02:00
Juergen E. Fischer
384c0a703b processing: fix saga translation (followup 66a3d02) 2015-07-29 18:55:11 +02:00
Matthias Kuhn
e984fb00fd Remove QgsRenderOptions, return filter in separate method 2015-07-29 12:09:44 +02:00
Matthias Kuhn
5be0ee734f Remove QgsFeatureRequest::FilterRect from providers/iterators 2015-07-29 12:09:44 +02:00
Matthias Kuhn
1d7a6a4909 Rule based renderer exposes filter where clause
This filter can then be sent to the server to reduce the amount of fetched
features
2015-07-29 12:08:55 +02:00
Matthias Kuhn
b47b9a54b7 Add return type QgsRenderOptions to QgsRendererV2::startRender
This allows to specify additional filter constraints for the feature request to
be specified.
2015-07-29 12:08:54 +02:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
Juergen E. Fischer
93e2c5a01d processing: translation fix (open fusion las viewer; followup 66a3d02) 2015-07-28 14:12:53 +02:00
Juergen E. Fischer
25a50bf73f Revert "add missed translations.py file" (followup 66a3d02)
This reverts commit 6dd615719922ff3cd136ba800e5dc033e5ff9b34.
2015-07-28 09:20:44 +02:00
Alexander Bruy
6dd6157199 add missed translations.py file 2015-07-28 09:21:17 +03:00
Matthias Kuhn
343d3a6854 fix processing startup error, followup 25e9f86 2015-07-27 17:13:04 +02:00
Juergen E. Fischer
25e9f864a2 processing: simple interface translation fix 2015-07-27 13:26:59 +02:00
Matthias Kuhn
70fe622661 Add iface.layerTreeCanvasBridge() 2015-07-26 23:01:46 +02:00
Juergen E. Fischer
4984cae78d db_manager: enable oracle plugin only when oracle support is available 2015-07-26 18:58:57 +02:00
Juergen E. Fischer
9d5a942b9f translation fixes 2015-07-26 18:25:07 +02:00
Juergen E. Fischer
b165875fa6 spelling fixes 2015-07-26 14:39:30 +02:00
Jürgen Fischer
644bdf046f Merge pull request #2222 from medspx/dbmanager-oracle
DBManager Oracle Spatial support (fixes #9163)
2015-07-26 04:39:04 +02:00
Juergen E. Fischer
66a3d02240 integrate processing into update_ts.sh (also includes all translations
in the repository and none outside of it).
2015-07-26 04:28:37 +02:00
Médéric RIBREUX
bda76e5750 Fix CMakelist for oracle 2015-07-25 16:51:38 +02:00
Médéric RIBREUX
3768d04d3d Oracle Spatial support for DBManager 2015-07-25 16:31:11 +02:00
Matthias Kuhn
d01424ae4b Add QgsRelation::getReferencedFeature to access parent feature 2015-07-24 18:57:24 +02:00
Matthias Kuhn
de547adc19 Find a suitable editor widget if widget and config mismatch
If a .ui file is specified and the widget specified in the .ui file is not
supported by the widgetwrapper which is configured in the layer properties
the system will automatically try to find a better suitable widgetwrapper.

To do this, widgetwrappers (respectively their factories) can return a map of
supported widget types with priority values.
The widgetwrapper which offers the heighest priority for a certain widget type
will be used in case of a mismatch.

Sponsored by OPENGIS.ch special projects team (aka gis.se troubleshooting
section)
2015-07-23 12:04:18 +02:00
Nyall Dawson
d07dadf333 [FEATURE][composer] Add page number combo box to atlas toolbar
(fix #13136)
2015-07-23 15:02:06 +10:00
Nyall Dawson
b4311877f7 [FEATURE][labeling] Add priority control for obstacles
Allows you to make labels prefer to overlap features from certain
layers rather than others. Can also be data defined, so that certain
features are more likely to be covered than others.
2015-07-23 15:00:53 +10:00
Nyall Dawson
c97733ea27 [FEATURE][labeling] Data defined control over whether a feature
acts as an obstacle for labels
2015-07-23 15:00:45 +10:00
alexbruy
eaddba62bf Merge pull request #2213 from arnaud-morvan/processing-translation
[processing] translate algorithm names and groups
2015-07-20 20:44:08 +03:00
Matthias Kuhn
a37b3e27d5 Remove executable flag on a bunch of files 2015-07-20 15:45:44 +02:00
volaya
bd73b76a29 Merge pull request #2214 from radosuav/numberInputPanel_range_fix
[Processing] Fix limits in NumberInputPanel when the limiting value is 0
2015-07-20 12:30:06 +02:00
volaya
49d0f3a12f Merge pull request #2204 from Gustry/processing
[Processing] Small python changes
2015-07-20 12:27:14 +02:00
Nyall Dawson
dc4049ddff [FEATURE][labeling] Add option to only draw labels which fit
completely within polygon features (fix #12136)
2015-07-20 13:48:49 +10:00
arnaud.morvan@camptocamp.com
b0dd2afb40 Processsing translation strings for names and groups 2015-07-17 15:18:30 +02:00
arnaud.morvan@camptocamp.com
c7b384135e Processing translation tool for names and groups 2015-07-17 15:15:53 +02:00
radosuav
0dfb1561c6 [Processing] Fix limits in NumberInputPanel when the limiting value is 0 2015-07-17 14:47:04 +02:00
Nyall Dawson
3a44e294de [FEATURE][labeling] Add option to control how polygon layers
act as obstacles

Options are either avoid placing labels over polygon interior
or avoid placing over polygon boundaries. (Previous behaviour
was always avoid placing over interior).

Avoiding placing over boundaries is useful for regional boundary
layers, where the features cover an entire area. In this case
it's impossible to avoid placing labels within these features,
and it looks much better to avoid placing them over the boundaries
between features. End result is better cartographic placement of
labels in this situation.
2015-07-17 15:26:57 +10:00
Marco Hugentobler
6788fbaa6a Add baseline buffer tolerance and simplification tolerance parameters to transect sample 2015-07-15 10:58:50 +02:00
Nyall Dawson
388e4047a7 [FEATURE][labeling] Add option for obstacle only layers
This allows users to set a layer as just an obstacle for other
layer's labels without rendering any labels of its own.

Ideas for UI improvements are welcome!
2015-07-15 16:08:24 +10:00
Juergen E. Fischer
48e4fb85c8 Revert "use triple quoting with st_estimatedextent in postgres provider and db_manager (fixes #12478)"
As it seems to address a meanwhile reverted behavior change in PostGIS 2.1
before it was released (see also https://trac.osgeo.org/postgis/ticket/2834).

This reverts commit 048aff01bb9cf42e2c1c17eb0ddbd81537443e19.
2015-07-13 11:15:40 +02:00
Matthias Kuhn
c6f7873585 Add QgsAttributes::operator== that takes care of NULL variants 2015-07-13 09:48:12 +02:00
Nyall Dawson
364df90303 Ensure LAS is always capitalized (fix #12012) 2015-07-13 16:07:20 +10:00
Juergen E. Fischer
a6c3de3047 db_manager: properly parse sqlite version (followup 5b86e38) 2015-07-11 23:42:46 +02:00
Juergen E. Fischer
5b86e38676 db_manager: only try isgpkg on spatialite plugin and sqlite version parsing 2015-07-11 23:24:13 +02:00