[Qgis-developer] QGIS Server SLD GetStyles method bug?

Alessandro Pasotti apasotti at gmail.com
Thu Jan 9 00:58:35 PST 2014


2014/1/9 Marco Hugentobler <marco.hugentobler at sourcepole.ch>

>  Hi Alessandro
>
> Pull request is applied. Good work!
>

Thank you Marco for reviewing my code!

>
> One thing I noticed is that QgsProjectParser::getStyles uses
> QgsProjectParser::mapLayerFromTypeName. Like that, the styles are only
> returned for layers published as WFS. Is that intentional? Otherwise,
> QgsProjectParser::mapLayerFromStyle might be a better option, as it returns
> the layers published via WMS.
>

No, it was not intentional, I will correct it.

A quick question: where are the API docs for the mapserver part?

I've found only this unofficial docs:
http://fossies.org/dox/qgis-2.0.1/classQgsSLDParser.html


-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140109/3aace49b/attachment.html>


More information about the Qgis-developer mailing list