[QGIS Commit] [qgis/QGIS] d77084: added getLegendGrafic feature to WmsDataProvider -...
GitHub
noreply at github.com
Thu Oct 24 06:01:46 PDT 2013
Branch: refs/heads/master
Home: https://github.com/qgis/QGIS
Commit: d7708437632972b293fe7a511008a910e61c001d
https://github.com/qgis/QGIS/commit/d7708437632972b293fe7a511008a910e61c001d
Author: Luigi Pirelli <luipir at gmail.com>
Date: 2013-10-18 (Fri, 18 Oct 2013)
Changed paths:
M src/core/raster/qgsrasterdataprovider.h
M src/providers/wms/qgswmsprovider.cpp
M src/providers/wms/qgswmsprovider.h
Log Message:
-----------
added getLegendGrafic feature to WmsDataProvider - Developed with funding from Regione Toscana-SITA
better scale management to avoid call getLegendGraphics everytime + some defaults + added code example to manage LegendURL when it will be correctly parsed - Developed with funding from Regione Toscana-SITA
Commit: 48002dbf18392c1d227983b97e8dc65d7eb1f6b6
https://github.com/qgis/QGIS/commit/48002dbf18392c1d227983b97e8dc65d7eb1f6b6
Author: Luigi Pirelli <luipir at gmail.com>
Date: 2013-10-18 (Fri, 18 Oct 2013)
Changed paths:
M src/app/legend/qgslegend.cpp
M src/app/legend/qgslegend.h
M src/app/legend/qgslegendlayer.cpp
Log Message:
-----------
added wms getLegendGraphic management in case of rasterLayerSymbology - Developed with funding from Regione Toscana-SITA
This commit add the getLegendGraphic pixmap as legend in the QgsLegend.
Due to architectural QgsLegend limitation pixmap is shown of the same dimension of every single legend element (too little)
managing of getLegendGraphic popup and refresh - Developed with funding from Regione Toscana-SITA
Due the fact that WMS pixmap is too little, has been added a popup to show WMS legend in the original size
Has been added feature to refresh getLegendGraphics to every scale change due to extend modification. In this way
getLagendGraphic can be updated basing on scale and in the future also basing on viewport.
Modified QPixmap to QImage to be device independent
set absolute position due to popup is not referred to legendInterface (avoid hiding of the legend)
Commit: 32da13b20c6a408a975d0e93415a73d20a3c4b59
https://github.com/qgis/QGIS/commit/32da13b20c6a408a975d0e93415a73d20a3c4b59
Author: Luigi Pirelli <luipir at gmail.com>
Date: 2013-10-18 (Fri, 18 Oct 2013)
Changed paths:
M src/app/qgsoptions.cpp
M src/providers/wms/qgswmsprovider.cpp
M src/ui/qgsoptionsbase.ui
Log Message:
-----------
Added a resolution parameter in option->Canvas&Legend to instruct WMS getLegendGraphic
to get WMS legend with a good resolution for printing.
Set value to 0 to get default pixmap resolution.
Drawback in case of big resolution of the legend, it becames too big to be
correctly shown as PopUp in the QgsLegend interface.
Developed with funding from Regione Toscana-SITA
Commit: f6a6a0c017db6306691dca9c9008ef0100574d98
https://github.com/qgis/QGIS/commit/f6a6a0c017db6306691dca9c9008ef0100574d98
Author: Luigi Pirelli <luipir at gmail.com>
Date: 2013-10-18 (Fri, 18 Oct 2013)
Changed paths:
M src/app/composer/qgscomposerlegendwidget.cpp
M src/app/composer/qgscomposerlegendwidget.h
M src/app/legend/qgslegendlayer.cpp
M src/core/composer/qgscomposeritemcommand.h
M src/core/composer/qgscomposerlegend.cpp
M src/core/composer/qgscomposerlegend.h
M src/core/composer/qgslegendmodel.cpp
M src/ui/qgscomposerlegendwidgetbase.ui
Log Message:
-----------
Added managing of WMS legends (getLegendGraphic) in the addLegend of QgsComposer.
Added parameters to interactively modify wms legends scale.
Add WMS getLegendGraphic draw in composer and add it's size parameters in composer window.
Developed with funding from Regione Toscana-SITA
Commit: 8fb20f038d9d6c67bafc932ccea1d688ef2d5363
https://github.com/qgis/QGIS/commit/8fb20f038d9d6c67bafc932ccea1d688ef2d5363
Author: Jürgen Fischer <jef at norbit.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
Changed paths:
M src/app/composer/qgscomposerlegendwidget.cpp
M src/app/composer/qgscomposerlegendwidget.h
M src/app/legend/qgslegend.cpp
M src/app/legend/qgslegend.h
M src/app/legend/qgslegendlayer.cpp
M src/app/qgsoptions.cpp
M src/core/composer/qgscomposeritemcommand.h
M src/core/composer/qgscomposerlegend.cpp
M src/core/composer/qgscomposerlegend.h
M src/core/composer/qgslegendmodel.cpp
M src/core/raster/qgsrasterdataprovider.h
M src/providers/wms/qgswmsprovider.cpp
M src/providers/wms/qgswmsprovider.h
M src/ui/qgscomposerlegendwidgetbase.ui
M src/ui/qgsoptionsbase.ui
Log Message:
-----------
Merge pull request #966 from luipir/SITA3-WmsGetLegendGraphicManagement
WMS getLegendGraphic management in QgsLegend and QgsComposer - Developed with funding from Regione Toscana-SITA
Compare: https://github.com/qgis/QGIS/compare/fc74f6674c0f...8fb20f038d9d
More information about the QGIS-commit
mailing list