[MapServer-users] Qgis layer style file in mapfile

Seth G sethg at geographika.co.uk
Thu May 11 03:26:38 PDT 2023


Hi Marcin,

Good timing with the question! There is currently a code sprint happening for the GeoStyler project [1]
This allows conversion between different styles including QGIS and MapServer Mapfiles.
If you are looking to convert from QGIS to Mapfile you need to use the geostyler-cli [2] to convert the QGIS style to the intermediary GeoStyler format and then use the GeoCat script [3] to convert this to a Mapfile. 
This is currently a fairly complex way do do things but we're looking at a Python wrapper to make this a simple one line command. 

Seth

[1] https://geostyler.org/
[2] https://github.com/geostyler/geostyler-cli
[3] https://github.com/GeoCat/bridge-style/blob/master/bridgestyle/mapserver/fromgeostyler.py

--
web:https://geographika.net
twitter: @geographika

On Thu, May 11, 2023, at 11:55 AM, Marcin Niemyjski via MapServer-users wrote:
> Hello,
> 
> is it possible to somehow use Qgis layer style file in mapfile to define how is Polygon layer displayed?
> 
> Best,
> Marcin
> 
> 
> 
> 
> 
 <https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
> 
> Book time to meet with me <https://outlook.office.com/bookwithme/user/6347c7def05a478ba013ae948648789d@cloudferro.com?anonymous&ep=signature>
> 
> _______________________________________________
> MapServer-users mailing list
> MapServer-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230511/361cf1c6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-opnlnarp.png
Type: image/png
Size: 528 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20230511/361cf1c6/attachment.png>


More information about the MapServer-users mailing list