[MapServer-dev] RFC 138 - Reference SLD files in Mapfiles

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Tue Feb 13 00:08:32 PST 2024


-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: MapServer-dev <mapserver-dev-bounces at lists.osgeo.org> Puolesta Seth G via MapServer-dev
Lähetetty: lauantai 10. helmikuuta 2024 1.04
Vastaanottaja: MapServer Devs <mapserver-dev at lists.osgeo.org>
Aihe: [MapServer-dev] RFC 138 - Reference SLD files in Mapfiles

Hi all,

I've added a new RFC - MS RFC 138: Reference SLD files in Mapfiles at 
This would allow SLD files to be referenced in a Mapfile using the STYLEITEM (similar to how JS files are referenced):

      STYLEITEM "sld://mysldfile.xml" # uses SHAPEPATH and if not set then relative path to the Mapfile or absolute path
      CLASS # define an empty CLASS here

It will make it easier to export Mapfiles from other application such as QGIS, and to share styles e.g. between MapServer and GeoServer. More details are in the RFC.
Feedback and comments appreciated. 

I'll start with my +1,


MapServer-dev mailing list
MapServer-dev at lists.osgeo.org

More information about the MapServer-dev mailing list