[mapserver-users] using sld on the server

Yves Jacolin yves.jacolin at camptocamp.com
Wed Aug 5 04:38:01 PDT 2015


On Saturday, June 27, 2015 10:57:46 Jachym Cepicky wrote:
> Hi all,
> 
> is there possibility to style layer using SLD file configured in MapScript?
> Idea would be, instead of using CLASS for configuration, you would just
> pass the SLD and things would magically happen (just like it works in
> GeoServer).
> 
> Generating MapFiles from QGIS would than be next logical step ..
> 
> I assume, I've missed something and there must be solution for this lying
> around for couple of years, but did not find anything
> 
> thanks for any hint
> 
Jachym,

Take care of (probably) some difference between QGIS, GeoServer and MapServer 
on how to understand SLD information.

See my test from mapserver to QGIS and GeoServer:
* MapSever: https://twitter.com/yjacolin/status/464456432461828096
* GeoServer (same data, Style from MapServer SLD) 
https://twitter.com/yjacolin/status/464456796548390912
* QGIS : https://twitter.com/yjacolin/status/464477708622503937

It wil be interesting to test SLD export/import in other direction (GS to QGIS 
and MS, QGIS to GS and MS).

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.jacolin at camptocamp.com
http://www.camptocamp.com


More information about the mapserver-users mailing list