Nyall Dawson
6d23b0450c
Merge pull request #3992 from nyalldawson/distance_otf
...
Don't disable project ellipsoid choice when canvas OTF reprojection is disabled
2017-01-16 17:08:56 +10:00
Nyall Dawson
5e459d7b25
Merge pull request #3995 from nyalldawson/render_context
...
Remove rasterScaleFactor/setRasterScaleFactor from QgsRenderContext
2017-01-16 17:08:26 +10:00
Nyall Dawson
3274e1926f
Remove more unused raster scale factor handling
2017-01-16 16:50:54 +10:00
Nyall Dawson
48797fa9b7
Remove unused (and not useful) QgsRenderContext::constPainter getter
...
Since const QPainters cannot be painted to, there's no value in
leaving this in the API
2017-01-16 16:19:00 +10:00
Nyall Dawson
cc56c80b5b
Small cleanups and documentation improvements for QgsRenderContext
2017-01-16 16:18:59 +10:00
Nyall Dawson
430af90cfa
Remove rasterScaleFactor/setRasterScaleFactor from QgsRenderContext
...
These were not being used by QGIS code (always left at default 1.0
value), and removing them from the api allows us to simplify lots
of code. It also makes QgsRenderContext scaling much less confusing.
2017-01-16 16:18:58 +10:00
Nyall Dawson
49411210b0
[composer] Remove QgsComposerMap::storeCurrentLayerSet
...
This method was used to sync the canvas layers to a composer map.
The logic has been moved to app to avoid a dependancy between
compositions and the main map canvas
2017-01-16 15:52:19 +10:00
Nyall Dawson
f96364e8dc
[composer] Cleanup handling of wms layer/advanced effect detection
2017-01-16 15:52:19 +10:00
Nyall Dawson
8a9cee0fb6
[composer] Use reference map when creating render context for
...
draw shape/arrow/nodes/paper symbols
This commit removes some more instances where changes in the
canvas affect compositions. Previously the symbols drawn
in shape/arrow/etc items were using the scale from the canvas.
This meant that the appearance of these items in composer
would change depending on canvas zoom if they used symbols
with map unit sizes.
Now they take their map scale from the composition's reference
map. While this has the nice side effect that now map units
can be used in the appearance of these items and they're
guaranteed to match up with the reference map item, the main
intention here is to remove more of the forced links between
compositions (core) and the main canvas (app).
2017-01-16 15:52:19 +10:00
Nyall Dawson
8a722d2981
Move QgsSymbolLayerUtils::createRenderContext to QgsRenderContext::fromQPainter
...
This method is useful in many contexts outside of symbology
2017-01-16 15:52:19 +10:00
Nyall Dawson
f32d11b508
[composer] Use largest map in composition as reference map if no
...
reference map is explicitly set
2017-01-16 15:52:19 +10:00
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