[Qgis-developer] Qgis-mapserver - SLD within WMS GetMap request

Marco Hugentobler marco.hugentobler at sourcepole.ch
Tue Mar 13 07:04:04 EDT 2012


Hi Alexandre

SLD_BODY works in the developer version (master branch), but not in the 
1_7_4 version.
I've backported the fix to the 1_7 branch (don't know if there will be a 
1.7.5 or if 1.8, which already contains the fix, will be next ).

Btw, now that we have SLD support directly in the symbology classes 
(thanks to Giuseppe!), I'm going to change QGIS server to use that 
instead of the SLD classes in the server (they are still based on old 
symbology).

Regards,
Marco


On 12.03.2012 21:51, Alexandre Dube wrote:
> Hi,
>
>   I'm using qgis-mapserv with QGis 1.7.4 on Ubuntu 10.04, using the 
> ubuntugis-unstable package.
>
>   I'm currently trying to do a WMS GetMap request with a SLD_BODY 
> parameter set with a simple SLD document.  Problem is, I always get 
> the original style of the features defined in the .qgs file instead of 
> the one defined in the SLD.  Setting a SLD parameter instead pointing 
> to a copy of the file doesn't do anything either.  I looked around for 
> clues but didn't find any.  I attached a copy of the SLD document in 
> question (without a filter) and with with a filter.  My real test-case 
> requires the filter and it's entirely built using 
> OpenLayers.Format.SLD, so its content needs to be dynamic from a 
> webmapping client application.
>
>   I already got help on IRC from Tim, and he mentioned that Marco 
> should be the one knowing the answer to my issue.  SLD_BODY doesn't 
> seem to be supported in qgis-mapserv.
>
> Thanks a lot (and a special thanks to Tim for his IRC support),
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120313/0af01661/attachment.html


More information about the Qgis-developer mailing list