[Qgis-developer] Re: SLD and qgis-server
Marco Hugentobler
marco.hugentobler at sourcepole.ch
Tue Mar 27 06:17:18 EDT 2012
Hi Giuseppe
Yes, it would be great to move QGIS server to the built-in SLD support.
>Did you have a look at the code? Do you think the same or it can stay
>there?
To use the new SLD code in QGIS server, I think it is enough to use
QgsFeatureRendererV2::loadSld in QgsSLDParser::rendererFromUserStyle
(without the need for rearrangements in symbologyV2). Then
QgsSLDRenderer & co. in the server can be removed.
Regards,
Marco
On 27.03.2012 10:57, Giuseppe Sucameli wrote:
> Hi Marco,
>
> I'd like to see new-symbology/SLD support in qgis-server, but I think
> would be better to move the SLD code to a new class before doing it,
>
> something like Sld2symbologyV2Conversion class or even into the
> existent QgsSymbologyV2Conversion class.
>
> Did you have a look at the code? Do you think the same or it can stay
> there?
>
> Regards.
>
--
Dr. Marco Hugentobler
Sourcepole - Linux& Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
More information about the Qgis-developer
mailing list