4926 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
df2d00c544 fix plugin staging 2015-07-10 21:51:39 +02:00
Alessandro Pasotti
d7d59772a9 Merge pull request #2206 from elpaso/server-docs-server-iface-fix
[SERVER] Server docs and server iface fix
2015-07-10 15:35:03 +02:00
volaya
2b5ea3669e [processing] fixes for lastools algorithms
by Martin Isenburg
2015-07-10 15:28:02 +02:00
volaya
519d3dc3b7 [processing] more robust CRS assignation for SAGA outputs 2015-07-10 12:42:22 +02:00
elpaso
c126592272 Clear the request handler when done
also added some comments and docs strings
2015-07-10 12:03:55 +02:00
Nyall Dawson
405688ea49 [tests] Add method for setting size tolerance to render checker,
add some size tolerance to legend renderer test
2015-07-10 16:52:52 +10:00
Etienne Trimaille
e751592a4d small python change 2015-07-09 14:41:00 +02:00
Nyall Dawson
cfee456c05 [FEATURE] Add option to force a vector layer to render as a raster
(under the layer properties, rendering tab)

So why would you want this? Well, extremely detailed layers (eg
polygon layers with a huge number of nodes) can cause composer
exports in PDF/SVG format to be huge as all nodes are included in
the exported file. This can also make the resultant file very slow
to work with/open in other programs (*cough* Inkscape *cough*).

Now, these you can force these layers to be rasterised so that the
exported files won't have to include all the nodes contained in these
layers. (Before you could also do this by forcing the composer to
export as a raster, but that was an all-or-nothing solution).

The ideal solution would be a simplification option for composer
exports which would simplify the layers by removing redundant points
at the export DPI, but this is an easy workaround for now.
2015-07-09 18:34:55 +10:00
Juergen E. Fischer
390d832590 refactor stageinstall of plugins 2015-07-09 00:09:07 +02:00
Nyall Dawson
ce2c402690 [FEATURE][labeling] Allow data defined control of label priority
Previously only the priority for the entire layer could be specified
(fix #4606)
2015-07-08 18:38:33 +10:00
mhugent
736f1c4fa0 Merge pull request #2200 from mhugent/server_content_disposition
Server content disposition
2015-07-08 09:33:55 +02:00
Marco Hugentobler
153deba2fc Update python bindings for qgsrequesthandler 2015-07-07 14:57:18 +02:00
Nathan Woodrow
03b5ea4d79 Merge branch 'export_symbols' 2015-07-07 22:07:08 +10:00
Nathan Woodrow
659f0d661c Add exportImage API to QgsSymbol 2015-07-07 21:59:22 +10:00
Martin Dobias
099faec597 Added API to use layer style overrides also in map canvas
... so that map canvas does not always use just the active layer style
2015-07-07 13:15:56 +02:00
Nathan Woodrow
fbad68075b Fix #13059 - Fix expression template load error 2015-07-04 21:06:02 +10:00
Etienne Trimaille
fe1a032181 fix #13067 : bad geometries in the difference tool 2015-07-03 15:52:42 +02:00
volaya
2083d6db25 [processing] allow using layer names as input values 2015-07-03 08:18:57 +02:00
volaya
12736ac567 [processing] improvements fro gdal rasterize algs/gdal/rasterize.py
fixes #12541
2015-07-03 08:18:56 +02:00
volaya
7d8e188e4d [processing] allow changing font size in script editor
fixes #11328
2015-07-03 08:18:55 +02:00
volaya
de728743b7 [processing] do not accept grass vector layers as inputs
fixes #12436
2015-07-03 08:18:54 +02:00
Sandro Santilli
b9b6257eb7 DBManager TopoViewer: zoom on topology if first load
Fixes #13064
2015-07-02 23:57:54 +02:00
Juergen E. Fischer
b28c4847c7 dxf export:
* add missing marker types (fixes #13062)
* add missing support for data-defined marker names (fixes #13063)
2015-07-02 21:50:22 +02:00
Sandro Santilli
fcc51bcd8c DBManager topoviewer: don't be fooled by srid=-1 in topology.topology
Fixes #12802
2015-07-02 11:02:04 +02:00
Juergen E. Fischer
79d37c1a8b fix windows build (followup 8f2a3ae) 2015-06-30 17:30:25 +02:00
elpaso
594357a182 Corrected file comment headers 2015-06-29 12:49:43 +02:00
elpaso
00fa63618b [SERVER] Server refactoring and Python bindings/tests
This is a refactoring of the server component, the
server is now wrapped into a new QgsServer class with
python bindings and an examples python test.
2015-06-29 12:49:43 +02:00
Pirmin Kalberer
8b2bbcd147 Merge pull request #2173 from cedi4155476/dbmanager-geopackage_2
DBManager: Drag&Drop support for GeoPackage layers
2015-06-29 09:21:32 +02:00
Martin Dobias
11d1ac9540 Try to do automatic choice of the reference layer in GUI (using smallest cell area) 2015-06-29 10:25:47 +08:00
Martin Dobias
fcc0160755 Fix type of CRS WKT (use just QString instead of both QString and QByteArray) 2015-06-29 10:25:47 +08:00