Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qgis-server - wrong legend when mapunit and categorized #18995

Closed
qgib opened this issue Jun 14, 2014 · 2 comments
Closed

qgis-server - wrong legend when mapunit and categorized #18995

qgib opened this issue Jun 14, 2014 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server

Comments

@qgib
Copy link
Contributor

qgib commented Jun 14, 2014

Author Name: aperi2007 - (aperi2007 -)
Original Redmine Issue: 10590
Affected QGIS version: 2.2.0
Redmine category:qgis_server


Hi,

I set a legend using categorized rendering, and map-unit.
I set a huge dimension 200px for map-unit to see it visible at a low scale.

The legend is well created on qgis desktop, instead in qgis-server is really wrong.

This is the result on qgis-server:

http://www502.regione.toscana.it/geoscopio_qg/cgi-bin/qgis_mapserv?map=continuum_geologico_rt.qgs&SERVICE=WMS&request=GetLegendGraphic&version=1.1.1&format=image/png&sld_version=1.1.0&width=23&height=15&layer=frane100k&style=default&legend_options=fontName:Verdana;fontSize:10

I attach also the qml used for this result.
The qgis is from the master, 2 day old.


@qgib
Copy link
Contributor Author

qgib commented Jun 14, 2014

Author Name: aperi2007 - (aperi2007 -)


forgot the qml.


  • 7433 was configured as sample.zip

  • sample.zip (aperi2007 -) - the qml used in qgis-server

@qgib
Copy link
Contributor Author

qgib commented Oct 23, 2014

Author Name: Martin Dobias (@wonder-sk)


I believe this is now fixed in master after reworking of qgis server legend with new QgsLegendRenderer. Please reopen if not.


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server
Projects
None yet
Development

No branches or pull requests

1 participant