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

Daniel Morissette dmorissette at mapgears.com
Mon Feb 19 08:17:12 PST 2024


+1

Daniel

On 2024-02-09 18:03, Seth G via MapServer-dev wrote:
> Hi all,
> 
> I've added a new RFC - MS RFC 138: Reference SLD files in Mapfiles at https://mapserver.org/development/rfc/ms-rfc-138.html
> This would allow SLD files to be referenced in a Mapfile using the STYLEITEM (similar to how JS files are referenced):
> 
>      LAYER
>        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
>        END
>      END
> 
> 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,
> 
> Seth
> 
> --
> web:https://geographika.net & https://mapserverstudio.net
> twitter: @geographika
> _______________________________________________
> MapServer-dev mailing list
> MapServer-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev

-- 
Daniel Morissette
Mapgears Inc
T: +1 418-696-5056 #201



More information about the MapServer-dev mailing list