Geostyler Mapfile Parser
2021-09-29, 10:30–11:00, Humahuaca

The GeoStyler mapfile parser provides automatic translation capabilities of style information from mapfile layers into other formats like SLD or QGIS style. This enables for example to transfer the styling of a MapServer project into a QGIS project.

There exist a vast number of definitions and formats to encode graphical representations of spatial information like for example QGIS Style File (QML), QGIS Layer Definition File (QLR) oder Styled Layer Descriptor (SLD) among others. GeoStyler offers an intermediary format that facilitates automatic style translation between various styles formats.

In the present context, the GeoStyler project was extended with the capabilities to parse styles from MapServer mapfiles. The GeoStyler mapfile parser has been developed in 2020 by camptocamp as a case study for the swiss Federal Office of Topography (swisstopo). As of now it is possible to read styles from mapfiles and translate them into other formats.

This presentation will give a quick introduction to the GeoStyler framework before going into more detail about the current state of the mapfile parser including lessons learned and a live demo and future prospects.

Authors and Affiliations

Teuscher, Balthasar (1)

(1) Camptocamp, Switzerland




Software/Project development


1 - Principiants. No required specific knowledge is needed.

Language of the Presentation


After studying Geography, I am now working as a Geospatial Engineer at Camptocamp. My interests cover Geospatial Data Science, Rust and Kung Fu.