36460 Commits

Author SHA1 Message Date
Nyall Dawson
e0934d7766 [composer][needs-docs] Rename "world file map" option to "reference map"
This option will be used for more than just world file generation,
and instead will indicate which map should be considered the master
map for the composition from which any composer properties
calculating map units will derive the scale from.
2017-01-16 15:52:19 +10:00
Even Rouault
5abe66b4c7 GML parser: do not use layer extent as feature geometry if the feature has no geometry 2017-01-15 12:24:59 +01:00
Even Rouault
283d45a443 Merge pull request #3993 from rouault/fix_16009
GML parser: fix parsing of typenames and geometry names with non-ASCII character (#16009)
2017-01-14 16:28:49 +01:00
Even Rouault
6de4fceec2 GML parser: fix parsing of typenames and geometry names with non-ASCII character (#16009) 2017-01-14 16:09:54 +01:00
Denis Rouzaud
b412ceb109 Split (#3988)
* add coreutils to travis

* ppa for coreutils backport
2017-01-14 12:36:02 +01:00
Nyall Dawson
7d2cd371d8 [composer] Avoid some use of composition map settings 2017-01-14 19:14:48 +10:00
Nyall Dawson
6ffe50704f [composer] Remove support for upgrading pre 2.2 project atlas map
settings

Open the project in a recent 2.x release and resave to upgrade
the project
2017-01-14 19:14:48 +10:00
Nyall Dawson
b5480633e4 Standardise names for static variables
All non-const variables are prefixed with "s", all const
statics are ALL_CAPS
2017-01-14 16:40:24 +10:00
Nyall Dawson
231f6af0e1 Don't return const references to implicitly shared Qt classes
Instead return the inexpensive copies. Should provide extra safety
against issues like #14822

(refs #14822)
2017-01-14 15:53:45 +10:00
Hugo Mercier
ef8a135f1b Merge pull request #3987 from mhugo/servermultithread
[server] parallel map rendering
2017-01-13 16:16:14 +01:00
Alexander Bruy
49b6c5f342 [processing] more fixes to "selection" type settings handling 2017-01-13 16:43:16 +02:00
Alexander Bruy
3605d4fce3 Revert "[processing] handle string settings from previous install (followup 03eaad5bfd)"
This reverts commit daf65d8fdf3f8eb238c07f682c4d9a508e613f7a.
2017-01-13 16:38:30 +02:00
Alexander Bruy
daf65d8fdf [processing] handle string settings from previous install (followup 03eaad5bfd) 2017-01-13 15:50:38 +02:00
Alexander Bruy
f01b2f0597 [processing] extent is mandatory parameter for interpolation algorithms 2017-01-13 15:50:38 +02:00
Alexander Bruy
ce88da6eb9 [processing] raise error if cellsize is not defined in interpolation
algorithm
2017-01-13 15:50:38 +02:00
matteo
8994877717 processing zonal statistics 2017-01-13 12:37:51 +01:00
matteo
c259070102 processing single to multi test 2017-01-13 12:37:51 +01:00
matteo
7958db29d1 processing mean coordinates test 2017-01-13 12:37:50 +01:00
matteo
2c6649358a processing points along lines test 2017-01-13 12:37:50 +01:00
matteo
94856b59b1 processing qgis count points weighted 2017-01-13 12:37:39 +01:00
matteo
590abf0a44 processing qgis countsuniquepoints test 2017-01-13 12:37:39 +01:00
Alessandro Pasotti
1a6b977386 [server] C++ 11 style default virtual destructor 2017-01-13 09:32:21 +01:00
Alessandro Pasotti
0f7dfc9285 [server] QsgServerInterface available without python 2017-01-13 09:29:33 +01:00
Blottiere Paul
932d9fb5d3 [server] parallel map rendering 2017-01-13 09:24:31 +01:00
Denis Rouzaud
563de37026 [spellcheck] remove unknown split option 2017-01-13 09:07:43 +01:00
Alexander Bruy
8f291a92df [processing] allow other output formats than shapefile in GDAL
polygonize
2017-01-13 09:16:19 +02:00
Denis Rouzaud
62c5069e87 Merge pull request #3980 from 3nids/morespell
Interactive spelling corrections and add more words to spell check
2017-01-12 22:30:29 +01:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
Denis Rouzaud
46f786eb52 add interactive mode to spell checking (allow direct replace or ignore) 2017-01-12 20:29:08 +01:00
Alessandro Pasotti
c484742eb7 [server] Fix wrong debug output name and added HTTP_AUTHORIZATION 2017-01-12 19:35:33 +01:00
Alexander Bruy
c9a8e5be61 fix settings group capitalization 2017-01-12 20:19:41 +02:00
Matthias Kuhn
cce07020ff Fix attribute table shows columns twice
If they have been defined with different capitalization
2017-01-12 15:02:16 +01:00
Alexander Bruy
b6632b0731 [processing] workaround for fixing broken build 2017-01-12 14:49:26 +02:00
Alexander Bruy
75a7637838 [processing] fix typo in method name 2017-01-12 12:54:13 +02:00
Alexander Bruy
03eaad5bfd [processing] fix handling of the "selection" type settings 2017-01-12 12:52:04 +02:00
rldhont
b823874f8e [BUGFIX][Server] Add short names in restricted layer list
The restricted layer list contains layer names and layer ids if layer ids are used as service layer name.
This code adds layer  short name to the restricted layer list if layer ids are not used as service layer name.
2017-01-12 11:35:47 +01:00
Nyall Dawson
a13ef7bdc1 Use feature from expression context in expression builder preview
instead of always getting first feature from the layer

This means that e.g. expression builder previews in composer atlas
will use the current atlas preview feature

Also remove an unnecessary restriction that blocks the preview if
a layer has no features
2017-01-12 16:09:40 +10:00
Nyall Dawson
55f6b11225 [composer] Fix expressions inserted into HTML item source are lost on refresh 2017-01-12 15:45:18 +10:00
Nyall Dawson
b7706b358f Rename some static variables for consistency
Ensure non-const statics have "s" prefix and const statics
are in all caps
2017-01-12 15:17:47 +10:00
Nyall Dawson
3705ff18ce Nicer creation of static QMaps
c++11/Qt5 allow us to clean up the creation and initialization
of static QMaps and avoid the need for initialization functions
2017-01-12 15:17:47 +10:00
Tudor Bărăscu
dbefbfeff0 show field alias when presenting constraint msg
Before, when a field didn't passed the defined constraints
it showed a message in the form of "field name: Constraint defined message".

Now, if if a field alias is defined, the message is in the form of
"field alias: Constraint defined message"

See #15455
2017-01-11 22:42:09 +01:00
Alexander Bruy
6214d4d446 [processing] fix wrong parameter definition (fix #16063) 2017-01-11 19:23:08 +02:00
Alexander Bruy
80d0d05b18 [FEATURE][processing] remove TauDEM provider from core Processing
TauDEM is quite specific set of tools and it requires installation of
some additional tools. So we decide to turn it into separate provider,
reducing core codebase size and maintenance efforts.

Tagged as feature to not forget mention in changelog and documentation
2017-01-11 15:15:37 +02:00
Denis Rouzaud
4467487e1c respect CamelCase for enums and their values 2017-01-11 14:10:11 +01:00
Alexander Bruy
6be4505493 [processing] update OTB's white- and blacklist. Drop obsolete 3.x
versions and add latest 5.8.0
2017-01-11 13:43:17 +02:00
Alexander Bruy
371fe1dd48 [processing] add new MultiImageSamplingRate algorithm from OTB 5.8.0 2017-01-11 13:42:29 +02:00
Denis Rouzaud
748be8de71 [spelling] replace behaviour by behavior 2017-01-11 11:35:19 +01:00
rldhont
bc4c470294 Merge pull request #3960 from rldhont/server-wms-transparent-bgcolor
[BUGFIX][Server] Re-enable Transparent and Bgcolor parameter for GetMap
2017-01-11 10:58:16 +01:00
Nyall Dawson
e656c63ab7 Remove duplicate QgsFeature::setFeatureId method
Leave just QgsFeature::setId and document api break
2017-01-11 10:05:31 +01:00
rldhont
bf73e2c240 [BUGFIX][Server] Re-enable Transparent and Bgcolor parameter for GetMap
Fixed #15990 wms png transparency not honoured

And add tests for transparent and bgcolor in GetMap and GetLegendGraphic
2017-01-11 09:48:10 +01:00