Re: [mapserver-users] How setting the legend color from mapscript
Hi, thx for reply. I mean the separate one legend image as callable using a GetLegendGraphics request. My python code is this: msMap.legend.keysizex=15 msMap.legend.keysizey=20 msMap.legend.keyspacingx=3 msMap.legend.keyspacingy=3 legendColor = mapscript.colorObj(255,255,255,0) msMap.legend.imagecolor=legendColor msMap.legend.status = mapscript.MS_OFF msMap.legend.postlabelcache = mapscript.MS_TRUE labelLegend = mapscript.labelObj() labelLegend.type = mapscript.MS_TRUETYPE labelLegend.size = 7 msMap.legend.label = labelLegend A. 2015-11-28 5:17 GMT+01:00 CzendaZdenda : > Hi, > > do you mean legend at a map? Or the separate one legend image > (msMap.drawLegend())? If the problem is just in the map legend, then do you > use something like this?: > > msMap.outputformat.transparent = 1 # or mapscript.MS_ON > > If yes, try to comment it. > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/How-setting-the-legend-color-from-mapscript-tp5233737p5238920.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] How setting the legend color from mapscript
Hi, do you mean legend at a map? Or the separate one legend image (msMap.drawLegend())? If the problem is just in the map legend, then do you use something like this?: msMap.outputformat.transparent = 1 # or mapscript.MS_ON If yes, try to comment it. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/How-setting-the-legend-color-from-mapscript-tp5233737p5238920.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] wms
On Thursday, November 26, 2015 7:48:08 John Abraham wrote: > Don't forget to remove the > &SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities From the url before > giving it to qgis [OFF TOPIC] Not sure if this really triggers any errors in QGIS and wondering if QGIS keeps VERSION=x.x.x parameter to the next getmap request. Y. -- Responsable Formation et Support Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel (France) : +33 4 58 48 20 43 (new !) Tel (Suisse) : +41 21 619 10 43 Mob. : +33 6 18 75 42 21 Fax : 04 79 70 15 81 Mail : yves.jaco...@camptocamp.com http://www.camptocamp.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users