36568 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
Jorge Gustavo Rocha
2de18c92fc SLD parsing: handling ogc:Literal within CssParameter 2017-01-15 23:41:32 +00:00
Jorge Gustavo Rocha
6ba303e3ad SLD parsing: handling ogc:Literal within CssParameter 2017-01-15 19:47:01 +00: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
David Marteau
8b0526d678 Revisit server exceptions
- Add server exception base class
    - Enable per service exception definition
    - Handle QgsException gracefully (error 500)
    - Handle OGC exception versioning
2017-01-14 22:17:45 +01:00
David Marteau
c128d13ddf Remove dead code 2017-01-14 18:48:30 +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
e399ce36b7 Reword ellipsoid string to clarify that it also applies to area calculation 2017-01-14 19:52:50 +10:00
Nyall Dawson
797abbd718 [needs-docs] Rename 'Parameters:' ellipsoid option to 'Custom'
To better respect UI standards
2017-01-14 19:50:27 +10:00
Nyall Dawson
24c990f15f [needs-docs] Don't restrict project ellipsoid choice when
canvas OTF reprojection is disabled

These two settings aren't necessarily related - you may want
to disable OTF canvas reprojection while still wanting accurate
distance/area measurements using an ellipsoid.

This change should make distance/area calculation in QGIS more
reliable and predictable for users. Calculations are now
based entirely on the ellipsoid choice in project properties, so
it only takes checking a single setting to verify how
measurements are calculated.
2017-01-14 19:45:22 +10: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
Alexandre Neto
776c22f815 replace PNG files by SVG
mIconProjectionDisabled.svg
mIconProjectionEnabled.svg
transformed.svg
copyright_label.svg
2017-01-14 00:27:43 +00: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